mirror of https://github.com/tc39/test262.git
RegExp.prototype.compile from other realm should throw TypeError from other realm.
This commit is contained in:
parent
66a3c3aa8b
commit
71a0bb9e7f
|
@ -20,7 +20,7 @@ assert.throws(
|
|||
);
|
||||
|
||||
assert.throws(
|
||||
TypeError,
|
||||
other.TypeError,
|
||||
function () {
|
||||
other.RegExp.prototype.compile.call(regexp);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue