mirror of
https://github.com/servo/servo.git
synced 2025-08-18 03:45:33 +01:00
Enable more test directories and preferences (#34952)
* Enable WPT tests for several supported/in progress features. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Enable more preferences for all WPT tests. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Update test expectations. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Disable AbortController preference for tests. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Update WPT expectations. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
a014da590a
commit
5295a45a2c
472 changed files with 4113 additions and 293 deletions
204
tests/wpt/meta/fetch/api/abort/general.any.js.ini
vendored
204
tests/wpt/meta/fetch/api/abort/general.any.js.ini
vendored
|
@ -11,54 +11,6 @@
|
|||
[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
|
||||
|
||||
[TypeError from request constructor takes priority - Bad mode init parameter value]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Bad credentials init parameter value]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Bad cache init parameter value]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Bad redirect init parameter value]
|
||||
expected: FAIL
|
||||
|
||||
[Request objects have a signal property]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -77,9 +29,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
|
||||
|
||||
|
@ -164,6 +113,57 @@
|
|||
[Fetch aborted & connection closed when aborted after calling response.bytes()]
|
||||
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
|
||||
|
||||
[TypeError from request constructor takes priority - Bad mode init parameter value]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Bad credentials init parameter value]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Bad cache init parameter value]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Bad redirect init parameter value]
|
||||
expected: FAIL
|
||||
|
||||
[Signal removed by setting to null]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[general.any.worker.html]
|
||||
[Aborting rejects with AbortError]
|
||||
|
@ -172,54 +172,6 @@
|
|||
[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
|
||||
|
||||
[TypeError from request constructor takes priority - Bad mode init parameter value]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Bad credentials init parameter value]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Bad cache init parameter value]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Bad redirect init parameter value]
|
||||
expected: FAIL
|
||||
|
||||
[Request objects have a signal property]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -238,9 +190,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
|
||||
|
||||
|
@ -324,3 +273,54 @@
|
|||
|
||||
[Fetch aborted & connection closed when aborted after calling response.bytes()]
|
||||
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
|
||||
|
||||
[TypeError from request constructor takes priority - Bad mode init parameter value]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Bad credentials init parameter value]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Bad cache init parameter value]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - Bad redirect init parameter value]
|
||||
expected: FAIL
|
||||
|
||||
[Signal removed by setting to null]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,2 +1,7 @@
|
|||
[keepalive.html]
|
||||
expected: ERROR
|
||||
[aborting a keepalive fetch should work]
|
||||
expected: TIMEOUT
|
||||
|
||||
[aborting a detached keepalive fetch should not do anything]
|
||||
expected: NOTRUN
|
||||
|
|
|
@ -1,25 +1,7 @@
|
|||
[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
|
||||
|
||||
|
@ -29,6 +11,30 @@
|
|||
[Aborting a request after calling formData()]
|
||||
expected: FAIL
|
||||
|
||||
[Calling json() on an aborted consumed nonempty request]
|
||||
expected: FAIL
|
||||
|
||||
[Calling text() on an aborted consumed nonempty request]
|
||||
expected: FAIL
|
||||
|
||||
[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 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 formData() on an aborted consumed nonempty request]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -38,9 +44,6 @@
|
|||
[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
|
||||
|
||||
|
@ -50,9 +53,6 @@
|
|||
[Calling text() on an aborted consumed empty request]
|
||||
expected: FAIL
|
||||
|
||||
[Calling text() on an aborted consumed nonempty request]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[request.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
@ -61,27 +61,9 @@
|
|||
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
|
||||
|
||||
|
@ -91,6 +73,30 @@
|
|||
[Aborting a request after calling formData()]
|
||||
expected: FAIL
|
||||
|
||||
[Calling json() on an aborted consumed nonempty request]
|
||||
expected: FAIL
|
||||
|
||||
[Calling text() on an aborted consumed nonempty request]
|
||||
expected: FAIL
|
||||
|
||||
[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 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 formData() on an aborted consumed nonempty request]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -100,9 +106,6 @@
|
|||
[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
|
||||
|
||||
|
@ -111,6 +114,3 @@
|
|||
|
||||
[Calling text() on an aborted consumed empty request]
|
||||
expected: FAIL
|
||||
|
||||
[Calling text() on an aborted consumed nonempty request]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue