Changeset 203732 in webkit
- Timestamp:
- Jul 26, 2016 1:18:03 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 11 added
- 23 edited
- 8 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r203731 r203732 1 2016-07-26 Youenn Fablet <youenn@apple.com> 2 3 [Fetch API] Add support for fetch mode, in particular cors 4 https://bugs.webkit.org/show_bug.cgi?id=156753 5 6 Reviewed by Darin Adler. 7 8 Rebasing specific expectations as Maci/iOS WK2 does not like https tests. 9 10 * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt: Added. 11 * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt: Added. 12 * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt: Added. 13 * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt: Added. 14 * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt: Added. 15 * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt: Added. 16 * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt: Added. 17 * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt: Added. 18 1 19 2016-07-26 Chris Dumez <cdumez@apple.com> 2 20 -
trunk/LayoutTests/imported/w3c/ChangeLog
r203731 r203732 1 2016-07-26 Youenn Fablet <youenn@apple.com> 2 3 [Fetch API] Add support for fetch mode, in particular cors 4 https://bugs.webkit.org/show_bug.cgi?id=156753 5 6 Reviewed by Darin Adler. 7 8 Rebasing tests. 9 10 * web-platform-tests/fetch/api/basic/integrity-expected.txt: 11 * web-platform-tests/fetch/api/basic/integrity-worker-expected.txt: 12 * web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt: 13 * web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt: 14 * web-platform-tests/fetch/api/cors/cors-basic-expected.txt: 15 * web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt: 16 * web-platform-tests/fetch/api/cors/cors-cookies-expected.txt: 17 * web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt: 18 * web-platform-tests/fetch/api/cors/cors-filtering-expected.txt: 19 * web-platform-tests/fetch/api/cors/cors-filtering-worker-expected.txt: 20 * web-platform-tests/fetch/api/cors/cors-multiple-origins-expected.txt: 21 * web-platform-tests/fetch/api/cors/cors-multiple-origins-worker-expected.txt: 22 * web-platform-tests/fetch/api/cors/cors-preflight-expected.txt: 23 * web-platform-tests/fetch/api/cors/cors-preflight-referrer-worker-expected.txt: 24 * web-platform-tests/fetch/api/cors/cors-preflight-worker-expected.txt: 25 * web-platform-tests/fetch/api/cors/cors-redirect-credentials-expected.txt: 26 * web-platform-tests/fetch/api/cors/cors-redirect-credentials-worker-expected.txt: 27 * web-platform-tests/fetch/api/credentials/authentication-basic-worker-expected.txt: 28 * web-platform-tests/fetch/api/request/request-cache-expected.txt: 29 1 30 2016-07-26 Chris Dumez <cdumez@apple.com> 2 31 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-expected.txt
r198665 r203732 10 10 PASS Multiple integrities: both are valid 11 11 FAIL Multiple integrities: both are invalid assert_unreached: Should have rejected. Reached unreachable code 12 FAIL CORS empty integrity promise_test: Unhandled rejection with value: object "TypeError: Type error" 13 FAIL CORS SHA-512 integrity promise_test: Unhandled rejection with value: object "TypeError: Type error" 14 PASS CORS invalid integrity 12 PASS CORS empty integrity 13 PASS CORS SHA-512 integrity 14 FAIL CORS invalid integrity assert_unreached: Should have rejected. Reached unreachable code 15 15 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-worker-expected.txt
r198891 r203732 10 10 PASS Multiple integrities: both are valid 11 11 FAIL Multiple integrities: both are invalid assert_unreached: Should have rejected. Reached unreachable code 12 FAIL CORS empty integrity promise_test: Unhandled rejection with value: object "TypeError: Type error" 13 FAIL CORS SHA-512 integrity promise_test: Unhandled rejection with value: object "TypeError: Type error" 14 PASS CORS invalid integrity 12 PASS CORS empty integrity 13 PASS CORS SHA-512 integrity 14 FAIL CORS invalid integrity assert_unreached: Should have rejected. Reached unreachable code 15 15 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt
r202853 r203732 2 2 PASS Fetch ../resources/top.txt with no-cors mode 3 3 PASS Fetch http://localhost:8800/fetch/api/resources/top.txt with no-cors mode 4 FAIL Fetch https://localhost:9443/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error"5 FAIL Fetch http://localhost:8801/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error"4 FAIL Fetch https://localhost:9443/fetch/api/resources/top.txt with no-cors mode assert_equals: Opaque filter: status is 0 expected 0 but got 200 5 FAIL Fetch http://localhost:8801/fetch/api/resources/top.txt with no-cors mode assert_equals: Opaque filter: status is 0 expected 0 but got 200 6 6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt
r202853 r203732 2 2 PASS Fetch ../resources/top.txt with no-cors mode 3 3 PASS Fetch http://localhost:8800/fetch/api/resources/top.txt with no-cors mode 4 FAIL Fetch https://localhost:9443/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error"5 FAIL Fetch http://localhost:8801/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error"4 FAIL Fetch https://localhost:9443/fetch/api/resources/top.txt with no-cors mode assert_equals: Opaque filter: status is 0 expected 0 but got 200 5 FAIL Fetch http://localhost:8801/fetch/api/resources/top.txt with no-cors mode assert_equals: Opaque filter: status is 0 expected 0 but got 200 6 6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt
r202853 r203732 1 1 2 FAIL Same domain different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"2 FAIL Same domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 3 3 PASS Same domain different port [server forbid CORS] 4 FAIL Same domain different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"5 FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"4 FAIL Same domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 5 FAIL Same domain different protocol different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 6 6 PASS Same domain different protocol different port [server forbid CORS] 7 FAIL Same domain different protocol different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"8 FAIL Cross domain basic usage [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"7 FAIL Same domain different protocol different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 8 FAIL Cross domain basic usage [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 9 9 PASS Cross domain basic usage [server forbid CORS] 10 FAIL Cross domain basic usage [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"11 FAIL Cross domain different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"10 FAIL Cross domain basic usage [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 11 FAIL Cross domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 12 12 PASS Cross domain different port [server forbid CORS] 13 FAIL Cross domain different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"14 FAIL Cross domain different protocol [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"13 FAIL Cross domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 14 FAIL Cross domain different protocol [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 15 15 PASS Cross domain different protocol [server forbid CORS] 16 FAIL Cross domain different protocol [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"16 FAIL Cross domain different protocol [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 17 17 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt
r203164 r203732 1 1 2 FAIL Same domain different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"2 FAIL Same domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 3 3 PASS Same domain different port [server forbid CORS] 4 FAIL Same domain different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"4 FAIL Same domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 5 5 FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" 6 6 PASS Same domain different protocol different port [server forbid CORS] 7 7 FAIL Same domain different protocol different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" 8 FAIL Cross domain basic usage [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"8 FAIL Cross domain basic usage [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 9 9 PASS Cross domain basic usage [server forbid CORS] 10 FAIL Cross domain basic usage [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"11 FAIL Cross domain different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"10 FAIL Cross domain basic usage [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 11 FAIL Cross domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 12 12 PASS Cross domain different port [server forbid CORS] 13 FAIL Cross domain different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"13 FAIL Cross domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 14 14 FAIL Cross domain different protocol [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" 15 15 PASS Cross domain different protocol [server forbid CORS] -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-expected.txt
r203408 r203732 1 1 2 2 FAIL Omit mode: no cookie sent assert_false: Request should have no cookie expected false got true 3 FAIL Include mode: 1 cookie promise_test: Unhandled rejection with value: object "TypeError: Type error"4 FAIL Include mode: local cookies are not sent with remote request promise_test: Unhandled rejection with value: object "TypeError: Type error" 5 FAIL Include mode: remote cookies are not sent with local request promise_test: Unhandled rejection with value: object "TypeError: Type error" 6 FAIL Same-origin mode: cookies are discarded in cors request promise_test: Unhandled rejection with value: object "TypeError: Type error" 3 FAIL Include mode: 1 cookie assert_equals: Request includes cookie(s) expected (string) "a=1" but got (object) null 4 PASS Include mode: local cookies are not sent with remote request 5 PASS Include mode: remote cookies are not sent with local request 6 PASS Same-origin mode: cookies are discarded in cors request 7 7 FAIL Include mode: remote cookies are not sent with other remote request promise_test: Unhandled rejection with value: object "TypeError: Type error" 8 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt
r203408 r203732 1 1 2 2 FAIL Omit mode: no cookie sent assert_false: Request should have no cookie expected false got true 3 FAIL Include mode: 1 cookie promise_test: Unhandled rejection with value: object "TypeError: Type error"4 FAIL Include mode: local cookies are not sent with remote request promise_test: Unhandled rejection with value: object "TypeError: Type error" 5 FAIL Include mode: remote cookies are not sent with local request promise_test: Unhandled rejection with value: object "TypeError: Type error" 6 FAIL Same-origin mode: cookies are discarded in cors request promise_test: Unhandled rejection with value: object "TypeError: Type error" 3 FAIL Include mode: 1 cookie assert_equals: Request includes cookie(s) expected (string) "a=1" but got (object) null 4 PASS Include mode: local cookies are not sent with remote request 5 PASS Include mode: remote cookies are not sent with local request 6 PASS Same-origin mode: cookies are discarded in cors request 7 7 FAIL Include mode: remote cookies are not sent with other remote request promise_test: Unhandled rejection with value: object "TypeError: Type error" 8 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering-expected.txt
r200195 r203732 1 1 2 FAIL CORS filter on Cache-Control header promise_test: Unhandled rejection with value: object "TypeError: Type error"3 FAIL CORS filter on Content-Language header promise_test: Unhandled rejection with value: object "TypeError: Type error"4 FAIL CORS filter on Content-Type header promise_test: Unhandled rejection with value: object "TypeError: Type error"5 FAIL CORS filter on Expires header promise_test: Unhandled rejection with value: object "TypeError: Type error"6 FAIL CORS filter on Last-Modified header promise_test: Unhandled rejection with value: object "TypeError: Type error"7 FAIL CORS filter on Pragma header promise_test: Unhandled rejection with value: object "TypeError: Type error"8 FAIL CORS filter on Age header promise_test: Unhandled rejection with value: object "TypeError: Type error"9 FAIL CORS filter on Server header promise_test: Unhandled rejection with value: object "TypeError: Type error"10 FAIL CORS filter on Warning header promise_test: Unhandled rejection with value: object "TypeError: Type error"11 FAIL CORS filter on Content-Length header promise_test: Unhandled rejection with value: object "TypeError: Type error"12 FAIL CORS filter on Set-Cookie header promise_test: Unhandled rejection with value: object "TypeError: Type error"13 FAIL CORS filter on Set-Cookie2 header promise_test: Unhandled rejection with value: object "TypeError: Type error"14 FAIL CORS filter on Age header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error"15 FAIL CORS filter on Server header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error"16 FAIL CORS filter on Warning header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error"17 FAIL CORS filter on Content-Length header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error"18 FAIL CORS filter on Set-Cookie header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error"19 FAIL CORS filter on Set-Cookie2 header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error"2 FAIL CORS filter on Cache-Control header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 3 FAIL CORS filter on Content-Language header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 4 FAIL CORS filter on Content-Type header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 5 FAIL CORS filter on Expires header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 6 FAIL CORS filter on Last-Modified header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 7 FAIL CORS filter on Pragma header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 8 FAIL CORS filter on Age header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 9 FAIL CORS filter on Server header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 10 FAIL CORS filter on Warning header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 11 FAIL CORS filter on Content-Length header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 12 FAIL CORS filter on Set-Cookie header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 13 FAIL CORS filter on Set-Cookie2 header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 14 FAIL CORS filter on Age header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 15 FAIL CORS filter on Server header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 16 FAIL CORS filter on Warning header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 17 FAIL CORS filter on Content-Length header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 18 FAIL CORS filter on Set-Cookie header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 19 FAIL CORS filter on Set-Cookie2 header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 20 20 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering-worker-expected.txt
r200195 r203732 1 1 2 FAIL CORS filter on Cache-Control header promise_test: Unhandled rejection with value: object "TypeError: Type error"3 FAIL CORS filter on Content-Language header promise_test: Unhandled rejection with value: object "TypeError: Type error"4 FAIL CORS filter on Content-Type header promise_test: Unhandled rejection with value: object "TypeError: Type error"5 FAIL CORS filter on Expires header promise_test: Unhandled rejection with value: object "TypeError: Type error"6 FAIL CORS filter on Last-Modified header promise_test: Unhandled rejection with value: object "TypeError: Type error"7 FAIL CORS filter on Pragma header promise_test: Unhandled rejection with value: object "TypeError: Type error"8 FAIL CORS filter on Age header promise_test: Unhandled rejection with value: object "TypeError: Type error"9 FAIL CORS filter on Server header promise_test: Unhandled rejection with value: object "TypeError: Type error"10 FAIL CORS filter on Warning header promise_test: Unhandled rejection with value: object "TypeError: Type error"11 FAIL CORS filter on Content-Length header promise_test: Unhandled rejection with value: object "TypeError: Type error"12 FAIL CORS filter on Set-Cookie header promise_test: Unhandled rejection with value: object "TypeError: Type error"13 FAIL CORS filter on Set-Cookie2 header promise_test: Unhandled rejection with value: object "TypeError: Type error"14 FAIL CORS filter on Age header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error"15 FAIL CORS filter on Server header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error"16 FAIL CORS filter on Warning header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error"17 FAIL CORS filter on Content-Length header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error"18 FAIL CORS filter on Set-Cookie header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error"19 FAIL CORS filter on Set-Cookie2 header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error"2 FAIL CORS filter on Cache-Control header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 3 FAIL CORS filter on Content-Language header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 4 FAIL CORS filter on Content-Type header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 5 FAIL CORS filter on Expires header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 6 FAIL CORS filter on Last-Modified header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 7 FAIL CORS filter on Pragma header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 8 FAIL CORS filter on Age header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 9 FAIL CORS filter on Server header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 10 FAIL CORS filter on Warning header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 11 FAIL CORS filter on Content-Length header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 12 FAIL CORS filter on Set-Cookie header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 13 FAIL CORS filter on Set-Cookie2 header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 14 FAIL CORS filter on Age header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 15 FAIL CORS filter on Server header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 16 FAIL CORS filter on Warning header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 17 FAIL CORS filter on Content-Length header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 18 FAIL CORS filter on Set-Cookie header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 19 FAIL CORS filter on Set-Cookie2 header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" 20 20 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-multiple-origins-expected.txt
r200195 r203732 1 1 2 FAIL 3 origins allowed, match the 3rd (http://localhost:8800) promise_test: Unhandled rejection with value: object "TypeError: Type error" 3 FAIL 3 origins allowed, match the 3rd ("*") promise_test: Unhandled rejection with value: object "TypeError: Type error" 4 FAIL 3 origins allowed, match twice (http://localhost:8800) promise_test: Unhandled rejection with value: object "TypeError: Type error" 5 FAIL 3 origins allowed, match twice ("*") promise_test: Unhandled rejection with value: object "TypeError: Type error" 6 FAIL 3 origins allowed, match twice ("*" and http://localhost:8800) promise_test: Unhandled rejection with value: object "TypeError: Type error" 2 PASS 3 origins allowed, match the 3rd (http://localhost:8800) 3 PASS 3 origins allowed, match the 3rd ("*") 4 PASS 3 origins allowed, match twice (http://localhost:8800) 5 PASS 3 origins allowed, match twice ("*") 6 PASS 3 origins allowed, match twice ("*" and http://localhost:8800) 7 7 PASS 3 origins allowed, no match 8 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-multiple-origins-worker-expected.txt
r200195 r203732 1 1 2 FAIL 3 origins allowed, match the 3rd (http://localhost:8800) promise_test: Unhandled rejection with value: object "TypeError: Type error" 3 FAIL 3 origins allowed, match the 3rd ("*") promise_test: Unhandled rejection with value: object "TypeError: Type error" 4 FAIL 3 origins allowed, match twice (http://localhost:8800) promise_test: Unhandled rejection with value: object "TypeError: Type error" 5 FAIL 3 origins allowed, match twice ("*") promise_test: Unhandled rejection with value: object "TypeError: Type error" 6 FAIL 3 origins allowed, match twice ("*" and http://localhost:8800) promise_test: Unhandled rejection with value: object "TypeError: Type error" 2 PASS 3 origins allowed, match the 3rd (http://localhost:8800) 3 PASS 3 origins allowed, match the 3rd ("*") 4 PASS 3 origins allowed, match twice (http://localhost:8800) 5 PASS 3 origins allowed, match twice ("*") 6 PASS 3 origins allowed, match twice ("*" and http://localhost:8800) 7 7 PASS 3 origins allowed, no match 8 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-expected.txt
r203638 r203732 1 1 2 FAIL CORS [DELETE], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error" 2 PASS CORS [DELETE], server allows 3 3 PASS CORS [DELETE], server refuses 4 FAIL CORS [PUT], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error" 4 PASS CORS [PUT], server allows 5 5 PASS CORS [PUT], server refuses 6 FAIL CORS [PATCH], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error" 6 PASS CORS [PATCH], server allows 7 7 PASS CORS [PATCH], server refuses 8 FAIL CORS [NEW], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error" 8 PASS CORS [NEW], server allows 9 9 PASS CORS [NEW], server refuses 10 FAIL CORS [GET] [x-test-header: allowed], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error" 10 PASS CORS [GET] [x-test-header: allowed], server allows 11 11 PASS CORS [GET] [x-test-header: refused], server refuses 12 FAIL CORS [GET] [several headers], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error" 12 PASS CORS [GET] [several headers], server allows 13 13 PASS CORS [GET] [several headers], server refuses 14 FAIL CORS [PUT] [several headers], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error" 14 PASS CORS [PUT] [several headers], server allows 15 15 PASS CORS [PUT] [several headers], server refuses 16 16 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-referrer-worker-expected.txt
r203408 r203732 1 1 2 Harness Error (TIMEOUT), message = null 2 FAIL Referrer policy: no-referrer promise_test: Unhandled rejection with value: object "TypeError: Type error" 3 FAIL Referrer policy: "" promise_test: Unhandled rejection with value: object "TypeError: Type error" 4 FAIL Referrer policy: origin promise_test: Unhandled rejection with value: object "TypeError: Type error" 5 FAIL Referrer policy: origin-when-cross-origin promise_test: Unhandled rejection with value: object "TypeError: Type error" 6 FAIL Referrer policy: unsafe-url promise_test: Unhandled rejection with value: object "TypeError: Type error" 3 7 4 FAIL Referrer policy: no-referrer assert_equals: Clean stash response's status is 200 expected 200 but got 5005 TIMEOUT Referrer policy: "" Test timed out6 TIMEOUT Referrer policy: origin Test timed out7 TIMEOUT Referrer policy: origin-when-cross-origin Test timed out8 TIMEOUT Referrer policy: unsafe-url Test timed out9 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-worker-expected.txt
r203164 r203732 1 1 2 Harness Error (TIMEOUT), message = null 2 PASS CORS [DELETE], server allows 3 PASS CORS [DELETE], server refuses 4 PASS CORS [PUT], server allows 5 PASS CORS [PUT], server refuses 6 PASS CORS [PATCH], server allows 7 PASS CORS [PATCH], server refuses 8 PASS CORS [NEW], server allows 9 PASS CORS [NEW], server refuses 10 PASS CORS [GET] [x-test-header: allowed], server allows 11 PASS CORS [GET] [x-test-header: refused], server refuses 12 PASS CORS [GET] [several headers], server allows 13 PASS CORS [GET] [several headers], server refuses 14 PASS CORS [PUT] [several headers], server allows 15 PASS CORS [PUT] [several headers], server refuses 3 16 4 FAIL CORS [DELETE], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error"5 TIMEOUT CORS [DELETE], server refuses Test timed out6 TIMEOUT CORS [PUT], server allows Test timed out7 TIMEOUT CORS [PUT], server refuses Test timed out8 TIMEOUT CORS [PATCH], server allows Test timed out9 TIMEOUT CORS [PATCH], server refuses Test timed out10 TIMEOUT CORS [NEW], server allows Test timed out11 TIMEOUT CORS [NEW], server refuses Test timed out12 TIMEOUT CORS [GET] [x-test-header: allowed], server allows Test timed out13 TIMEOUT CORS [GET] [x-test-header: refused], server refuses Test timed out14 TIMEOUT CORS [GET] [several headers], server allows Test timed out15 TIMEOUT CORS [GET] [several headers], server refuses Test timed out16 TIMEOUT CORS [PUT] [several headers], server allows Test timed out17 TIMEOUT CORS [PUT] [several headers], server refuses Test timed out18 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-expected.txt
r202853 r203732 1 1 2 PASS Redirect 301 from same origin to remote with user and password 3 PASS Redirect 301 from same origin to remote with user 4 PASS Redirect 301 from same origin to remote with password 5 PASS Redirect 301 from remote to same origin with user and password 6 PASS Redirect 301 from remote to same origin with user 7 PASS Redirect 301 from remote to same origin with password 8 PASS Redirect 301 from remote to same remote with user and password 9 PASS Redirect 301 from remote to same remote with user 10 PASS Redirect 301 from remote to same remote with password 11 PASS Redirect 301 from remote to another remote with user and password 12 PASS Redirect 301 from remote to another remote with user 13 PASS Redirect 301 from remote to another remote with password 14 PASS Redirect 302 from same origin to remote with user and password 15 PASS Redirect 302 from same origin to remote with user 16 PASS Redirect 302 from same origin to remote with password 17 PASS Redirect 302 from remote to same origin with user and password 18 PASS Redirect 302 from remote to same origin with user 19 PASS Redirect 302 from remote to same origin with password 20 PASS Redirect 302 from remote to same remote with user and password 21 PASS Redirect 302 from remote to same remote with user 22 PASS Redirect 302 from remote to same remote with password 23 PASS Redirect 302 from remote to another remote with user and password 24 PASS Redirect 302 from remote to another remote with user 25 PASS Redirect 302 from remote to another remote with password 26 PASS Redirect 303 from same origin to remote with user and password 27 PASS Redirect 303 from same origin to remote with user 28 PASS Redirect 303 from same origin to remote with password 29 PASS Redirect 303 from remote to same origin with user and password 30 PASS Redirect 303 from remote to same origin with user 31 PASS Redirect 303 from remote to same origin with password 32 PASS Redirect 303 from remote to same remote with user and password 33 PASS Redirect 303 from remote to same remote with user 34 PASS Redirect 303 from remote to same remote with password 35 PASS Redirect 303 from remote to another remote with user and password 36 PASS Redirect 303 from remote to another remote with user 37 PASS Redirect 303 from remote to another remote with password 38 PASS Redirect 307 from same origin to remote with user and password 39 PASS Redirect 307 from same origin to remote with user 40 PASS Redirect 307 from same origin to remote with password 41 PASS Redirect 307 from remote to same origin with user and password 42 PASS Redirect 307 from remote to same origin with user 43 PASS Redirect 307 from remote to same origin with password 44 PASS Redirect 307 from remote to same remote with user and password 45 PASS Redirect 307 from remote to same remote with user 46 PASS Redirect 307 from remote to same remote with password 47 PASS Redirect 307 from remote to another remote with user and password 48 PASS Redirect 307 from remote to another remote with user 49 PASS Redirect 307 from remote to another remote with password 50 PASS Redirect 308 from same origin to remote with user and password 51 PASS Redirect 308 from same origin to remote with user 52 PASS Redirect 308 from same origin to remote with password 53 PASS Redirect 308 from remote to same origin with user and password 54 PASS Redirect 308 from remote to same origin with user 55 PASS Redirect 308 from remote to same origin with password 56 PASS Redirect 308 from remote to same remote with user and password 57 PASS Redirect 308 from remote to same remote with user 58 PASS Redirect 308 from remote to same remote with password 59 PASS Redirect 308 from remote to another remote with user and password 60 PASS Redirect 308 from remote to another remote with user 61 PASS Redirect 308 from remote to another remote with password 2 FAIL Redirect 301 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code 3 FAIL Redirect 301 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code 4 FAIL Redirect 301 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code 5 FAIL Redirect 301 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code 6 FAIL Redirect 301 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code 7 FAIL Redirect 301 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code 8 FAIL Redirect 301 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code 9 FAIL Redirect 301 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code 10 FAIL Redirect 301 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code 11 FAIL Redirect 301 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code 12 FAIL Redirect 301 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code 13 FAIL Redirect 301 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code 14 FAIL Redirect 302 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code 15 FAIL Redirect 302 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code 16 FAIL Redirect 302 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code 17 FAIL Redirect 302 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code 18 FAIL Redirect 302 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code 19 FAIL Redirect 302 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code 20 FAIL Redirect 302 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code 21 FAIL Redirect 302 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code 22 FAIL Redirect 302 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code 23 FAIL Redirect 302 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code 24 FAIL Redirect 302 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code 25 FAIL Redirect 302 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code 26 FAIL Redirect 303 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code 27 FAIL Redirect 303 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code 28 FAIL Redirect 303 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code 29 FAIL Redirect 303 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code 30 FAIL Redirect 303 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code 31 FAIL Redirect 303 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code 32 FAIL Redirect 303 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code 33 FAIL Redirect 303 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code 34 FAIL Redirect 303 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code 35 FAIL Redirect 303 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code 36 FAIL Redirect 303 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code 37 FAIL Redirect 303 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code 38 FAIL Redirect 307 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code 39 FAIL Redirect 307 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code 40 FAIL Redirect 307 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code 41 FAIL Redirect 307 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code 42 FAIL Redirect 307 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code 43 FAIL Redirect 307 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code 44 FAIL Redirect 307 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code 45 FAIL Redirect 307 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code 46 FAIL Redirect 307 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code 47 FAIL Redirect 307 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code 48 FAIL Redirect 307 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code 49 FAIL Redirect 307 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code 50 FAIL Redirect 308 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code 51 FAIL Redirect 308 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code 52 FAIL Redirect 308 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code 53 FAIL Redirect 308 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code 54 FAIL Redirect 308 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code 55 FAIL Redirect 308 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code 56 FAIL Redirect 308 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code 57 FAIL Redirect 308 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code 58 FAIL Redirect 308 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code 59 FAIL Redirect 308 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code 60 FAIL Redirect 308 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code 61 FAIL Redirect 308 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code 62 62 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-worker-expected.txt
r203164 r203732 1 1 2 PASS Redirect 301 from same origin to remote with user and password 3 PASS Redirect 301 from same origin to remote with user 4 PASS Redirect 301 from same origin to remote with password 5 PASS Redirect 301 from remote to same origin with user and password 6 PASS Redirect 301 from remote to same origin with user 7 PASS Redirect 301 from remote to same origin with password 8 PASS Redirect 301 from remote to same remote with user and password 9 PASS Redirect 301 from remote to same remote with user 10 PASS Redirect 301 from remote to same remote with password 11 PASS Redirect 301 from remote to another remote with user and password 12 PASS Redirect 301 from remote to another remote with user 13 PASS Redirect 301 from remote to another remote with password 14 PASS Redirect 302 from same origin to remote with user and password 15 PASS Redirect 302 from same origin to remote with user 16 PASS Redirect 302 from same origin to remote with password 17 PASS Redirect 302 from remote to same origin with user and password 18 PASS Redirect 302 from remote to same origin with user 19 PASS Redirect 302 from remote to same origin with password 20 PASS Redirect 302 from remote to same remote with user and password 21 PASS Redirect 302 from remote to same remote with user 22 PASS Redirect 302 from remote to same remote with password 23 PASS Redirect 302 from remote to another remote with user and password 24 PASS Redirect 302 from remote to another remote with user 25 PASS Redirect 302 from remote to another remote with password 26 PASS Redirect 303 from same origin to remote with user and password 27 PASS Redirect 303 from same origin to remote with user 28 PASS Redirect 303 from same origin to remote with password 29 PASS Redirect 303 from remote to same origin with user and password 30 PASS Redirect 303 from remote to same origin with user 31 PASS Redirect 303 from remote to same origin with password 32 PASS Redirect 303 from remote to same remote with user and password 33 PASS Redirect 303 from remote to same remote with user 34 PASS Redirect 303 from remote to same remote with password 35 PASS Redirect 303 from remote to another remote with user and password 36 PASS Redirect 303 from remote to another remote with user 37 PASS Redirect 303 from remote to another remote with password 38 PASS Redirect 307 from same origin to remote with user and password 39 PASS Redirect 307 from same origin to remote with user 40 PASS Redirect 307 from same origin to remote with password 41 PASS Redirect 307 from remote to same origin with user and password 42 PASS Redirect 307 from remote to same origin with user 43 PASS Redirect 307 from remote to same origin with password 44 PASS Redirect 307 from remote to same remote with user and password 45 PASS Redirect 307 from remote to same remote with user 46 PASS Redirect 307 from remote to same remote with password 47 PASS Redirect 307 from remote to another remote with user and password 48 PASS Redirect 307 from remote to another remote with user 49 PASS Redirect 307 from remote to another remote with password 50 PASS Redirect 308 from same origin to remote with user and password 51 PASS Redirect 308 from same origin to remote with user 52 PASS Redirect 308 from same origin to remote with password 53 PASS Redirect 308 from remote to same origin with user and password 54 PASS Redirect 308 from remote to same origin with user 55 PASS Redirect 308 from remote to same origin with password 56 PASS Redirect 308 from remote to same remote with user and password 57 PASS Redirect 308 from remote to same remote with user 58 PASS Redirect 308 from remote to same remote with password 59 PASS Redirect 308 from remote to another remote with user and password 60 PASS Redirect 308 from remote to another remote with user 61 PASS Redirect 308 from remote to another remote with password 2 FAIL Redirect 301 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code 3 FAIL Redirect 301 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code 4 FAIL Redirect 301 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code 5 FAIL Redirect 301 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code 6 FAIL Redirect 301 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code 7 FAIL Redirect 301 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code 8 FAIL Redirect 301 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code 9 FAIL Redirect 301 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code 10 FAIL Redirect 301 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code 11 FAIL Redirect 301 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code 12 FAIL Redirect 301 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code 13 FAIL Redirect 301 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code 14 FAIL Redirect 302 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code 15 FAIL Redirect 302 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code 16 FAIL Redirect 302 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code 17 FAIL Redirect 302 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code 18 FAIL Redirect 302 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code 19 FAIL Redirect 302 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code 20 FAIL Redirect 302 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code 21 FAIL Redirect 302 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code 22 FAIL Redirect 302 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code 23 FAIL Redirect 302 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code 24 FAIL Redirect 302 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code 25 FAIL Redirect 302 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code 26 FAIL Redirect 303 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code 27 FAIL Redirect 303 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code 28 FAIL Redirect 303 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code 29 FAIL Redirect 303 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code 30 FAIL Redirect 303 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code 31 FAIL Redirect 303 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code 32 FAIL Redirect 303 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code 33 FAIL Redirect 303 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code 34 FAIL Redirect 303 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code 35 FAIL Redirect 303 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code 36 FAIL Redirect 303 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code 37 FAIL Redirect 303 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code 38 FAIL Redirect 307 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code 39 FAIL Redirect 307 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code 40 FAIL Redirect 307 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code 41 FAIL Redirect 307 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code 42 FAIL Redirect 307 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code 43 FAIL Redirect 307 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code 44 FAIL Redirect 307 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code 45 FAIL Redirect 307 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code 46 FAIL Redirect 307 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code 47 FAIL Redirect 307 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code 48 FAIL Redirect 307 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code 49 FAIL Redirect 307 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code 50 FAIL Redirect 308 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code 51 FAIL Redirect 308 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code 52 FAIL Redirect 308 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code 53 FAIL Redirect 308 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code 54 FAIL Redirect 308 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code 55 FAIL Redirect 308 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code 56 FAIL Redirect 308 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code 57 FAIL Redirect 308 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code 58 FAIL Redirect 308 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code 59 FAIL Redirect 308 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code 60 FAIL Redirect 308 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code 61 FAIL Redirect 308 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code 62 62 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/authentication-basic-worker-expected.txt
r203164 r203732 1 localhost:8800 - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet2 localhost:8800 - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet3 localhost:8800 - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet4 1 5 FAIL User-added Authorization header with include mode assert_equals: HTTP status is 200 expected 200 but got 401 6 FAIL User-added Authorization header with same-origin mode assert_equals: HTTP status is 200 expected 200 but got 401 7 FAIL User-added Authorization header with omit mode assert_equals: HTTP status is 200 expected 200 but got 401 2 PASS User-added Authorization header with include mode 3 PASS User-added Authorization header with same-origin mode 4 PASS User-added Authorization header with omit mode 8 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache-expected.txt
r202471 r203732 1 1 2 Harness Error (TIMEOUT), message = null 2 PASS RequestCache "default" mode checks the cache for previously cached content and goes to the network for stale responses with Etag and stale response 3 PASS RequestCache "default" mode checks the cache for previously cached content and goes to the network for stale responses with date and stale response 4 PASS RequestCache "default" mode checks the cache for previously cached content and avoids going to the network if a fresh response exists with Etag and fresh response 5 PASS RequestCache "default" mode checks the cache for previously cached content and avoids going to the network if a fresh response exists with date and fresh response 6 PASS RequestCache "no-cache" mode revalidates stale responses found in the cache with Etag and stale response 7 PASS RequestCache "no-cache" mode revalidates stale responses found in the cache with date and stale response 8 FAIL RequestCache "no-cache" mode revalidates fresh responses found in the cache with Etag and fresh response assert_equals: expected 2 but got 1 9 FAIL RequestCache "no-cache" mode revalidates fresh responses found in the cache with date and fresh response assert_equals: expected 2 but got 1 10 FAIL RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for stale responses with Etag and stale response assert_equals: expected 1 but got 2 11 FAIL RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for stale responses with date and stale response assert_equals: expected 1 but got 2 12 PASS RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for fresh responses with Etag and fresh response 13 PASS RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for fresh responses with date and fresh response 14 PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Etag and stale response 15 PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with date and stale response 16 PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Etag and fresh response 17 PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with date and fresh response 18 PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Etag and stale response 19 PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with date and stale response 20 PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Etag and fresh response 21 PASS RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with date and fresh response 22 PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Etag and stale response 23 PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with date and stale response 24 PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Etag and fresh response 25 PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with date and fresh response 26 FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with Etag and stale response promise_test: Unhandled rejection with value: object "TypeError: Type error" 27 FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with date and stale response promise_test: Unhandled rejection with value: object "TypeError: Type error" 28 FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for fresh responses with Etag and fresh response promise_test: Unhandled rejection with value: object "TypeError: Type error" 29 FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for fresh responses with date and fresh response promise_test: Unhandled rejection with value: object "TypeError: Type error" 30 PASS RequestCache "only-if-cached" mode checks the cache for previously cached content and does not go to the network if a cached response is not found with Etag and fresh response 31 PASS RequestCache "only-if-cached" mode checks the cache for previously cached content and does not go to the network if a cached response is not found with date and fresh response 32 FAIL RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and fresh response promise_test: Unhandled rejection with value: object "TypeError: Type error" 33 FAIL RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with date and fresh response promise_test: Unhandled rejection with value: object "TypeError: Type error" 34 FAIL RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and stale response promise_test: Unhandled rejection with value: object "TypeError: Type error" 35 FAIL RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with date and stale response promise_test: Unhandled rejection with value: object "TypeError: Type error" 36 PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and fresh response 37 PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with date and fresh response 38 PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and stale response 39 PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with date and stale response 40 FAIL RequestCache "no-store" mode does not check the cache for previously cached content and goes to the network regardless with Etag and stale response assert_equals: expected (undefined) undefined but got (string) "\"0.5708867760543104\"" 41 FAIL RequestCache "no-store" mode does not check the cache for previously cached content and goes to the network regardless with date and stale response assert_equals: expected (undefined) undefined but got (string) "Tue, 26 Jul 2016 18:03:51 GMT" 42 FAIL RequestCache "no-store" mode does not check the cache for previously cached content and goes to the network regardless with Etag and fresh response assert_equals: expected 2 but got 1 43 FAIL RequestCache "no-store" mode does not check the cache for previously cached content and goes to the network regardless with date and fresh response assert_equals: expected 2 but got 1 44 FAIL RequestCache "no-store" mode does not store the response in the cache with Etag and stale response assert_equals: expected (undefined) undefined but got (string) "\"0.03236160265570209\"" 45 FAIL RequestCache "no-store" mode does not store the response in the cache with date and stale response assert_equals: expected (undefined) undefined but got (string) "Tue, 26 Jul 2016 18:03:51 GMT" 46 FAIL RequestCache "no-store" mode does not store the response in the cache with Etag and fresh response assert_equals: expected 2 but got 1 47 FAIL RequestCache "no-store" mode does not store the response in the cache with date and fresh response assert_equals: expected 2 but got 1 48 PASS RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with Etag and stale response 49 PASS RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with date and stale response 50 PASS RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with Etag and fresh response 51 PASS RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with date and fresh response 52 PASS RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with Etag and stale response 53 PASS RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with date and stale response 54 FAIL RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with Etag and fresh response assert_equals: expected 2 but got 1 55 PASS RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with date and fresh response 56 PASS RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with Etag and stale response 57 PASS RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with date and stale response 58 PASS RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with Etag and fresh response 59 PASS RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with date and fresh response 60 PASS RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with Etag and stale response 61 PASS RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with date and stale response 62 FAIL RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with Etag and fresh response assert_equals: expected 2 but got 1 63 FAIL RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with date and fresh response assert_equals: expected 2 but got 1 64 PASS RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with Etag and stale response 65 PASS RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with date and stale response 66 PASS RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with Etag and fresh response 67 PASS RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with date and fresh response 68 PASS RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with Etag and stale response 69 PASS RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with date and stale response 70 FAIL RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with Etag and fresh response assert_equals: expected 2 but got 1 71 FAIL RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with date and fresh response assert_equals: expected 2 but got 1 72 PASS RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with Etag and stale response 73 PASS RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with date and stale response 74 PASS RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with Etag and fresh response 75 PASS RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with date and fresh response 76 PASS RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with Etag and stale response 77 PASS RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with date and stale response 78 FAIL RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with Etag and fresh response assert_equals: expected 2 but got 1 79 FAIL RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with date and fresh response assert_equals: expected 2 but got 1 80 PASS RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with Etag and stale response 81 PASS RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with date and stale response 82 PASS RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with Etag and fresh response 83 PASS RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with date and fresh response 84 PASS RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with Etag and stale response 85 PASS RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with date and stale response 86 FAIL RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with Etag and fresh response assert_equals: expected 2 but got 1 87 FAIL RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with date and fresh response assert_equals: expected 2 but got 1 88 PASS Responses with the "Cache-Control: no-store" header are not stored in the cache with Etag and stale response 89 PASS Responses with the "Cache-Control: no-store" header are not stored in the cache with date and stale response 90 PASS Responses with the "Cache-Control: no-store" header are not stored in the cache with Etag and fresh response 91 PASS Responses with the "Cache-Control: no-store" header are not stored in the cache with date and fresh response 92 FAIL RequestCache "reload" mode does not check the cache for previously cached content and goes to the network regardless with Etag and stale response assert_equals: expected (undefined) undefined but got (string) "\"0.32037580965802115\"" 93 FAIL RequestCache "reload" mode does not check the cache for previously cached content and goes to the network regardless with date and stale response assert_equals: expected (undefined) undefined but got (string) "Tue, 26 Jul 2016 18:03:51 GMT" 94 FAIL RequestCache "reload" mode does not check the cache for previously cached content and goes to the network regardless with Etag and fresh response assert_equals: expected 2 but got 1 95 FAIL RequestCache "reload" mode does not check the cache for previously cached content and goes to the network regardless with date and fresh response assert_equals: expected 2 but got 1 96 PASS RequestCache "reload" mode does store the response in the cache with Etag and stale response 97 PASS RequestCache "reload" mode does store the response in the cache with date and stale response 98 PASS RequestCache "reload" mode does store the response in the cache with Etag and fresh response 99 PASS RequestCache "reload" mode does store the response in the cache with date and fresh response 100 FAIL RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with Etag and stale response assert_equals: expected (undefined) undefined but got (string) "\"0.702774010433134\"" 101 FAIL RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with date and stale response assert_equals: expected (undefined) undefined but got (string) "Tue, 26 Jul 2016 18:03:51 GMT" 102 FAIL RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with Etag and fresh response assert_equals: expected 2 but got 1 103 FAIL RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with date and fresh response assert_equals: expected 2 but got 1 3 104 4 FAIL RequestCache "default" mode checks the cache for previously cached content and goes to the network for stale responses with Etag and stale response assert_array_equals: property 0, expected 200 but got 5005 TIMEOUT RequestCache "default" mode checks the cache for previously cached content and goes to the network for stale responses with date and stale response Test timed out6 TIMEOUT RequestCache "default" mode checks the cache for previously cached content and avoids going to the network if a fresh response exists with Etag and fresh response Test timed out7 TIMEOUT RequestCache "default" mode checks the cache for previously cached content and avoids going to the network if a fresh response exists with date and fresh response Test timed out8 TIMEOUT RequestCache "no-cache" mode revalidates stale responses found in the cache with Etag and stale response Test timed out9 TIMEOUT RequestCache "no-cache" mode revalidates stale responses found in the cache with date and stale response Test timed out10 TIMEOUT RequestCache "no-cache" mode revalidates fresh responses found in the cache with Etag and fresh response Test timed out11 TIMEOUT RequestCache "no-cache" mode revalidates fresh responses found in the cache with date and fresh response Test timed out12 TIMEOUT RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for stale responses with Etag and stale response Test timed out13 TIMEOUT RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for stale responses with date and stale response Test timed out14 TIMEOUT RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for fresh responses with Etag and fresh response Test timed out15 TIMEOUT RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for fresh responses with date and fresh response Test timed out16 TIMEOUT RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Etag and stale response Test timed out17 TIMEOUT RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with date and stale response Test timed out18 TIMEOUT RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with Etag and fresh response Test timed out19 TIMEOUT RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response is not found with date and fresh response Test timed out20 TIMEOUT RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Etag and stale response Test timed out21 TIMEOUT RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with date and stale response Test timed out22 TIMEOUT RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with Etag and fresh response Test timed out23 TIMEOUT RequestCache "force-cache" mode checks the cache for previously cached content and goes to the network if a cached response would vary with date and fresh response Test timed out24 TIMEOUT RequestCache "force-cache" stores the response in the cache if it goes to the network with Etag and stale response Test timed out25 TIMEOUT RequestCache "force-cache" stores the response in the cache if it goes to the network with date and stale response Test timed out26 TIMEOUT RequestCache "force-cache" stores the response in the cache if it goes to the network with Etag and fresh response Test timed out27 TIMEOUT RequestCache "force-cache" stores the response in the cache if it goes to the network with date and fresh response Test timed out28 TIMEOUT RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with Etag and stale response Test timed out29 TIMEOUT RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with date and stale response Test timed out30 TIMEOUT RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for fresh responses with Etag and fresh response Test timed out31 TIMEOUT RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for fresh responses with date and fresh response Test timed out32 TIMEOUT RequestCache "only-if-cached" mode checks the cache for previously cached content and does not go to the network if a cached response is not found with Etag and fresh response Test timed out33 TIMEOUT RequestCache "only-if-cached" mode checks the cache for previously cached content and does not go to the network if a cached response is not found with date and fresh response Test timed out34 TIMEOUT RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and fresh response Test timed out35 TIMEOUT RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with date and fresh response Test timed out36 TIMEOUT RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and stale response Test timed out37 TIMEOUT RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with date and stale response Test timed out38 TIMEOUT RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and fresh response Test timed out39 TIMEOUT RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with date and fresh response Test timed out40 TIMEOUT RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and stale response Test timed out41 TIMEOUT RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with date and stale response Test timed out42 TIMEOUT RequestCache "no-store" mode does not check the cache for previously cached content and goes to the network regardless with Etag and stale response Test timed out43 TIMEOUT RequestCache "no-store" mode does not check the cache for previously cached content and goes to the network regardless with date and stale response Test timed out44 TIMEOUT RequestCache "no-store" mode does not check the cache for previously cached content and goes to the network regardless with Etag and fresh response Test timed out45 TIMEOUT RequestCache "no-store" mode does not check the cache for previously cached content and goes to the network regardless with date and fresh response Test timed out46 TIMEOUT RequestCache "no-store" mode does not store the response in the cache with Etag and stale response Test timed out47 TIMEOUT RequestCache "no-store" mode does not store the response in the cache with date and stale response Test timed out48 TIMEOUT RequestCache "no-store" mode does not store the response in the cache with Etag and fresh response Test timed out49 TIMEOUT RequestCache "no-store" mode does not store the response in the cache with date and fresh response Test timed out50 TIMEOUT RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with Etag and stale response Test timed out51 TIMEOUT RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with date and stale response Test timed out52 TIMEOUT RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with Etag and fresh response Test timed out53 TIMEOUT RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with date and fresh response Test timed out54 TIMEOUT RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with Etag and stale response Test timed out55 TIMEOUT RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with date and stale response Test timed out56 TIMEOUT RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with Etag and fresh response Test timed out57 TIMEOUT RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with date and fresh response Test timed out58 TIMEOUT RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with Etag and stale response Test timed out59 TIMEOUT RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with date and stale response Test timed out60 TIMEOUT RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with Etag and fresh response Test timed out61 TIMEOUT RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with date and fresh response Test timed out62 TIMEOUT RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with Etag and stale response Test timed out63 TIMEOUT RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with date and stale response Test timed out64 TIMEOUT RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with Etag and fresh response Test timed out65 TIMEOUT RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with date and fresh response Test timed out66 TIMEOUT RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with Etag and stale response Test timed out67 TIMEOUT RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with date and stale response Test timed out68 TIMEOUT RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with Etag and fresh response Test timed out69 TIMEOUT RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with date and fresh response Test timed out70 TIMEOUT RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with Etag and stale response Test timed out71 TIMEOUT RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with date and stale response Test timed out72 TIMEOUT RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with Etag and fresh response Test timed out73 TIMEOUT RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with date and fresh response Test timed out74 TIMEOUT RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with Etag and stale response Test timed out75 TIMEOUT RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with date and stale response Test timed out76 TIMEOUT RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with Etag and fresh response Test timed out77 TIMEOUT RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with date and fresh response Test timed out78 TIMEOUT RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with Etag and stale response Test timed out79 TIMEOUT RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with date and stale response Test timed out80 TIMEOUT RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with Etag and fresh response Test timed out81 TIMEOUT RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with date and fresh response Test timed out82 TIMEOUT RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with Etag and stale response Test timed out83 TIMEOUT RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with date and stale response Test timed out84 TIMEOUT RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with Etag and fresh response Test timed out85 TIMEOUT RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with date and fresh response Test timed out86 TIMEOUT RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with Etag and stale response Test timed out87 TIMEOUT RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with date and stale response Test timed out88 TIMEOUT RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with Etag and fresh response Test timed out89 TIMEOUT RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with date and fresh response Test timed out90 TIMEOUT Responses with the "Cache-Control: no-store" header are not stored in the cache with Etag and stale response Test timed out91 TIMEOUT Responses with the "Cache-Control: no-store" header are not stored in the cache with date and stale response Test timed out92 TIMEOUT Responses with the "Cache-Control: no-store" header are not stored in the cache with Etag and fresh response Test timed out93 TIMEOUT Responses with the "Cache-Control: no-store" header are not stored in the cache with date and fresh response Test timed out94 TIMEOUT RequestCache "reload" mode does not check the cache for previously cached content and goes to the network regardless with Etag and stale response Test timed out95 TIMEOUT RequestCache "reload" mode does not check the cache for previously cached content and goes to the network regardless with date and stale response Test timed out96 TIMEOUT RequestCache "reload" mode does not check the cache for previously cached content and goes to the network regardless with Etag and fresh response Test timed out97 TIMEOUT RequestCache "reload" mode does not check the cache for previously cached content and goes to the network regardless with date and fresh response Test timed out98 TIMEOUT RequestCache "reload" mode does store the response in the cache with Etag and stale response Test timed out99 TIMEOUT RequestCache "reload" mode does store the response in the cache with date and stale response Test timed out100 TIMEOUT RequestCache "reload" mode does store the response in the cache with Etag and fresh response Test timed out101 TIMEOUT RequestCache "reload" mode does store the response in the cache with date and fresh response Test timed out102 TIMEOUT RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with Etag and stale response Test timed out103 TIMEOUT RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with date and stale response Test timed out104 TIMEOUT RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with Etag and fresh response Test timed out105 TIMEOUT RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with date and fresh response Test timed out106 -
trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt
r203731 r203732 3 3 PASS Fetch http://localhost:8800/fetch/api/resources/top.txt with no-cors mode 4 4 FAIL Fetch https://localhost:9443/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error" 5 FAIL Fetch http://localhost:8801/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error"5 FAIL Fetch http://localhost:8801/fetch/api/resources/top.txt with no-cors mode assert_equals: Opaque filter: status is 0 expected 0 but got 200 6 6 -
trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt
r203731 r203732 3 3 PASS Fetch http://localhost:8800/fetch/api/resources/top.txt with no-cors mode 4 4 FAIL Fetch https://localhost:9443/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error" 5 FAIL Fetch http://localhost:8801/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error"5 FAIL Fetch http://localhost:8801/fetch/api/resources/top.txt with no-cors mode assert_equals: Opaque filter: status is 0 expected 0 but got 200 6 6 -
trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt
r203731 r203732 1 1 2 FAIL Same domain different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"2 FAIL Same domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 3 3 PASS Same domain different port [server forbid CORS] 4 FAIL Same domain different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"4 FAIL Same domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 5 5 FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" 6 6 PASS Same domain different protocol different port [server forbid CORS] 7 7 FAIL Same domain different protocol different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" 8 FAIL Cross domain basic usage [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"8 FAIL Cross domain basic usage [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 9 9 PASS Cross domain basic usage [server forbid CORS] 10 FAIL Cross domain basic usage [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"11 FAIL Cross domain different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"10 FAIL Cross domain basic usage [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 11 FAIL Cross domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 12 12 PASS Cross domain different port [server forbid CORS] 13 FAIL Cross domain different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"13 FAIL Cross domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 14 14 FAIL Cross domain different protocol [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" 15 15 PASS Cross domain different protocol [server forbid CORS] -
trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt
r203731 r203732 1 1 2 FAIL Same domain different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"2 FAIL Same domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 3 3 PASS Same domain different port [server forbid CORS] 4 FAIL Same domain different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"4 FAIL Same domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 5 5 FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" 6 6 PASS Same domain different protocol different port [server forbid CORS] 7 7 FAIL Same domain different protocol different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" 8 FAIL Cross domain basic usage [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"8 FAIL Cross domain basic usage [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 9 9 PASS Cross domain basic usage [server forbid CORS] 10 FAIL Cross domain basic usage [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"11 FAIL Cross domain different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"10 FAIL Cross domain basic usage [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 11 FAIL Cross domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 12 12 PASS Cross domain different port [server forbid CORS] 13 FAIL Cross domain different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"13 FAIL Cross domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 14 14 FAIL Cross domain different protocol [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" 15 15 PASS Cross domain different protocol [server forbid CORS] -
trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt
r203731 r203732 3 3 PASS Fetch http://localhost:8800/fetch/api/resources/top.txt with no-cors mode 4 4 FAIL Fetch https://localhost:9443/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error" 5 FAIL Fetch http://localhost:8801/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error"5 FAIL Fetch http://localhost:8801/fetch/api/resources/top.txt with no-cors mode assert_equals: Opaque filter: status is 0 expected 0 but got 200 6 6 -
trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt
r203731 r203732 3 3 PASS Fetch http://localhost:8800/fetch/api/resources/top.txt with no-cors mode 4 4 FAIL Fetch https://localhost:9443/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error" 5 FAIL Fetch http://localhost:8801/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error"5 FAIL Fetch http://localhost:8801/fetch/api/resources/top.txt with no-cors mode assert_equals: Opaque filter: status is 0 expected 0 but got 200 6 6 -
trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt
r203731 r203732 1 1 2 FAIL Same domain different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"2 FAIL Same domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 3 3 PASS Same domain different port [server forbid CORS] 4 FAIL Same domain different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"4 FAIL Same domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 5 5 FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" 6 6 PASS Same domain different protocol different port [server forbid CORS] 7 7 FAIL Same domain different protocol different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" 8 FAIL Cross domain basic usage [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"8 FAIL Cross domain basic usage [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 9 9 PASS Cross domain basic usage [server forbid CORS] 10 FAIL Cross domain basic usage [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"11 FAIL Cross domain different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"10 FAIL Cross domain basic usage [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 11 FAIL Cross domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 12 12 PASS Cross domain different port [server forbid CORS] 13 FAIL Cross domain different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"13 FAIL Cross domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 14 14 FAIL Cross domain different protocol [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" 15 15 PASS Cross domain different protocol [server forbid CORS] -
trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt
r203731 r203732 1 1 2 FAIL Same domain different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"2 FAIL Same domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 3 3 PASS Same domain different port [server forbid CORS] 4 FAIL Same domain different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"4 FAIL Same domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 5 5 FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" 6 6 PASS Same domain different protocol different port [server forbid CORS] 7 7 FAIL Same domain different protocol different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" 8 FAIL Cross domain basic usage [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"8 FAIL Cross domain basic usage [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 9 9 PASS Cross domain basic usage [server forbid CORS] 10 FAIL Cross domain basic usage [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"11 FAIL Cross domain different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"10 FAIL Cross domain basic usage [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 11 FAIL Cross domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 12 12 PASS Cross domain different port [server forbid CORS] 13 FAIL Cross domain different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"13 FAIL Cross domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" 14 14 FAIL Cross domain different protocol [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" 15 15 PASS Cross domain different protocol [server forbid CORS] -
trunk/Source/WebCore/ChangeLog
r203731 r203732 1 2016-07-26 Youenn Fablet <youenn@apple.com> 2 3 [Fetch API] Add support for fetch mode, in particular cors 4 https://bugs.webkit.org/show_bug.cgi?id=156753 5 6 Reviewed by Darin Adler. 7 8 Covered by rebased tests. 9 10 * Modules/fetch/FetchLoader.cpp: 11 (WebCore::FetchLoader::start): Passing fetch mode to ThreadableLoader. 12 Disabling as a temp fix credentials in case of CORS mode as credential options is not yet supported and would make several tests fail. 13 1 14 2016-07-26 Chris Dumez <cdumez@apple.com> 2 15 -
trunk/Source/WebCore/Modules/fetch/FetchLoader.cpp
r203726 r203732 84 84 // FIXME: Pass directly all fetch options to loader options. 85 85 options.redirect = request.fetchOptions().redirect; 86 options.mode = FetchOptions::Mode::SameOrigin; 86 options.mode = request.fetchOptions().mode; 87 if (options.mode == FetchOptions::Mode::Cors) 88 options.setAllowCredentials(DoNotAllowStoredCredentials); 87 89 88 90 m_loader = ThreadableLoader::create(&context, this, request.internalRequest(), options);
Note: See TracChangeset
for help on using the changeset viewer.