Revert "script: implement AbortController (#31361)" (#32243)

This reverts commit 7fce850cff.
This commit is contained in:
Samson 2024-05-07 08:23:14 +02:00 committed by GitHub
parent 45f2433d76
commit 8bc49299c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
86 changed files with 1193 additions and 517 deletions

View file

@ -0,0 +1,2 @@
[destroyed-context.html]
expected: ERROR

View file

@ -5,13 +5,45 @@
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
@ -45,6 +77,9 @@
[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
@ -85,31 +120,31 @@
expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.arrayBuffer()]
expected: TIMEOUT
expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.blob()]
expected: NOTRUN
expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.formData()]
expected: NOTRUN
expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.json()]
expected: NOTRUN
expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.text()]
expected: NOTRUN
expected: FAIL
[Stream errors once aborted. Underlying connection closed.]
expected: NOTRUN
expected: FAIL
[Stream errors once aborted, after reading. Underlying connection closed.]
expected: NOTRUN
expected: FAIL
[Stream will not error if body is empty. It's closed with an empty queue before it errors.]
expected: NOTRUN
expected: FAIL
[Readable stream synchronously cancels with AbortError if aborted before reading]
expected: NOTRUN
expected: FAIL
[Signal state is cloned]
expected: FAIL
@ -125,13 +160,45 @@
[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
@ -165,6 +232,9 @@
[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
@ -205,31 +275,31 @@
expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.arrayBuffer()]
expected: TIMEOUT
expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.blob()]
expected: NOTRUN
expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.formData()]
expected: NOTRUN
expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.json()]
expected: NOTRUN
expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.text()]
expected: NOTRUN
expected: FAIL
[Stream errors once aborted. Underlying connection closed.]
expected: NOTRUN
expected: FAIL
[Stream errors once aborted, after reading. Underlying connection closed.]
expected: NOTRUN
expected: FAIL
[Stream will not error if body is empty. It's closed with an empty queue before it errors.]
expected: NOTRUN
expected: FAIL
[Readable stream synchronously cancels with AbortError if aborted before reading]
expected: NOTRUN
expected: FAIL
[Signal state is cloned]
expected: FAIL

View file

@ -1,7 +1,2 @@
[keepalive.html]
expected: TIMEOUT
[aborting a keepalive fetch should work]
expected: TIMEOUT
[aborting a detached keepalive fetch should not do anything]
expected: NOTRUN
expected: ERROR

View file

@ -1,7 +1,25 @@
[request.any.html]
[Calling arrayBuffer() on an aborted request]
expected: FAIL
[Aborting a request after calling arrayBuffer()]
expected: FAIL
[Calling arrayBuffer() on an aborted consumed empty request]
expected: FAIL
[Calling arrayBuffer() on an aborted consumed nonempty request]
expected: FAIL
[Calling blob() on an aborted request]
expected: FAIL
[Aborting a request after calling blob()]
expected: FAIL
[Calling blob() on an aborted consumed empty request]
expected: FAIL
[Calling blob() on an aborted consumed nonempty request]
expected: FAIL
@ -11,9 +29,27 @@
[Aborting a request after calling formData()]
expected: FAIL
[Calling formData() on an aborted consumed nonempty request]
expected: FAIL
[Calling json() on an aborted request]
expected: FAIL
[Aborting a request after calling json()]
expected: FAIL
[Calling json() on an aborted consumed nonempty request]
expected: FAIL
[Calling text() on an aborted request]
expected: FAIL
[Aborting a request after calling text()]
expected: FAIL
[Calling text() on an aborted consumed empty request]
expected: FAIL
[Calling text() on an aborted consumed nonempty request]
expected: FAIL
@ -25,9 +61,27 @@
expected: ERROR
[request.any.worker.html]
[Calling arrayBuffer() on an aborted request]
expected: FAIL
[Aborting a request after calling arrayBuffer()]
expected: FAIL
[Calling arrayBuffer() on an aborted consumed empty request]
expected: FAIL
[Calling arrayBuffer() on an aborted consumed nonempty request]
expected: FAIL
[Calling blob() on an aborted request]
expected: FAIL
[Aborting a request after calling blob()]
expected: FAIL
[Calling blob() on an aborted consumed empty request]
expected: FAIL
[Calling blob() on an aborted consumed nonempty request]
expected: FAIL
@ -37,8 +91,26 @@
[Aborting a request after calling formData()]
expected: FAIL
[Calling formData() on an aborted consumed nonempty request]
expected: FAIL
[Calling json() on an aborted request]
expected: FAIL
[Aborting a request after calling json()]
expected: FAIL
[Calling json() on an aborted consumed nonempty request]
expected: FAIL
[Calling text() on an aborted request]
expected: FAIL
[Aborting a request after calling text()]
expected: FAIL
[Calling text() on an aborted consumed empty request]
expected: FAIL
[Calling text() on an aborted consumed nonempty request]
expected: FAIL