mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #13260 - jeenalee:fetch-tests, r=jdm
Enable the Fetch API web platform tests <!-- Please describe your changes on the following line: --> This will enable the remaining Fetch API tests, which will be useful for future PRs related to implementing the fetch method. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13260) <!-- Reviewable:end -->
This commit is contained in:
commit
234951e4b6
90 changed files with 560 additions and 10 deletions
|
@ -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]
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
[accept-header-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Request through fetch should have 'accept' header with value '*/*']
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[accept-header.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Request through fetch should have 'accept' header with value '*/*']
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[integrity-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Empty string integrity]
|
||||
expected: NOTRUN
|
||||
|
6
tests/wpt/metadata/fetch/api/basic/integrity.html.ini
Normal file
6
tests/wpt/metadata/fetch/api/basic/integrity.html.ini
Normal file
|
@ -0,0 +1,6 @@
|
|||
[integrity.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Empty string integrity]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[mode-no-cors-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetch ../resources/top.txt with no-cors mode]
|
||||
expected: NOTRUN
|
||||
|
6
tests/wpt/metadata/fetch/api/basic/mode-no-cors.html.ini
Normal file
6
tests/wpt/metadata/fetch/api/basic/mode-no-cors.html.ini
Normal file
|
@ -0,0 +1,6 @@
|
|||
[mode-no-cors.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetch ../resources/top.txt with no-cors mode]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[mode-same-origin-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetch ../resources/top.txt with same-origin mode]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[mode-same-origin.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetch ../resources/top.txt with same-origin mode]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[referrer-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[origin-when-cross-origin policy on a same-origin URL]
|
||||
expected: NOTRUN
|
||||
|
6
tests/wpt/metadata/fetch/api/basic/referrer.html.ini
Normal file
6
tests/wpt/metadata/fetch/api/basic/referrer.html.ini
Normal file
|
@ -0,0 +1,6 @@
|
|||
[referrer.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[origin-when-cross-origin policy on a same-origin URL]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[request-forbidden-headers-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Accept-Charset is a forbidden request header]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[request-forbidden-headers.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Accept-Charset is a forbidden request header]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[request-head-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetch with HEAD with body]
|
||||
expected: NOTRUN
|
||||
|
6
tests/wpt/metadata/fetch/api/basic/request-head.html.ini
Normal file
6
tests/wpt/metadata/fetch/api/basic/request-head.html.ini
Normal file
|
@ -0,0 +1,6 @@
|
|||
[request-head.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetch with HEAD with body]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[request-headers-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetch with GET]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[request-headers.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetch with GET]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[request-referrer.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetch: fetch() respects Request referrer value]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[response-url-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Testing response url getter with http://web-platform.test:8000/ada]
|
||||
expected: NOTRUN
|
||||
|
6
tests/wpt/metadata/fetch/api/basic/response-url.html.ini
Normal file
6
tests/wpt/metadata/fetch/api/basic/response-url.html.ini
Normal file
|
@ -0,0 +1,6 @@
|
|||
[response-url.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Testing response url getter with http://web-platform.test:8000/ada]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
[scheme-about-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetching about:blank is OK]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching about:blank (GET) is OK]
|
||||
expected: NOTRUN
|
||||
|
9
tests/wpt/metadata/fetch/api/basic/scheme-about.html.ini
Normal file
9
tests/wpt/metadata/fetch/api/basic/scheme-about.html.ini
Normal file
|
@ -0,0 +1,9 @@
|
|||
[scheme-about.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetching about:blank is OK]
|
||||
expected: FAIL
|
||||
|
||||
[Fetching about:blank (GET) is OK]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[scheme-blob-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetching [GET\] URL.createObjectURL(blob) is OK]
|
||||
expected: NOTRUN
|
||||
|
6
tests/wpt/metadata/fetch/api/basic/scheme-blob.html.ini
Normal file
6
tests/wpt/metadata/fetch/api/basic/scheme-blob.html.ini
Normal file
|
@ -0,0 +1,6 @@
|
|||
[scheme-blob.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetching [GET\] URL.createObjectURL(blob) is OK]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[scheme-data-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetching data:,response%27s%20body is OK]
|
||||
expected: NOTRUN
|
||||
|
6
tests/wpt/metadata/fetch/api/basic/scheme-data.html.ini
Normal file
6
tests/wpt/metadata/fetch/api/basic/scheme-data.html.ini
Normal file
|
@ -0,0 +1,6 @@
|
|||
[scheme-data.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetching data:,response%27s%20body is OK]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[scheme-others-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetching aaa://web-platform.test:8000/ is KO]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[scheme-others.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetching aaa://web-platform.test:8000/ is KO]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[stream-response-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Stream response's body]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[stream-response.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Stream response's body]
|
||||
expected: NOTRUN
|
||||
|
6
tests/wpt/metadata/fetch/api/basic/text-utf8.html.ini
Normal file
6
tests/wpt/metadata/fetch/api/basic/text-utf8.html.ini
Normal file
|
@ -0,0 +1,6 @@
|
|||
[text-utf8.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[UTF-8 with BOM with Request.text()]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-basic-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Same domain different port [no-cors mode\]]
|
||||
expected: NOTRUN
|
||||
|
6
tests/wpt/metadata/fetch/api/cors/cors-basic.html.ini
Normal file
6
tests/wpt/metadata/fetch/api/cors/cors-basic.html.ini
Normal file
|
@ -0,0 +1,6 @@
|
|||
[cors-basic.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Same domain different port [no-cors mode\]]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-cookies-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Omit mode: no cookie sent]
|
||||
expected: NOTRUN
|
||||
|
6
tests/wpt/metadata/fetch/api/cors/cors-cookies.html.ini
Normal file
6
tests/wpt/metadata/fetch/api/cors/cors-cookies.html.ini
Normal file
|
@ -0,0 +1,6 @@
|
|||
[cors-cookies.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Omit mode: no cookie sent]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-filtering-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[CORS filter on Cache-Control header]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-filtering.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[CORS filter on Cache-Control header]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-multiple-origins-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[3 origins allowed, match the 3rd (http://web-platform.test:8000)]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-multiple-origins.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[3 origins allowed, match the 3rd (http://web-platform.test:8000)]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-no-preflight-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Cross domain basic usage [GET\]]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-no-preflight.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Cross domain basic usage [GET\]]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-origin-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Cross domain different subdomain [origin OK\]]
|
||||
expected: NOTRUN
|
||||
|
6
tests/wpt/metadata/fetch/api/cors/cors-origin.html.ini
Normal file
6
tests/wpt/metadata/fetch/api/cors/cors-origin.html.ini
Normal file
|
@ -0,0 +1,6 @@
|
|||
[cors-origin.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Cross domain different subdomain [origin OK\]]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-preflight-redirect-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Redirection 301 on preflight failed]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-preflight-redirect.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Redirection 301 on preflight failed]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-preflight-referrer-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Referrer policy: no-referrer]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-preflight-referrer.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Referrer policy: no-referrer]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-preflight-status-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Preflight answered with status 200]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-preflight-status.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Preflight answered with status 200]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-preflight-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[CORS [DELETE\], server allows]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-preflight.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[CORS [DELETE\], server allows]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-redirect-credentials-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Redirect 301 from same origin to remote with user and password]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-redirect-credentials.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Redirect 301 from same origin to remote with user and password]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-redirect-preflight-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Redirect 301: same origin to cors (preflight after redirection success case)]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-redirect-preflight.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Redirect 301: same origin to cors (preflight after redirection success case)]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cors-redirect-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Redirect 301: cors to same cors]
|
||||
expected: NOTRUN
|
||||
|
6
tests/wpt/metadata/fetch/api/cors/cors-redirect.html.ini
Normal file
6
tests/wpt/metadata/fetch/api/cors/cors-redirect.html.ini
Normal file
|
@ -0,0 +1,6 @@
|
|||
[cors-redirect.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Redirect 301: cors to same cors]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[authentication-basic-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[User-added Authorization header with include mode]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[authentication-basic.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[User-added Authorization header with include mode]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cookies-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Include mode: 1 cookie]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[cookies.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Include mode: 1 cookie]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[csp-blocked-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetch is blocked by CSP, got a TypeError]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[csp-blocked.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetch is blocked by CSP, got a TypeError]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[referrer-no-referrer-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Request's referrer is empty]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[referrer-no-referrer.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Request's referrer is empty]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[referrer-origin-when-cross-origin-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Request's referrer is origin]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[referrer-origin-when-cross-origin.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Request's referrer is origin]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[referrer-origin-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Request's referrer is origin]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[referrer-origin.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Request's referrer is origin]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[referrer-unsafe-url-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Request's referrer is the full url of current document/worker]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[referrer-unsafe-url.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Request's referrer is the full url of current document/worker]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[redirect-count-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Redirect 301 20 times]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[redirect-count.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Redirect 301 20 times]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[redirect-location-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Redirect 301 in "follow" mode without location]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[redirect-location.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Redirect 301 in "follow" mode without location]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[redirect-method-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Response.redirected should be false on not-redirected responses]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[redirect-method.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Response.redirected should be false on not-redirected responses]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[redirect-mode-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Redirect 301 in "error" mode ]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[redirect-mode.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Redirect 301 in "error" mode ]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[redirect-origin-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Same origin to same origin redirection 301]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[redirect-origin.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Same origin to same origin redirection 301]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[redirect-schemes.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Fetch: handling different schemes in redirects]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[redirect-to-dataurl-worker.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Testing data URL loading after same-origin redirection (cors mode)]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
[redirect-to-dataurl.html]
|
||||
type: testharness
|
||||
expected: ERROR
|
||||
[Testing data URL loading after same-origin redirection (cors mode)]
|
||||
expected: NOTRUN
|
||||
|
14
tests/wpt/metadata/fetch/nosniff/image.html.ini
Normal file
14
tests/wpt/metadata/fetch/nosniff/image.html.ini
Normal file
|
@ -0,0 +1,14 @@
|
|||
[image.html]
|
||||
type: testharness
|
||||
[URL query: ]
|
||||
expected: FAIL
|
||||
|
||||
[URL query: ?type=]
|
||||
expected: FAIL
|
||||
|
||||
[URL query: ?type=x]
|
||||
expected: FAIL
|
||||
|
||||
[URL query: ?type=x/x]
|
||||
expected: FAIL
|
||||
|
5
tests/wpt/metadata/fetch/nosniff/importscripts.html.ini
Normal file
5
tests/wpt/metadata/fetch/nosniff/importscripts.html.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[importscripts.html]
|
||||
type: testharness
|
||||
[Test importScripts()]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
[parsing-nosniff.html]
|
||||
type: testharness
|
||||
[URL query: first]
|
||||
expected: FAIL
|
||||
|
||||
[URL query: uppercase]
|
||||
expected: FAIL
|
||||
|
14
tests/wpt/metadata/fetch/nosniff/script.html.ini
Normal file
14
tests/wpt/metadata/fetch/nosniff/script.html.ini
Normal file
|
@ -0,0 +1,14 @@
|
|||
[script.html]
|
||||
type: testharness
|
||||
[URL query: ]
|
||||
expected: FAIL
|
||||
|
||||
[URL query: ?type=]
|
||||
expected: FAIL
|
||||
|
||||
[URL query: ?type=x]
|
||||
expected: FAIL
|
||||
|
||||
[URL query: ?type=x/x]
|
||||
expected: FAIL
|
||||
|
14
tests/wpt/metadata/fetch/nosniff/worker.html.ini
Normal file
14
tests/wpt/metadata/fetch/nosniff/worker.html.ini
Normal file
|
@ -0,0 +1,14 @@
|
|||
[worker.html]
|
||||
type: testharness
|
||||
[URL query: ]
|
||||
expected: FAIL
|
||||
|
||||
[URL query: ?type=]
|
||||
expected: FAIL
|
||||
|
||||
[URL query: ?type=x]
|
||||
expected: FAIL
|
||||
|
||||
[URL query: ?type=x/x]
|
||||
expected: FAIL
|
||||
|
|
@ -3,7 +3,6 @@
|
|||
expected:
|
||||
if os == "mac": TIMEOUT
|
||||
if os == "linux": CRASH
|
||||
|
||||
[WorkerGlobalScope interface: operation close()]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue