diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/ShadowRealm')
-rw-r--r-- | js/src/tests/test262/built-ins/ShadowRealm/prototype/evaluate/not-constructor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tests/test262/built-ins/ShadowRealm/prototype/evaluate/not-constructor.js b/js/src/tests/test262/built-ins/ShadowRealm/prototype/evaluate/not-constructor.js index 7530d84d93..897670bfeb 100644 --- a/js/src/tests/test262/built-ins/ShadowRealm/prototype/evaluate/not-constructor.js +++ b/js/src/tests/test262/built-ins/ShadowRealm/prototype/evaluate/not-constructor.js @@ -23,7 +23,7 @@ assert.sameValue( assert.throws(TypeError, () => { new ShadowRealm.prototype.evaluate(""); -}, '`new ShadowRealm.prototype.evaluate("")` throws TypeError'); +}); const r = new ShadowRealm(); r.evaluate('globalThis.x = 0'); |