RegExp.prototype.compile from other realm should throw TypeError from other realm.

This commit is contained in:
Jan Štola 2021-09-09 14:41:22 +02:00 committed by Rick Waldron
parent 66a3c3aa8b
commit 71a0bb9e7f
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ assert.throws(
); );
assert.throws( assert.throws(
TypeError, other.TypeError,
function () { function () {
other.RegExp.prototype.compile.call(regexp); other.RegExp.prototype.compile.call(regexp);
}, },