ShadowRealm: fix for incorrect test

This commit is contained in:
rwaldron 2022-04-11 13:08:37 -04:00 committed by Rick Waldron
parent d4ede37b67
commit 9055521fc7
1 changed files with 1 additions and 1 deletions

View File

@ -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,