mirror of
https://github.com/servo/servo.git
synced 2025-08-17 11:25:35 +01:00
script: implement AbortController (#31361)
* Implement AbortController Signed-off-by: syvb <me@iter.ca> * Update WPT tests Signed-off-by: syvb <me@iter.ca> * Address review comments * Fix duplicate import generation * Update WPT test expectations * Change expectation to FAIL for flaky test --------- Signed-off-by: syvb <me@iter.ca>
This commit is contained in:
parent
383607d01e
commit
7fce850cff
88 changed files with 522 additions and 1194 deletions
|
@ -5,45 +5,13 @@
|
|||
expected: ERROR
|
||||
|
||||
[general.any.html]
|
||||
expected: TIMEOUT
|
||||
[Aborting rejects with AbortError]
|
||||
expected: FAIL
|
||||
|
||||
[Aborting rejects with AbortError - no-cors]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - RequestInit's window is not null]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Input URL is not valid]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Input URL has credentials]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - RequestInit's mode is navigate]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - RequestInit's referrer is invalid]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - RequestInit's method is invalid]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - RequestInit's method is forbidden]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - RequestInit's mode is no-cors and method is not simple]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - RequestInit's cache mode is only-if-cached and mode is not same-origin]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode cors]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode no-cors]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Bad referrerPolicy init parameter value]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -77,9 +45,6 @@
|
|||
[Signal retained after unrelated properties are overridden by fetch]
|
||||
expected: FAIL
|
||||
|
||||
[Signal removed by setting to null]
|
||||
expected: FAIL
|
||||
|
||||
[Already aborted signal rejects immediately]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -120,31 +85,31 @@
|
|||
expected: FAIL
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.arrayBuffer()]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.blob()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.formData()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.json()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.text()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Stream errors once aborted. Underlying connection closed.]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Stream errors once aborted, after reading. Underlying connection closed.]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Stream will not error if body is empty. It's closed with an empty queue before it errors.]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Readable stream synchronously cancels with AbortError if aborted before reading]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Signal state is cloned]
|
||||
expected: FAIL
|
||||
|
@ -160,45 +125,13 @@
|
|||
|
||||
|
||||
[general.any.worker.html]
|
||||
expected: TIMEOUT
|
||||
[Aborting rejects with AbortError]
|
||||
expected: FAIL
|
||||
|
||||
[Aborting rejects with AbortError - no-cors]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - RequestInit's window is not null]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Input URL is not valid]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Input URL has credentials]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - RequestInit's mode is navigate]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - RequestInit's referrer is invalid]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - RequestInit's method is invalid]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - RequestInit's method is forbidden]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - RequestInit's mode is no-cors and method is not simple]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - RequestInit's cache mode is only-if-cached and mode is not same-origin]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode cors]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode no-cors]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Bad referrerPolicy init parameter value]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -232,9 +165,6 @@
|
|||
[Signal retained after unrelated properties are overridden by fetch]
|
||||
expected: FAIL
|
||||
|
||||
[Signal removed by setting to null]
|
||||
expected: FAIL
|
||||
|
||||
[Already aborted signal rejects immediately]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -275,31 +205,31 @@
|
|||
expected: FAIL
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.arrayBuffer()]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.blob()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.formData()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.json()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.text()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Stream errors once aborted. Underlying connection closed.]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Stream errors once aborted, after reading. Underlying connection closed.]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Stream will not error if body is empty. It's closed with an empty queue before it errors.]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Readable stream synchronously cancels with AbortError if aborted before reading]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Signal state is cloned]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue