Implement the Fetch method

This commit is contained in:
Jeena Lee 2016-09-06 10:54:06 -07:00
parent a03a5e814a
commit 3216009731
213 changed files with 1208 additions and 1719 deletions

View file

@ -1,41 +1,14 @@
[integrity-worker.html]
type: testharness
[Empty string integrity]
expected: FAIL
[SHA-256 integrity]
expected: FAIL
[SHA-384 integrity]
expected: FAIL
[SHA-512 integrity]
expected: FAIL
[Invalid integrity]
expected: FAIL
[Multiple integrities: valid stronger than invalid]
expected: FAIL
[Multiple integrities: invalid stronger than valid]
expected: FAIL
[Multiple integrities: invalid as strong as valid]
expected: FAIL
[Multiple integrities: both are valid]
expected: FAIL
[Multiple integrities: both are invalid]
expected: FAIL
[CORS empty integrity]
expected: FAIL
[CORS SHA-512 integrity]
expected: FAIL
[CORS invalid integrity]
expected: FAIL

View file

@ -1,41 +1,14 @@
[integrity.html]
type: testharness
[Empty string integrity]
expected: FAIL
[SHA-256 integrity]
expected: FAIL
[SHA-384 integrity]
expected: FAIL
[SHA-512 integrity]
expected: FAIL
[Invalid integrity]
expected: FAIL
[Multiple integrities: valid stronger than invalid]
expected: FAIL
[Multiple integrities: invalid stronger than valid]
expected: FAIL
[Multiple integrities: invalid as strong as valid]
expected: FAIL
[Multiple integrities: both are valid]
expected: FAIL
[Multiple integrities: both are invalid]
expected: FAIL
[CORS empty integrity]
expected: FAIL
[CORS SHA-512 integrity]
expected: FAIL
[CORS invalid integrity]
expected: FAIL

View file

@ -6,9 +6,6 @@
[Fetch http://web-platform.test:8000/fetch/api/resources/top.txt with same-origin mode]
expected: FAIL
[Fetch https://web-platform.test:8443/fetch/api/resources/top.txt with same-origin mode]
expected: FAIL
[Fetch http://www1.web-platform.test:8000/fetch/api/resources/top.txt with same-origin mode]
expected: FAIL
@ -18,9 +15,3 @@
[Fetch /fetch/api/basic/../resources/redirect.py?location=http://web-platform.test:8000/fetch/api/resources/top.txt with same-origin mode]
expected: FAIL
[Fetch /fetch/api/basic/../resources/redirect.py?location=https://web-platform.test:8443/fetch/api/resources/top.txt with same-origin mode]
expected: FAIL
[Fetch /fetch/api/basic/../resources/redirect.py?location=http://www1.web-platform.test:8000/fetch/api/resources/top.txt with same-origin mode]
expected: FAIL

View file

@ -6,9 +6,6 @@
[Fetch http://web-platform.test:8000/fetch/api/resources/top.txt with same-origin mode]
expected: FAIL
[Fetch https://web-platform.test:8443/fetch/api/resources/top.txt with same-origin mode]
expected: FAIL
[Fetch http://www1.web-platform.test:8000/fetch/api/resources/top.txt with same-origin mode]
expected: FAIL
@ -18,9 +15,3 @@
[Fetch /fetch/api/basic/../resources/redirect.py?location=http://web-platform.test:8000/fetch/api/resources/top.txt with same-origin mode]
expected: FAIL
[Fetch /fetch/api/basic/../resources/redirect.py?location=https://web-platform.test:8443/fetch/api/resources/top.txt with same-origin mode]
expected: FAIL
[Fetch /fetch/api/basic/../resources/redirect.py?location=http://www1.web-platform.test:8000/fetch/api/resources/top.txt with same-origin mode]
expected: FAIL

View file

@ -12,9 +12,3 @@
[origin-when-cross-origin policy on a same-origin URL after cross-origin redirection]
expected: FAIL
[Referrer with credentials should be stripped]
expected: FAIL
[Referrer with fragment ID should be stripped]
expected: FAIL

View file

@ -12,9 +12,3 @@
[origin-when-cross-origin policy on a same-origin URL after cross-origin redirection]
expected: FAIL
[Referrer with credentials should be stripped]
expected: FAIL
[Referrer with fragment ID should be stripped]
expected: FAIL

View file

@ -1,5 +0,0 @@
[request-head-worker.html]
type: testharness
[Fetch with HEAD with body]
expected: FAIL

View file

@ -1,5 +0,0 @@
[request-head.html]
type: testharness
[Fetch with HEAD with body]
expected: FAIL

View file

@ -3,6 +3,3 @@
[Fetch: fetch() respects Request referrer value]
expected: FAIL
[Fetch: fetch() respects Request referrer value 1]
expected: FAIL

View file

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

View file

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

View file

@ -1,8 +1,5 @@
[scheme-about-worker.html]
type: testharness
[Fetching about:blank is OK]
expected: FAIL
[Fetching about:blank (GET) is OK]
expected: FAIL
@ -12,12 +9,3 @@
[Fetching about:blank (POST) is OK]
expected: FAIL
[Fetching about:invalid.com is KO]
expected: FAIL
[Fetching about:config is KO]
expected: FAIL
[Fetching about:unicorn is KO]
expected: FAIL

View file

@ -1,8 +1,5 @@
[scheme-about.html]
type: testharness
[Fetching about:blank is OK]
expected: FAIL
[Fetching about:blank (GET) is OK]
expected: FAIL
@ -12,12 +9,3 @@
[Fetching about:blank (POST) is OK]
expected: FAIL
[Fetching about:invalid.com is KO]
expected: FAIL
[Fetching about:config is KO]
expected: FAIL
[Fetching about:unicorn is KO]
expected: FAIL

View file

@ -1,26 +1,3 @@
[scheme-blob-worker.html]
type: testharness
[Fetching [GET\] URL.createObjectURL(blob) is OK]
expected: FAIL
[Fetching [GET\] blob:http://www.web-platform.test:8000/ is KO]
expected: FAIL
[Fetching [POST\] URL.createObjectURL(blob) is KO]
expected: FAIL
[Fetching [OPTIONS\] URL.createObjectURL(blob) is KO]
expected: FAIL
[Fetching [HEAD\] URL.createObjectURL(blob) is KO]
expected: FAIL
[Fetching [PUT\] URL.createObjectURL(blob) is KO]
expected: FAIL
[Fetching [DELETE\] URL.createObjectURL(blob) is KO]
expected: FAIL
[Fetching [INVALID\] URL.createObjectURL(blob) is KO]
expected: FAIL
expected: CRASH

View file

@ -1,26 +1,3 @@
[scheme-blob.html]
type: testharness
[Fetching [GET\] URL.createObjectURL(blob) is OK]
expected: FAIL
[Fetching [GET\] blob:http://www.web-platform.test:8000/ is KO]
expected: FAIL
[Fetching [POST\] URL.createObjectURL(blob) is KO]
expected: FAIL
[Fetching [OPTIONS\] URL.createObjectURL(blob) is KO]
expected: FAIL
[Fetching [HEAD\] URL.createObjectURL(blob) is KO]
expected: FAIL
[Fetching [PUT\] URL.createObjectURL(blob) is KO]
expected: FAIL
[Fetching [DELETE\] URL.createObjectURL(blob) is KO]
expected: FAIL
[Fetching [INVALID\] URL.createObjectURL(blob) is KO]
expected: FAIL
expected: CRASH

View file

@ -15,12 +15,3 @@
[Fetching data:image/png;base64,cmVzcG9uc2UncyBib2[...\] is OK]
expected: FAIL
[Fetching [GET\] data:notAdataUrl.com is KO]
expected: FAIL
[Fetching [POST\] data:,response%27s%20body is KO]
expected: FAIL
[Fetching [HEAD\] data:,response%27s%20body is KO]
expected: FAIL

View file

@ -15,12 +15,3 @@
[Fetching data:image/png;base64,cmVzcG9uc2UncyBib2[...\] is OK]
expected: FAIL
[Fetching [GET\] data:notAdataUrl.com is KO]
expected: FAIL
[Fetching [POST\] data:,response%27s%20body is KO]
expected: FAIL
[Fetching [HEAD\] data:,response%27s%20body is KO]
expected: FAIL

View file

@ -1,50 +0,0 @@
[scheme-others-worker.html]
type: testharness
[Fetching aaa://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching cap://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching cid://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching dav://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching dict://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching dns://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching geo://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching im://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching imap://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching ipp://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching ldap://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching mailto://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching nfs://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching pop://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching rtsp://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching snmp://web-platform.test:8000/ is KO]
expected: FAIL

View file

@ -1,50 +0,0 @@
[scheme-others.html]
type: testharness
[Fetching aaa://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching cap://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching cid://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching dav://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching dict://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching dns://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching geo://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching im://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching imap://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching ipp://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching ldap://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching mailto://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching nfs://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching pop://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching rtsp://web-platform.test:8000/ is KO]
expected: FAIL
[Fetching snmp://web-platform.test:8000/ is KO]
expected: FAIL