mirror of
https://github.com/servo/servo.git
synced 2025-09-23 05:10:09 +01:00
Add AbortSignal support for event listeners (#39406)
Also fixes several issues with code generation when a dom type is part of a dictionary. Part of #34866 Fixes #39398 Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
parent
7abc813fc3
commit
02aab33987
9 changed files with 98 additions and 100 deletions
|
@ -1,68 +0,0 @@
|
|||
[AddEventListenerOptions-signal.any.html]
|
||||
[Passing an AbortSignal to addEventListener works with the once flag]
|
||||
expected: FAIL
|
||||
|
||||
[Passing an AbortSignal to addEventListener works with the capture flag]
|
||||
expected: FAIL
|
||||
|
||||
[Aborting from a listener does not call future listeners]
|
||||
expected: FAIL
|
||||
|
||||
[Passing an AbortSignal to multiple listeners]
|
||||
expected: FAIL
|
||||
|
||||
[Passing an AbortSignal to addEventListener options should allow removing a listener]
|
||||
expected: FAIL
|
||||
|
||||
[Passing null as the signal should throw]
|
||||
expected: FAIL
|
||||
|
||||
[Passing null as the signal should throw (listener is also null)]
|
||||
expected: FAIL
|
||||
|
||||
[Passing an AbortSignal to addEventListener does not prevent removeEventListener]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a once listener works with a passed signal]
|
||||
expected: FAIL
|
||||
|
||||
[Adding then aborting a listener in another listener does not call it]
|
||||
expected: FAIL
|
||||
|
||||
[Aborting from a nested listener should remove it]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[AddEventListenerOptions-signal.any.worker.html]
|
||||
[Passing an AbortSignal to addEventListener works with the once flag]
|
||||
expected: FAIL
|
||||
|
||||
[Passing an AbortSignal to addEventListener works with the capture flag]
|
||||
expected: FAIL
|
||||
|
||||
[Aborting from a listener does not call future listeners]
|
||||
expected: FAIL
|
||||
|
||||
[Passing an AbortSignal to multiple listeners]
|
||||
expected: FAIL
|
||||
|
||||
[Passing an AbortSignal to addEventListener options should allow removing a listener]
|
||||
expected: FAIL
|
||||
|
||||
[Passing null as the signal should throw]
|
||||
expected: FAIL
|
||||
|
||||
[Passing null as the signal should throw (listener is also null)]
|
||||
expected: FAIL
|
||||
|
||||
[Passing an AbortSignal to addEventListener does not prevent removeEventListener]
|
||||
expected: FAIL
|
||||
|
||||
[Removing a once listener works with a passed signal]
|
||||
expected: FAIL
|
||||
|
||||
[Adding then aborting a listener in another listener does not call it]
|
||||
expected: FAIL
|
||||
|
||||
[Aborting from a nested listener should remove it]
|
||||
expected: FAIL
|
3
tests/wpt/meta/dom/events/__dir__.ini
vendored
Normal file
3
tests/wpt/meta/dom/events/__dir__.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
prefs: [
|
||||
"dom_abort_controller_enabled:true",
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue