window-extends-event-target.html
Details
- Test
/dom/window-extends-event-target.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | EventTarget 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] }" |
| FAIL | window.addEventListener respects custom `this` assert_equals: expected Element node <body>
<script>
"use strict";
test(() => {
assert_equ... but got object "[object Object]" |
| PASS | window.addEventListener treats nullish `this` as `window` |