mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Implement AbortSignal static abort(reason) (#38746)
Implement AbortSignal static abort(reason) part of #36936 --------- Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
This commit is contained in:
parent
25fea1e086
commit
c4d2b63ef1
6 changed files with 32 additions and 35 deletions
20
tests/wpt/meta/dom/abort/event.any.js.ini
vendored
20
tests/wpt/meta/dom/abort/event.any.js.ini
vendored
|
@ -1,36 +1,18 @@
|
|||
[event.any.html]
|
||||
[static aborting signal should have right properties]
|
||||
expected: FAIL
|
||||
|
||||
[static aborting signal with reason should set signal.reason]
|
||||
expected: FAIL
|
||||
|
||||
[throwIfAborted() should throw abort.reason if signal aborted]
|
||||
expected: FAIL
|
||||
|
||||
[throwIfAborted() should throw primitive abort.reason if signal aborted]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal.reason returns the same DOMException]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[event.any.worker.html]
|
||||
[static aborting signal should have right properties]
|
||||
expected: FAIL
|
||||
|
||||
[static aborting signal with reason should set signal.reason]
|
||||
expected: FAIL
|
||||
|
||||
[throwIfAborted() should throw abort.reason if signal aborted]
|
||||
expected: FAIL
|
||||
|
||||
[throwIfAborted() should throw primitive abort.reason if signal aborted]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal.reason returns the same DOMException]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[event.any.shadowrealm.html]
|
||||
expected: TIMEOUT
|
||||
|
@ -42,7 +24,7 @@
|
|||
expected: ERROR
|
||||
|
||||
[event.https.any.shadowrealm-in-audioworklet.html]
|
||||
expected: ERROR
|
||||
expected: TIMEOUT
|
||||
|
||||
[event.https.any.shadowrealm-in-serviceworker.html]
|
||||
expected: ERROR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue