window-extends-event-target.html

FAILExpected1 of 3 subtests pass324 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(E,T){return Reflect.apply(fn&&$u.call(fn,this)?b:g,this,arguments)}" but got function "function () { [native code] }"
assert_equals: expected function "function(E,T){return Reflect.apply(fn&&$u.call(fn,this)?b:g,this,arguments)}" but got function "function () { [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`