Enable the Fetch API web platform tests

This commit is contained in:
Jeena Lee 2016-09-13 12:49:16 -07:00
parent bb53da6957
commit a3f1ff0af0
70 changed files with 373 additions and 9 deletions

View file

@ -18,15 +18,7 @@ skip: true
[eventsource]
skip: false
[fetch]
skip: true
[api]
skip: true
[headers]
skip: false
[request]
skip: false
[response]
skip: false
skip: false
[FileAPI]
skip: false
[hr-time]

View file

@ -0,0 +1,6 @@
[accept-header-worker.html]
type: testharness
expected: TIMEOUT
[Request through fetch should have 'accept' header with value '*/*']
expected: FAIL

View file

@ -0,0 +1,5 @@
[accept-header.html]
type: testharness
[Request through fetch should have 'accept' header with value '*/*']
expected: FAIL

View file

@ -0,0 +1,6 @@
[integrity-worker.html]
type: testharness
expected: TIMEOUT
[Empty string integrity]
expected: FAIL

View file

@ -0,0 +1,5 @@
[integrity.html]
type: testharness
[Empty string integrity]
expected: FAIL

View file

@ -0,0 +1,6 @@
[mode-no-cors-worker.html]
type: testharness
expected: TIMEOUT
[Fetch ../resources/top.txt with no-cors mode]
expected: FAIL

View file

@ -0,0 +1,5 @@
[mode-no-cors.html]
type: testharness
[Fetch ../resources/top.txt with no-cors mode]
expected: FAIL

View file

@ -0,0 +1,6 @@
[mode-same-origin-worker.html]
type: testharness
expected: TIMEOUT
[Fetch ../resources/top.txt with same-origin mode]
expected: FAIL

View file

@ -0,0 +1,5 @@
[mode-same-origin.html]
type: testharness
[Fetch ../resources/top.txt with same-origin mode]
expected: FAIL

View file

@ -0,0 +1,6 @@
[request-forbidden-headers-worker.html]
type: testharness
expected: TIMEOUT
[Accept-Charset is a forbidden request header]
expected: FAIL

View file

@ -0,0 +1,5 @@
[request-forbidden-headers.html]
type: testharness
[Accept-Charset is a forbidden request header]
expected: FAIL

View file

@ -0,0 +1,6 @@
[request-headers-worker.html]
type: testharness
expected: TIMEOUT
[Fetch with GET]
expected: FAIL

View file

@ -0,0 +1,5 @@
[request-headers.html]
type: testharness
[Fetch with GET]
expected: FAIL

View file

@ -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

View file

@ -0,0 +1,5 @@
[response-url.html]
type: testharness
[Testing response url getter with http://web-platform.test:8000/ada]
expected: FAIL

View file

@ -0,0 +1,6 @@
[scheme-about-worker.html]
type: testharness
expected: TIMEOUT
[Fetching about:blank is OK]
expected: FAIL

View file

@ -0,0 +1,5 @@
[scheme-about.html]
type: testharness
[Fetching about:blank is OK]
expected: FAIL

View file

@ -0,0 +1,6 @@
[scheme-blob-worker.html]
type: testharness
expected: TIMEOUT
[Fetching [GET\] URL.createObjectURL(blob) is OK]
expected: FAIL

View file

@ -0,0 +1,5 @@
[scheme-blob.html]
type: testharness
[Fetching [GET\] URL.createObjectURL(blob) is OK]
expected: FAIL

View file

@ -0,0 +1,6 @@
[scheme-data-worker.html]
type: testharness
expected: TIMEOUT
[Fetching data:,response%27s%20body is OK]
expected: FAIL

View file

@ -0,0 +1,5 @@
[scheme-data.html]
type: testharness
[Fetching data:,response%27s%20body is OK]
expected: FAIL

View file

@ -0,0 +1,6 @@
[scheme-others-worker.html]
type: testharness
expected: TIMEOUT
[Fetching aaa://web-platform.test:8000/ is KO]
expected: FAIL

View file

@ -0,0 +1,5 @@
[scheme-others.html]
type: testharness
[Fetching aaa://web-platform.test:8000/ is KO]
expected: FAIL

View file

@ -0,0 +1,6 @@
[stream-response-worker.html]
type: testharness
expected: TIMEOUT
[Stream response's body]
expected: FAIL

View file

@ -0,0 +1,5 @@
[stream-response.html]
type: testharness
[Stream response's body]
expected: FAIL

View file

@ -0,0 +1,6 @@
[cors-basic-worker.html]
type: testharness
expected: TIMEOUT
[Same domain different port [no-cors mode\]]
expected: FAIL

View file

@ -0,0 +1,5 @@
[cors-basic.html]
type: testharness
[Same domain different port [no-cors mode\]]
expected: FAIL

View file

@ -0,0 +1,6 @@
[cors-cookies-worker.html]
type: testharness
expected: TIMEOUT
[Omit mode: no cookie sent]
expected: FAIL

View file

@ -0,0 +1,5 @@
[cors-cookies.html]
type: testharness
[Omit mode: no cookie sent]
expected: FAIL

View file

@ -0,0 +1,6 @@
[cors-filtering-worker.html]
type: testharness
expected: TIMEOUT
[CORS filter on Cache-Control header]
expected: FAIL

View file

@ -0,0 +1,5 @@
[cors-filtering.html]
type: testharness
[CORS filter on Cache-Control header]
expected: FAIL

View file

@ -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

View file

@ -0,0 +1,5 @@
[cors-multiple-origins.html]
type: testharness
[3 origins allowed, match the 3rd (http://web-platform.test:8000)]
expected: FAIL

View file

@ -0,0 +1,6 @@
[cors-no-preflight-worker.html]
type: testharness
expected: TIMEOUT
[Cross domain basic usage [GET\]]
expected: FAIL

View file

@ -0,0 +1,5 @@
[cors-no-preflight.html]
type: testharness
[Cross domain basic usage [GET\]]
expected: FAIL

View file

@ -0,0 +1,6 @@
[cors-origin-worker.html]
type: testharness
expected: TIMEOUT
[Cross domain different subdomain [origin OK\]]
expected: FAIL

View file

@ -0,0 +1,5 @@
[cors-origin.html]
type: testharness
[Cross domain different subdomain [origin OK\]]
expected: FAIL

View file

@ -0,0 +1,6 @@
[cors-preflight-redirect-worker.html]
type: testharness
expected: TIMEOUT
[Redirection 301 on preflight failed]
expected: FAIL

View file

@ -0,0 +1,5 @@
[cors-preflight-redirect.html]
type: testharness
[Redirection 301 on preflight failed]
expected: FAIL

View file

@ -0,0 +1,6 @@
[cors-preflight-referrer-worker.html]
type: testharness
expected: TIMEOUT
[Referrer policy: no-referrer]
expected: FAIL

View file

@ -0,0 +1,5 @@
[cors-preflight-referrer.html]
type: testharness
[Referrer policy: no-referrer]
expected: FAIL

View file

@ -0,0 +1,6 @@
[cors-preflight-status-worker.html]
type: testharness
expected: TIMEOUT
[Preflight answered with status 200]
expected: FAIL

View file

@ -0,0 +1,5 @@
[cors-preflight-status.html]
type: testharness
[Preflight answered with status 200]
expected: FAIL

View file

@ -0,0 +1,3 @@
[cors-preflight-worker.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[cors-preflight.html]
type: testharness
expected: TIMEOUT

View file

@ -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

View file

@ -0,0 +1,5 @@
[cors-redirect-credentials.html]
type: testharness
[Redirect 301 from same origin to remote with user and password]
expected: FAIL

View file

@ -0,0 +1,6 @@
[cors-redirect-worker.html]
type: testharness
expected: TIMEOUT
[Redirect 301: cors to same cors]
expected: FAIL

View file

@ -0,0 +1,5 @@
[cors-redirect.html]
type: testharness
[Redirect 301: cors to same cors]
expected: FAIL

View file

@ -0,0 +1,6 @@
[authentication-basic-worker.html]
type: testharness
expected: TIMEOUT
[User-added Authorization header with include mode]
expected: FAIL

View file

@ -0,0 +1,5 @@
[authentication-basic.html]
type: testharness
[User-added Authorization header with include mode]
expected: FAIL

View file

@ -0,0 +1,6 @@
[cookies-worker.html]
type: testharness
expected: TIMEOUT
[Include mode: 1 cookie]
expected: FAIL

View file

@ -0,0 +1,5 @@
[cookies.html]
type: testharness
[Include mode: 1 cookie]
expected: FAIL

View file

@ -0,0 +1,6 @@
[csp-blocked-worker.html]
type: testharness
expected: TIMEOUT
[Fetch is blocked by CSP, got a TypeError]
expected: FAIL

View file

@ -0,0 +1,5 @@
[csp-blocked.html]
type: testharness
[Fetch is blocked by CSP, got a TypeError]
expected: FAIL

View file

@ -0,0 +1,6 @@
[referrer-no-referrer-worker.html]
type: testharness
expected: TIMEOUT
[Request's referrer is empty]
expected: FAIL

View file

@ -0,0 +1,5 @@
[referrer-no-referrer.html]
type: testharness
[Request's referrer is empty]
expected: FAIL

View file

@ -0,0 +1,6 @@
[referrer-origin-worker.html]
type: testharness
expected: TIMEOUT
[Request's referrer is origin]
expected: FAIL

View file

@ -0,0 +1,5 @@
[referrer-origin.html]
type: testharness
[Request's referrer is origin]
expected: FAIL

View file

@ -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

View file

@ -0,0 +1,5 @@
[referrer-unsafe-url.html]
type: testharness
[Request's referrer is the full url of current document/worker]
expected: FAIL

View file

@ -0,0 +1,6 @@
[redirect-count-worker.html]
type: testharness
expected: TIMEOUT
[Redirect 301 20 times]
expected: FAIL

View file

@ -0,0 +1,5 @@
[redirect-count.html]
type: testharness
[Redirect 301 20 times]
expected: FAIL

View file

@ -0,0 +1,6 @@
[redirect-location-worker.html]
type: testharness
expected: TIMEOUT
[Redirect 301 in "follow" mode without location]
expected: FAIL

View file

@ -0,0 +1,5 @@
[redirect-location.html]
type: testharness
[Redirect 301 in "follow" mode without location]
expected: FAIL

View file

@ -0,0 +1,6 @@
[redirect-method-worker.html]
type: testharness
expected: TIMEOUT
[Response.redirected should be false on not-redirected responses]
expected: FAIL

View file

@ -0,0 +1,5 @@
[redirect-method.html]
type: testharness
[Response.redirected should be false on not-redirected responses]
expected: FAIL

View file

@ -0,0 +1,6 @@
[redirect-mode-worker.html]
type: testharness
expected: TIMEOUT
[Redirect 301 in "error" mode ]
expected: FAIL

View file

@ -0,0 +1,5 @@
[redirect-mode.html]
type: testharness
[Redirect 301 in "error" mode ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[redirect-schemes.html]
type: testharness
expected: TIMEOUT