Skip to content

Commit

Permalink
ShadowRealm: fix for incorrect test
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Apr 11, 2022
1 parent d4ede37 commit 9055521
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9055521

Please sign in to comment.