From 8dd16259287f58f9273002717ec4d27e97127719 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:43:14 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- .../test262/built-ins/ShadowRealm/prototype/evaluate/not-constructor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/src/tests/test262/built-ins/ShadowRealm') 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'); -- cgit v1.2.3