dom: Implement current window event.

This commit is contained in:
Josh Matthews 2020-05-05 15:04:44 -04:00
parent 19f4be38d2
commit 097a84671a
6 changed files with 63 additions and 24 deletions

View file

@ -1,19 +1,6 @@
[event-global.html]
[event exists on window, which is initially set to undefined]
expected: FAIL
[window.event is only defined during dispatch]
expected: FAIL
[window.event is undefined if the target is in a shadow tree (event dispatched outside shadow tree)]
expected: FAIL
[window.event is undefined if the target is in a shadow tree (event dispatched inside shadow tree)]
expected: FAIL
[window.event is set to the current event during dispatch]
expected: FAIL
[window.event is set to the current event, which is the event passed to dispatch]
expected: FAIL

View file

@ -152,9 +152,6 @@
[AbortSignal interface object length]
expected: FAIL
[Window interface: attribute event]
expected: FAIL
[AbortController interface: new AbortController() must inherit property "abort()" with the proper type]
expected: FAIL