From 9055521fc7ea8d44a34fd4fe137f2c25c60655ee Mon Sep 17 00:00:00 2001 From: rwaldron Date: Mon, 11 Apr 2022 13:08:37 -0400 Subject: [PATCH] ShadowRealm: fix for incorrect test --- .../prototype/evaluate/globalthis-ordinary-object.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/built-ins/ShadowRealm/prototype/evaluate/globalthis-ordinary-object.js b/test/built-ins/ShadowRealm/prototype/evaluate/globalthis-ordinary-object.js index fef470ea005..d59e77078d1 100644 --- a/test/built-ins/ShadowRealm/prototype/evaluate/globalthis-ordinary-object.js +++ b/test/built-ins/ShadowRealm/prototype/evaluate/globalthis-ordinary-object.js @@ -82,7 +82,7 @@ assert.sameValue( assert.sameValue( r.evaluate(` - Reflect.set(globalThis.__proto__, {x: 1}) && + Reflect.set(globalThis, '__proto__', {x: 1}) && Reflect.setPrototypeOf(globalThis.__proto__, {x: 2}); `), true,