window-extends-event-target.html

FAILExpected1 of 3 subtests pass523 ms

Details

Test
/dom/window-extends-event-target.html
Harness
OK

Subtests

StatusSubtestMessage
FAILEventTarget methods on Window instances are inherited from the EventTarget prototype
assert_equals: expected function "function addEventListener() { [native code] }" but got function "function addEventListener() { [native code] }"
assert_equals: expected function "function addEventListener() { [native code] }" but got function "function addEventListener() { [native code] }"
FAILwindow.addEventListener respects custom `this`
assert_equals: expected Element node <body> <script> "use strict"; test(() => { assert_equ... but got object "[object Object]"
assert_equals: expected Element node <body> <script> "use strict"; test(() => { assert_equ... but got object "[object Object]"
PASSwindow.addEventListener treats nullish `this` as `window`