Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassEventTarget methods on Window instances are inherited from the EventTarget prototype
Asserts run
Pass
assert_equals(function "function addEventListener() { [native code] }", function "function addEventListener() { [native code] }")
    at Test.<anonymous> ( /dom/window-extends-event-target.html:14:3)
Pass
assert_equals(function "function removeEventListener() { [native code] }", function "function removeEventListener() { [native code] }")
    at Test.<anonymous> ( /dom/window-extends-event-target.html:15:3)
Pass
assert_equals(function "function dispatchEvent() { [native code] }", function "function dispatchEvent() { [native code] }")
    at Test.<anonymous> ( /dom/window-extends-event-target.html:16:3)
Passwindow.addEventListener respects custom `this`
Asserts run
Pass
assert_equals(Element node <body> <script> "use strict";  test(() => {    assert_equ..., Element node <body> <script> "use strict";  test(() => {    assert_equ...)
    at Test.<anonymous> ( /dom/window-extends-event-target.html:34:3)
Passwindow.addEventListener treats nullish `this` as `window`
Asserts run
Pass
assert_equals(object "[object Window]", object "[object Window]")
    at Test.<anonymous> ( /dom/window-extends-event-target.html:52:3)