global-object-implicit-this-value.any.html

FAILExpected2 of 9 subtests pass479 ms

Details

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

Subtests

StatusSubtestMessage
FAILGlobal object's getter throws when called on incompatible object
assert_throws_js: function "() => { Object.create(globalThis).self; }" did not throw
assert_throws_js: function "() => { Object.create(globalThis).self; }" did not throw
FAILGlobal object's setter throws when called on incompatible object
assert_throws_js: function "() => { Object.create(globalThis).origin = origin; }" did not throw
assert_throws_js: function "() => { Object.create(globalThis).origin = origin; }" did not throw
FAILGlobal object's operation throws when called on incompatible object
assert_throws_js: function "() => { Object.create(globalThis).setInterval(() => {}, 100); }" did not throw
assert_throws_js: function "() => { Object.create(globalThis).setInterval(() => {}, 100); }" did not throw
FAILGlobal object's getter throws when called on incompatible object (document.all)
assert_throws_js: function "() => { Object.getOwnPropertyDescriptor(window, "document").get.call(document.all); }" did not throw
assert_throws_js: function "() => { Object.getOwnPropertyDescriptor(window, "document").get.call(document.all); }" did not throw
PASSGlobal object's setter throws when called on incompatible object (document.all)
FAILGlobal object's operation throws when called on incompatible object (document.all)
assert_throws_js: function "() => { focus.call(document.all); }" threw object "ReferenceError: focus is not defined" ("ReferenceError") expected instance of function "function TypeError() { [native co…
assert_throws_js: function "() => { focus.call(document.all); }" threw object "ReferenceError: focus is not defined" ("ReferenceError") expected instance of function "function TypeError() { [native co…
FAILGlobal object's getter works when called on null / undefined
Cannot read properties of undefined (reading 'call')
Cannot read properties of undefined (reading 'call')
FAILGlobal object's setter works when called on null / undefined
Cannot read properties of undefined (reading 'call')
Cannot read properties of undefined (reading 'call')
PASSGlobal object's operation works when called on null / undefined