global-object-implicit-this-value-cross-realm.html

FAILExpected0 of 6 subtests pass537 ms

Details

Test
/webidl/ecmascript-binding/global-object-implicit-this-value-cross-realm.html
Harness
OK

Subtests

StatusSubtestMessage
FAILCross-realm global object's getter throws when called on incompatible object
assert_throws_js: function "() => { Object.create(other).window; }" did not throw
assert_throws_js: function "() => { Object.create(other).window; }" did not throw
FAILCross-realm global object's setter throws when called on incompatible object
assert_throws_js: function "() => { Object.create(other).name = "dummy"; }" did not throw
assert_throws_js: function "() => { Object.create(other).name = "dummy"; }" did not throw
FAILCross-realm global object's operation throws when called on incompatible object
assert_throws_js: function "() => { new Proxy(other, {}).removeEventListener("foo", () => {}); }" did not throw
assert_throws_js: function "() => { new Proxy(other, {}).removeEventListener("foo", () => {}); }" did not throw
FAILCross-realm global object's getter called on null / undefined
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of undefined (reading 'call')"
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of undefined (reading 'call')"
FAILCross-realm global object's setter called on null / undefined
assert_true: expected true got false
assert_true: expected true got false
FAILCross-realm global object's operation called on null / undefined
promise_test: Unhandled rejection with value: object "TypeError: otherFocus is not a function"
promise_test: Unhandled rejection with value: object "TypeError: otherFocus is not a function"