mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Enable the Fetch API web platform tests
This commit is contained in:
parent
bb53da6957
commit
a3f1ff0af0
70 changed files with 373 additions and 9 deletions
|
@ -18,14 +18,6 @@ skip: true
|
|||
[eventsource]
|
||||
skip: false
|
||||
[fetch]
|
||||
skip: true
|
||||
[api]
|
||||
skip: true
|
||||
[headers]
|
||||
skip: false
|
||||
[request]
|
||||
skip: false
|
||||
[response]
|
||||
skip: false
|
||||
[FileAPI]
|
||||
skip: false
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
[accept-header-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Request through fetch should have 'accept' header with value '*/*']
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[accept-header.html]
|
||||
type: testharness
|
||||
[Request through fetch should have 'accept' header with value '*/*']
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[integrity-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Empty string integrity]
|
||||
expected: FAIL
|
||||
|
5
tests/wpt/metadata/fetch/api/basic/integrity.html.ini
Normal file
5
tests/wpt/metadata/fetch/api/basic/integrity.html.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[integrity.html]
|
||||
type: testharness
|
||||
[Empty string integrity]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[mode-no-cors-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Fetch ../resources/top.txt with no-cors mode]
|
||||
expected: FAIL
|
||||
|
5
tests/wpt/metadata/fetch/api/basic/mode-no-cors.html.ini
Normal file
5
tests/wpt/metadata/fetch/api/basic/mode-no-cors.html.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[mode-no-cors.html]
|
||||
type: testharness
|
||||
[Fetch ../resources/top.txt with no-cors mode]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[mode-same-origin-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Fetch ../resources/top.txt with same-origin mode]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[mode-same-origin.html]
|
||||
type: testharness
|
||||
[Fetch ../resources/top.txt with same-origin mode]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[request-forbidden-headers-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Accept-Charset is a forbidden request header]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[request-forbidden-headers.html]
|
||||
type: testharness
|
||||
[Accept-Charset is a forbidden request header]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[request-headers-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Fetch with GET]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[request-headers.html]
|
||||
type: testharness
|
||||
[Fetch with GET]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[response-url-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Testing response url getter with http://web-platform.test:8000/ada]
|
||||
expected: FAIL
|
||||
|
5
tests/wpt/metadata/fetch/api/basic/response-url.html.ini
Normal file
5
tests/wpt/metadata/fetch/api/basic/response-url.html.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[response-url.html]
|
||||
type: testharness
|
||||
[Testing response url getter with http://web-platform.test:8000/ada]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[scheme-about-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Fetching about:blank is OK]
|
||||
expected: FAIL
|
||||
|
5
tests/wpt/metadata/fetch/api/basic/scheme-about.html.ini
Normal file
5
tests/wpt/metadata/fetch/api/basic/scheme-about.html.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[scheme-about.html]
|
||||
type: testharness
|
||||
[Fetching about:blank is OK]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[scheme-blob-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Fetching [GET\] URL.createObjectURL(blob) is OK]
|
||||
expected: FAIL
|
||||
|
5
tests/wpt/metadata/fetch/api/basic/scheme-blob.html.ini
Normal file
5
tests/wpt/metadata/fetch/api/basic/scheme-blob.html.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[scheme-blob.html]
|
||||
type: testharness
|
||||
[Fetching [GET\] URL.createObjectURL(blob) is OK]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[scheme-data-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Fetching data:,response%27s%20body is OK]
|
||||
expected: FAIL
|
||||
|
5
tests/wpt/metadata/fetch/api/basic/scheme-data.html.ini
Normal file
5
tests/wpt/metadata/fetch/api/basic/scheme-data.html.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[scheme-data.html]
|
||||
type: testharness
|
||||
[Fetching data:,response%27s%20body is OK]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[scheme-others-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Fetching aaa://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[scheme-others.html]
|
||||
type: testharness
|
||||
[Fetching aaa://web-platform.test:8000/ is KO]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[stream-response-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Stream response's body]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[stream-response.html]
|
||||
type: testharness
|
||||
[Stream response's body]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-basic-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Same domain different port [no-cors mode\]]
|
||||
expected: FAIL
|
||||
|
5
tests/wpt/metadata/fetch/api/cors/cors-basic.html.ini
Normal file
5
tests/wpt/metadata/fetch/api/cors/cors-basic.html.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[cors-basic.html]
|
||||
type: testharness
|
||||
[Same domain different port [no-cors mode\]]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-cookies-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Omit mode: no cookie sent]
|
||||
expected: FAIL
|
||||
|
5
tests/wpt/metadata/fetch/api/cors/cors-cookies.html.ini
Normal file
5
tests/wpt/metadata/fetch/api/cors/cors-cookies.html.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[cors-cookies.html]
|
||||
type: testharness
|
||||
[Omit mode: no cookie sent]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-filtering-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[CORS filter on Cache-Control header]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[cors-filtering.html]
|
||||
type: testharness
|
||||
[CORS filter on Cache-Control header]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-multiple-origins-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[3 origins allowed, match the 3rd (http://web-platform.test:8000)]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[cors-multiple-origins.html]
|
||||
type: testharness
|
||||
[3 origins allowed, match the 3rd (http://web-platform.test:8000)]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-no-preflight-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Cross domain basic usage [GET\]]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[cors-no-preflight.html]
|
||||
type: testharness
|
||||
[Cross domain basic usage [GET\]]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-origin-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Cross domain different subdomain [origin OK\]]
|
||||
expected: FAIL
|
||||
|
5
tests/wpt/metadata/fetch/api/cors/cors-origin.html.ini
Normal file
5
tests/wpt/metadata/fetch/api/cors/cors-origin.html.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[cors-origin.html]
|
||||
type: testharness
|
||||
[Cross domain different subdomain [origin OK\]]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-preflight-redirect-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Redirection 301 on preflight failed]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[cors-preflight-redirect.html]
|
||||
type: testharness
|
||||
[Redirection 301 on preflight failed]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-preflight-referrer-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Referrer policy: no-referrer]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[cors-preflight-referrer.html]
|
||||
type: testharness
|
||||
[Referrer policy: no-referrer]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-preflight-status-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Preflight answered with status 200]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[cors-preflight-status.html]
|
||||
type: testharness
|
||||
[Preflight answered with status 200]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
[cors-preflight-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
|
@ -0,0 +1,3 @@
|
|||
[cors-preflight.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
|
@ -0,0 +1,6 @@
|
|||
[cors-redirect-credentials-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Redirect 301 from same origin to remote with user and password]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[cors-redirect-credentials.html]
|
||||
type: testharness
|
||||
[Redirect 301 from same origin to remote with user and password]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-redirect-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Redirect 301: cors to same cors]
|
||||
expected: FAIL
|
||||
|
5
tests/wpt/metadata/fetch/api/cors/cors-redirect.html.ini
Normal file
5
tests/wpt/metadata/fetch/api/cors/cors-redirect.html.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[cors-redirect.html]
|
||||
type: testharness
|
||||
[Redirect 301: cors to same cors]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[authentication-basic-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[User-added Authorization header with include mode]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[authentication-basic.html]
|
||||
type: testharness
|
||||
[User-added Authorization header with include mode]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cookies-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Include mode: 1 cookie]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[cookies.html]
|
||||
type: testharness
|
||||
[Include mode: 1 cookie]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[csp-blocked-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Fetch is blocked by CSP, got a TypeError]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[csp-blocked.html]
|
||||
type: testharness
|
||||
[Fetch is blocked by CSP, got a TypeError]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[referrer-no-referrer-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Request's referrer is empty]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[referrer-no-referrer.html]
|
||||
type: testharness
|
||||
[Request's referrer is empty]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[referrer-origin-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Request's referrer is origin]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[referrer-origin.html]
|
||||
type: testharness
|
||||
[Request's referrer is origin]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[referrer-unsafe-url-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Request's referrer is the full url of current document/worker]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[referrer-unsafe-url.html]
|
||||
type: testharness
|
||||
[Request's referrer is the full url of current document/worker]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[redirect-count-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Redirect 301 20 times]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[redirect-count.html]
|
||||
type: testharness
|
||||
[Redirect 301 20 times]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[redirect-location-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Redirect 301 in "follow" mode without location]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[redirect-location.html]
|
||||
type: testharness
|
||||
[Redirect 301 in "follow" mode without location]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[redirect-method-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Response.redirected should be false on not-redirected responses]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[redirect-method.html]
|
||||
type: testharness
|
||||
[Response.redirected should be false on not-redirected responses]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[redirect-mode-worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Redirect 301 in "error" mode ]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[redirect-mode.html]
|
||||
type: testharness
|
||||
[Redirect 301 in "error" mode ]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
[redirect-schemes.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
Loading…
Add table
Add a link
Reference in a new issue