WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
Patch for landing
bug-156753-20160726214745.patch (text/plain), 105.08 KB, created by
youenn fablet
on 2016-07-26 12:48:57 PDT
(
hide
)
Description:
Patch for landing
Filename:
MIME Type:
Creator:
youenn fablet
Created:
2016-07-26 12:48:57 PDT
Size:
105.08 KB
patch
obsolete
>Subversion Revision: 203727 >diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog >index f04125af899accea3ce23d7feb90951b5ff1fa8c..8201e26b42e7d5499f0214812de8685a7cbe0974 100644 >--- a/Source/WebCore/ChangeLog >+++ b/Source/WebCore/ChangeLog >@@ -1,3 +1,16 @@ >+2016-07-26 Youenn Fablet <youenn@apple.com> >+ >+ [Fetch API] Add support for fetch mode, in particular cors >+ https://bugs.webkit.org/show_bug.cgi?id=156753 >+ >+ Reviewed by Darin Adler. >+ >+ Covered by rebased tests. >+ >+ * Modules/fetch/FetchLoader.cpp: >+ (WebCore::FetchLoader::start): Passing fetch mode to ThreadableLoader. >+ Disabling as a temp fix credentials in case of CORS mode as credential options is not yet supported and would make several tests fail. >+ > 2016-07-26 Commit Queue <commit-queue@webkit.org> > > Unreviewed, rolling out r203719. >diff --git a/Source/WebCore/Modules/fetch/FetchLoader.cpp b/Source/WebCore/Modules/fetch/FetchLoader.cpp >index 1b23f049e67b4671c1e16a689e1db2b44ad13f80..4d7b2ccbd449eaca0f2e8a1bfb33dedd16122b3a 100644 >--- a/Source/WebCore/Modules/fetch/FetchLoader.cpp >+++ b/Source/WebCore/Modules/fetch/FetchLoader.cpp >@@ -83,7 +83,9 @@ void FetchLoader::start(ScriptExecutionContext& context, const FetchRequest& req > > // FIXME: Pass directly all fetch options to loader options. > options.redirect = request.fetchOptions().redirect; >- options.mode = FetchOptions::Mode::SameOrigin; >+ options.mode = request.fetchOptions().mode; >+ if (options.mode == FetchOptions::Mode::Cors) >+ options.setAllowCredentials(DoNotAllowStoredCredentials); > > m_loader = ThreadableLoader::create(&context, this, request.internalRequest(), options); > m_isStarted = m_loader; >diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog >index 38658ede8b1d39360f4c16d2b2000131ce95413c..c79a36b24bba5e8e5c060c752e3dbf7e9284c24e 100644 >--- a/LayoutTests/ChangeLog >+++ b/LayoutTests/ChangeLog >@@ -1,3 +1,21 @@ >+2016-07-26 Youenn Fablet <youenn@apple.com> >+ >+ [Fetch API] Add support for fetch mode, in particular cors >+ https://bugs.webkit.org/show_bug.cgi?id=156753 >+ >+ Reviewed by Darin Adler. >+ >+ Rebasing specific expectations as Maci/iOS WK2 does not like https tests. >+ >+ * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt: Added. >+ * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt: Added. >+ * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt: Added. >+ * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt: Added. >+ * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt: Added. >+ * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt: Added. >+ * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt: Added. >+ * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt: Added. >+ > 2016-07-26 John Wilander <wilander@apple.com> > > Stop supporting compressed character sets BOCU-1 and SCSU >diff --git a/LayoutTests/imported/w3c/ChangeLog b/LayoutTests/imported/w3c/ChangeLog >index cc489c9d17d92f4aebbfe204a61705f735889341..df7e7b1aa3952e9c490c78ecd932287a2e8b535f 100644 >--- a/LayoutTests/imported/w3c/ChangeLog >+++ b/LayoutTests/imported/w3c/ChangeLog >@@ -1,3 +1,32 @@ >+2016-07-26 Youenn Fablet <youenn@apple.com> >+ >+ [Fetch API] Add support for fetch mode, in particular cors >+ https://bugs.webkit.org/show_bug.cgi?id=156753 >+ >+ Reviewed by Darin Adler. >+ >+ Rebasing tests. >+ >+ * web-platform-tests/fetch/api/basic/integrity-expected.txt: >+ * web-platform-tests/fetch/api/basic/integrity-worker-expected.txt: >+ * web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt: >+ * web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt: >+ * web-platform-tests/fetch/api/cors/cors-basic-expected.txt: >+ * web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt: >+ * web-platform-tests/fetch/api/cors/cors-cookies-expected.txt: >+ * web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt: >+ * web-platform-tests/fetch/api/cors/cors-filtering-expected.txt: >+ * web-platform-tests/fetch/api/cors/cors-filtering-worker-expected.txt: >+ * web-platform-tests/fetch/api/cors/cors-multiple-origins-expected.txt: >+ * web-platform-tests/fetch/api/cors/cors-multiple-origins-worker-expected.txt: >+ * web-platform-tests/fetch/api/cors/cors-preflight-expected.txt: >+ * web-platform-tests/fetch/api/cors/cors-preflight-referrer-worker-expected.txt: >+ * web-platform-tests/fetch/api/cors/cors-preflight-worker-expected.txt: >+ * web-platform-tests/fetch/api/cors/cors-redirect-credentials-expected.txt: >+ * web-platform-tests/fetch/api/cors/cors-redirect-credentials-worker-expected.txt: >+ * web-platform-tests/fetch/api/credentials/authentication-basic-worker-expected.txt: >+ * web-platform-tests/fetch/api/request/request-cache-expected.txt: >+ > 2016-07-26 Commit Queue <commit-queue@webkit.org> > > Unreviewed, rolling out r203719. >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-expected.txt >index c2dadd1f09b38804c1ccca459800b494cdc5b3db..63271047e34e5ee8294841e1b0f956e1e60921d3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-expected.txt >@@ -9,7 +9,7 @@ FAIL Multiple integrities: invalid stronger than valid assert_unreached: Should > PASS Multiple integrities: invalid as strong as valid > PASS Multiple integrities: both are valid > FAIL Multiple integrities: both are invalid assert_unreached: Should have rejected. Reached unreachable code >-FAIL CORS empty integrity promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS SHA-512 integrity promise_test: Unhandled rejection with value: object "TypeError: Type error" >-PASS CORS invalid integrity >+PASS CORS empty integrity >+PASS CORS SHA-512 integrity >+FAIL CORS invalid integrity assert_unreached: Should have rejected. Reached unreachable code > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-worker-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-worker-expected.txt >index c2dadd1f09b38804c1ccca459800b494cdc5b3db..63271047e34e5ee8294841e1b0f956e1e60921d3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-worker-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-worker-expected.txt >@@ -9,7 +9,7 @@ FAIL Multiple integrities: invalid stronger than valid assert_unreached: Should > PASS Multiple integrities: invalid as strong as valid > PASS Multiple integrities: both are valid > FAIL Multiple integrities: both are invalid assert_unreached: Should have rejected. Reached unreachable code >-FAIL CORS empty integrity promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS SHA-512 integrity promise_test: Unhandled rejection with value: object "TypeError: Type error" >-PASS CORS invalid integrity >+PASS CORS empty integrity >+PASS CORS SHA-512 integrity >+FAIL CORS invalid integrity assert_unreached: Should have rejected. Reached unreachable code > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt >index 174c99ac85337d4e6b0528cdceae664458be6e29..121ebe04e81fab16b8c29e804ead5d4ce25ba710 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt >@@ -1,6 +1,6 @@ > > PASS Fetch ../resources/top.txt with no-cors mode > PASS Fetch http://localhost:8800/fetch/api/resources/top.txt with no-cors mode >-FAIL Fetch https://localhost:9443/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL Fetch http://localhost:8801/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error" >+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 >+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 > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt >index 174c99ac85337d4e6b0528cdceae664458be6e29..121ebe04e81fab16b8c29e804ead5d4ce25ba710 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt >@@ -1,6 +1,6 @@ > > PASS Fetch ../resources/top.txt with no-cors mode > PASS Fetch http://localhost:8800/fetch/api/resources/top.txt with no-cors mode >-FAIL Fetch https://localhost:9443/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL Fetch http://localhost:8801/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error" >+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 >+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 > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt >index 4ed70a9ad1f5412fbd6cc8d5d904879213ad4fb9..ed0d2e07f00ebe5046f7997e0fd1e39f1d20d060 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt >@@ -1,17 +1,17 @@ > >-FAIL Same domain different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Same domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 > PASS Same domain different port [server forbid CORS] >-FAIL Same domain different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Same domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" >+FAIL Same domain different protocol different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 > PASS Same domain different protocol different port [server forbid CORS] >-FAIL Same domain different protocol different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL Cross domain basic usage [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Same domain different protocol different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" >+FAIL Cross domain basic usage [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 > PASS Cross domain basic usage [server forbid CORS] >-FAIL Cross domain basic usage [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL Cross domain different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Cross domain basic usage [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" >+FAIL Cross domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 > PASS Cross domain different port [server forbid CORS] >-FAIL Cross domain different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL Cross domain different protocol [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Cross domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" >+FAIL Cross domain different protocol [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 > PASS Cross domain different protocol [server forbid CORS] >-FAIL Cross domain different protocol [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Cross domain different protocol [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt >index 4ed70a9ad1f5412fbd6cc8d5d904879213ad4fb9..a8a822a25bab851ea8b6e38f77a61e86fc82c537 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt >@@ -1,16 +1,16 @@ > >-FAIL Same domain different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Same domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 > PASS Same domain different port [server forbid CORS] >-FAIL Same domain different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Same domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" > FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" > PASS Same domain different protocol different port [server forbid CORS] > FAIL Same domain different protocol different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL Cross domain basic usage [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Cross domain basic usage [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 > PASS Cross domain basic usage [server forbid CORS] >-FAIL Cross domain basic usage [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL Cross domain different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Cross domain basic usage [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" >+FAIL Cross domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 > PASS Cross domain different port [server forbid CORS] >-FAIL Cross domain different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Cross domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" > FAIL Cross domain different protocol [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" > PASS Cross domain different protocol [server forbid CORS] > FAIL Cross domain different protocol [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-expected.txt >index d454a40d1cb5bfc741c4197a7459abbcda461ec3..4637a322659548f818682347e6dc45a363d19aec 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-expected.txt >@@ -1,8 +1,8 @@ > > FAIL Omit mode: no cookie sent assert_false: Request should have no cookie expected false got true >-FAIL Include mode: 1 cookie promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL Include mode: local cookies are not sent with remote request promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL Include mode: remote cookies are not sent with local request promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL Same-origin mode: cookies are discarded in cors request promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Include mode: 1 cookie assert_equals: Request includes cookie(s) expected (string) "a=1" but got (object) null >+PASS Include mode: local cookies are not sent with remote request >+PASS Include mode: remote cookies are not sent with local request >+PASS Same-origin mode: cookies are discarded in cors request > FAIL Include mode: remote cookies are not sent with other remote request promise_test: Unhandled rejection with value: object "TypeError: Type error" > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt >index d454a40d1cb5bfc741c4197a7459abbcda461ec3..4637a322659548f818682347e6dc45a363d19aec 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt >@@ -1,8 +1,8 @@ > > FAIL Omit mode: no cookie sent assert_false: Request should have no cookie expected false got true >-FAIL Include mode: 1 cookie promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL Include mode: local cookies are not sent with remote request promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL Include mode: remote cookies are not sent with local request promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL Same-origin mode: cookies are discarded in cors request promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Include mode: 1 cookie assert_equals: Request includes cookie(s) expected (string) "a=1" but got (object) null >+PASS Include mode: local cookies are not sent with remote request >+PASS Include mode: remote cookies are not sent with local request >+PASS Same-origin mode: cookies are discarded in cors request > FAIL Include mode: remote cookies are not sent with other remote request promise_test: Unhandled rejection with value: object "TypeError: Type error" > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering-expected.txt >index eb72fb3afe4096c0f8e1bfa186626eaff235d99c..58083e455784d2e989ad8ad593dc65440ec64b2c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering-expected.txt >@@ -1,20 +1,20 @@ > >-FAIL CORS filter on Cache-Control header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Content-Language header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Content-Type header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Expires header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Last-Modified header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Pragma header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Age header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Server header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Warning header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Content-Length header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Set-Cookie header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Set-Cookie2 header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Age header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Server header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Warning header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Content-Length header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Set-Cookie header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Set-Cookie2 header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL CORS filter on Cache-Control header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Content-Language header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Content-Type header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Expires header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Last-Modified header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Pragma header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Age header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Server header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Warning header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Content-Length header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Set-Cookie header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Set-Cookie2 header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Age header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Server header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Warning header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Content-Length header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Set-Cookie header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Set-Cookie2 header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering-worker-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering-worker-expected.txt >index eb72fb3afe4096c0f8e1bfa186626eaff235d99c..58083e455784d2e989ad8ad593dc65440ec64b2c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering-worker-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering-worker-expected.txt >@@ -1,20 +1,20 @@ > >-FAIL CORS filter on Cache-Control header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Content-Language header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Content-Type header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Expires header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Last-Modified header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Pragma header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Age header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Server header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Warning header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Content-Length header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Set-Cookie header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Set-Cookie2 header promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Age header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Server header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Warning header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Content-Length header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Set-Cookie header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL CORS filter on Set-Cookie2 header, header is exposed promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL CORS filter on Cache-Control header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Content-Language header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Content-Type header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Expires header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Last-Modified header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Pragma header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Age header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Server header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Warning header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Content-Length header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Set-Cookie header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Set-Cookie2 header assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Age header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Server header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Warning header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Content-Length header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Set-Cookie header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" >+FAIL CORS filter on Set-Cookie2 header, header is exposed assert_equals: CORS fetch's response has cors type expected "cors" but got "basic" > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-multiple-origins-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-multiple-origins-expected.txt >index baab98eb3a9592955d19b2e285481da1768a5d85..96ec5281b1fa0bc6b23af2138b0cf0126ef4d041 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-multiple-origins-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-multiple-origins-expected.txt >@@ -1,8 +1,8 @@ > >-FAIL 3 origins allowed, match the 3rd (http://localhost:8800) promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL 3 origins allowed, match the 3rd ("*") promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL 3 origins allowed, match twice (http://localhost:8800) promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL 3 origins allowed, match twice ("*") promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL 3 origins allowed, match twice ("*" and http://localhost:8800) promise_test: Unhandled rejection with value: object "TypeError: Type error" >+PASS 3 origins allowed, match the 3rd (http://localhost:8800) >+PASS 3 origins allowed, match the 3rd ("*") >+PASS 3 origins allowed, match twice (http://localhost:8800) >+PASS 3 origins allowed, match twice ("*") >+PASS 3 origins allowed, match twice ("*" and http://localhost:8800) > PASS 3 origins allowed, no match > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-multiple-origins-worker-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-multiple-origins-worker-expected.txt >index baab98eb3a9592955d19b2e285481da1768a5d85..96ec5281b1fa0bc6b23af2138b0cf0126ef4d041 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-multiple-origins-worker-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-multiple-origins-worker-expected.txt >@@ -1,8 +1,8 @@ > >-FAIL 3 origins allowed, match the 3rd (http://localhost:8800) promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL 3 origins allowed, match the 3rd ("*") promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL 3 origins allowed, match twice (http://localhost:8800) promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL 3 origins allowed, match twice ("*") promise_test: Unhandled rejection with value: object "TypeError: Type error" >-FAIL 3 origins allowed, match twice ("*" and http://localhost:8800) promise_test: Unhandled rejection with value: object "TypeError: Type error" >+PASS 3 origins allowed, match the 3rd (http://localhost:8800) >+PASS 3 origins allowed, match the 3rd ("*") >+PASS 3 origins allowed, match twice (http://localhost:8800) >+PASS 3 origins allowed, match twice ("*") >+PASS 3 origins allowed, match twice ("*" and http://localhost:8800) > PASS 3 origins allowed, no match > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-expected.txt >index 58cc590b85aa29bd3867e3c21dd9655653706893..fa38e98ce93438c19276d9cd407ddff7bfa06901 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-expected.txt >@@ -1,16 +1,16 @@ > >-FAIL CORS [DELETE], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error" >+PASS CORS [DELETE], server allows > PASS CORS [DELETE], server refuses >-FAIL CORS [PUT], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error" >+PASS CORS [PUT], server allows > PASS CORS [PUT], server refuses >-FAIL CORS [PATCH], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error" >+PASS CORS [PATCH], server allows > PASS CORS [PATCH], server refuses >-FAIL CORS [NEW], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error" >+PASS CORS [NEW], server allows > PASS CORS [NEW], server refuses >-FAIL CORS [GET] [x-test-header: allowed], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error" >+PASS CORS [GET] [x-test-header: allowed], server allows > PASS CORS [GET] [x-test-header: refused], server refuses >-FAIL CORS [GET] [several headers], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error" >+PASS CORS [GET] [several headers], server allows > PASS CORS [GET] [several headers], server refuses >-FAIL CORS [PUT] [several headers], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error" >+PASS CORS [PUT] [several headers], server allows > PASS CORS [PUT] [several headers], server refuses > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-referrer-worker-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-referrer-worker-expected.txt >index 2a2344ed93be1018755610e654a623127ef60037..9d69ac93e940e4ac4efc4c59c051148fc0ae7a55 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-referrer-worker-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-referrer-worker-expected.txt >@@ -1,9 +1,7 @@ > >-Harness Error (TIMEOUT), message = null >- >-FAIL Referrer policy: no-referrer assert_equals: Clean stash response's status is 200 expected 200 but got 500 >-TIMEOUT Referrer policy: "" Test timed out >-TIMEOUT Referrer policy: origin Test timed out >-TIMEOUT Referrer policy: origin-when-cross-origin Test timed out >-TIMEOUT Referrer policy: unsafe-url Test timed out >+FAIL Referrer policy: no-referrer promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Referrer policy: "" promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Referrer policy: origin promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Referrer policy: origin-when-cross-origin promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Referrer policy: unsafe-url promise_test: Unhandled rejection with value: object "TypeError: Type error" > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-worker-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-worker-expected.txt >index bdbd48169ca49a3dff402378f7ff7e7555a462e9..fa38e98ce93438c19276d9cd407ddff7bfa06901 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-worker-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-worker-expected.txt >@@ -1,18 +1,16 @@ > >-Harness Error (TIMEOUT), message = null >- >-FAIL CORS [DELETE], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error" >-TIMEOUT CORS [DELETE], server refuses Test timed out >-TIMEOUT CORS [PUT], server allows Test timed out >-TIMEOUT CORS [PUT], server refuses Test timed out >-TIMEOUT CORS [PATCH], server allows Test timed out >-TIMEOUT CORS [PATCH], server refuses Test timed out >-TIMEOUT CORS [NEW], server allows Test timed out >-TIMEOUT CORS [NEW], server refuses Test timed out >-TIMEOUT CORS [GET] [x-test-header: allowed], server allows Test timed out >-TIMEOUT CORS [GET] [x-test-header: refused], server refuses Test timed out >-TIMEOUT CORS [GET] [several headers], server allows Test timed out >-TIMEOUT CORS [GET] [several headers], server refuses Test timed out >-TIMEOUT CORS [PUT] [several headers], server allows Test timed out >-TIMEOUT CORS [PUT] [several headers], server refuses Test timed out >+PASS CORS [DELETE], server allows >+PASS CORS [DELETE], server refuses >+PASS CORS [PUT], server allows >+PASS CORS [PUT], server refuses >+PASS CORS [PATCH], server allows >+PASS CORS [PATCH], server refuses >+PASS CORS [NEW], server allows >+PASS CORS [NEW], server refuses >+PASS CORS [GET] [x-test-header: allowed], server allows >+PASS CORS [GET] [x-test-header: refused], server refuses >+PASS CORS [GET] [several headers], server allows >+PASS CORS [GET] [several headers], server refuses >+PASS CORS [PUT] [several headers], server allows >+PASS CORS [PUT] [several headers], server refuses > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-expected.txt >index 4b712119eeb23f2f6517423a0bd39471795247c2..8eae826c02c7632db95f2f90f26b5923d04be327 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-expected.txt >@@ -1,62 +1,62 @@ > >-PASS Redirect 301 from same origin to remote with user and password >-PASS Redirect 301 from same origin to remote with user >-PASS Redirect 301 from same origin to remote with password >-PASS Redirect 301 from remote to same origin with user and password >-PASS Redirect 301 from remote to same origin with user >-PASS Redirect 301 from remote to same origin with password >-PASS Redirect 301 from remote to same remote with user and password >-PASS Redirect 301 from remote to same remote with user >-PASS Redirect 301 from remote to same remote with password >-PASS Redirect 301 from remote to another remote with user and password >-PASS Redirect 301 from remote to another remote with user >-PASS Redirect 301 from remote to another remote with password >-PASS Redirect 302 from same origin to remote with user and password >-PASS Redirect 302 from same origin to remote with user >-PASS Redirect 302 from same origin to remote with password >-PASS Redirect 302 from remote to same origin with user and password >-PASS Redirect 302 from remote to same origin with user >-PASS Redirect 302 from remote to same origin with password >-PASS Redirect 302 from remote to same remote with user and password >-PASS Redirect 302 from remote to same remote with user >-PASS Redirect 302 from remote to same remote with password >-PASS Redirect 302 from remote to another remote with user and password >-PASS Redirect 302 from remote to another remote with user >-PASS Redirect 302 from remote to another remote with password >-PASS Redirect 303 from same origin to remote with user and password >-PASS Redirect 303 from same origin to remote with user >-PASS Redirect 303 from same origin to remote with password >-PASS Redirect 303 from remote to same origin with user and password >-PASS Redirect 303 from remote to same origin with user >-PASS Redirect 303 from remote to same origin with password >-PASS Redirect 303 from remote to same remote with user and password >-PASS Redirect 303 from remote to same remote with user >-PASS Redirect 303 from remote to same remote with password >-PASS Redirect 303 from remote to another remote with user and password >-PASS Redirect 303 from remote to another remote with user >-PASS Redirect 303 from remote to another remote with password >-PASS Redirect 307 from same origin to remote with user and password >-PASS Redirect 307 from same origin to remote with user >-PASS Redirect 307 from same origin to remote with password >-PASS Redirect 307 from remote to same origin with user and password >-PASS Redirect 307 from remote to same origin with user >-PASS Redirect 307 from remote to same origin with password >-PASS Redirect 307 from remote to same remote with user and password >-PASS Redirect 307 from remote to same remote with user >-PASS Redirect 307 from remote to same remote with password >-PASS Redirect 307 from remote to another remote with user and password >-PASS Redirect 307 from remote to another remote with user >-PASS Redirect 307 from remote to another remote with password >-PASS Redirect 308 from same origin to remote with user and password >-PASS Redirect 308 from same origin to remote with user >-PASS Redirect 308 from same origin to remote with password >-PASS Redirect 308 from remote to same origin with user and password >-PASS Redirect 308 from remote to same origin with user >-PASS Redirect 308 from remote to same origin with password >-PASS Redirect 308 from remote to same remote with user and password >-PASS Redirect 308 from remote to same remote with user >-PASS Redirect 308 from remote to same remote with password >-PASS Redirect 308 from remote to another remote with user and password >-PASS Redirect 308 from remote to another remote with user >-PASS Redirect 308 from remote to another remote with password >+FAIL Redirect 301 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-worker-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-worker-expected.txt >index 4b712119eeb23f2f6517423a0bd39471795247c2..8eae826c02c7632db95f2f90f26b5923d04be327 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-worker-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-worker-expected.txt >@@ -1,62 +1,62 @@ > >-PASS Redirect 301 from same origin to remote with user and password >-PASS Redirect 301 from same origin to remote with user >-PASS Redirect 301 from same origin to remote with password >-PASS Redirect 301 from remote to same origin with user and password >-PASS Redirect 301 from remote to same origin with user >-PASS Redirect 301 from remote to same origin with password >-PASS Redirect 301 from remote to same remote with user and password >-PASS Redirect 301 from remote to same remote with user >-PASS Redirect 301 from remote to same remote with password >-PASS Redirect 301 from remote to another remote with user and password >-PASS Redirect 301 from remote to another remote with user >-PASS Redirect 301 from remote to another remote with password >-PASS Redirect 302 from same origin to remote with user and password >-PASS Redirect 302 from same origin to remote with user >-PASS Redirect 302 from same origin to remote with password >-PASS Redirect 302 from remote to same origin with user and password >-PASS Redirect 302 from remote to same origin with user >-PASS Redirect 302 from remote to same origin with password >-PASS Redirect 302 from remote to same remote with user and password >-PASS Redirect 302 from remote to same remote with user >-PASS Redirect 302 from remote to same remote with password >-PASS Redirect 302 from remote to another remote with user and password >-PASS Redirect 302 from remote to another remote with user >-PASS Redirect 302 from remote to another remote with password >-PASS Redirect 303 from same origin to remote with user and password >-PASS Redirect 303 from same origin to remote with user >-PASS Redirect 303 from same origin to remote with password >-PASS Redirect 303 from remote to same origin with user and password >-PASS Redirect 303 from remote to same origin with user >-PASS Redirect 303 from remote to same origin with password >-PASS Redirect 303 from remote to same remote with user and password >-PASS Redirect 303 from remote to same remote with user >-PASS Redirect 303 from remote to same remote with password >-PASS Redirect 303 from remote to another remote with user and password >-PASS Redirect 303 from remote to another remote with user >-PASS Redirect 303 from remote to another remote with password >-PASS Redirect 307 from same origin to remote with user and password >-PASS Redirect 307 from same origin to remote with user >-PASS Redirect 307 from same origin to remote with password >-PASS Redirect 307 from remote to same origin with user and password >-PASS Redirect 307 from remote to same origin with user >-PASS Redirect 307 from remote to same origin with password >-PASS Redirect 307 from remote to same remote with user and password >-PASS Redirect 307 from remote to same remote with user >-PASS Redirect 307 from remote to same remote with password >-PASS Redirect 307 from remote to another remote with user and password >-PASS Redirect 307 from remote to another remote with user >-PASS Redirect 307 from remote to another remote with password >-PASS Redirect 308 from same origin to remote with user and password >-PASS Redirect 308 from same origin to remote with user >-PASS Redirect 308 from same origin to remote with password >-PASS Redirect 308 from remote to same origin with user and password >-PASS Redirect 308 from remote to same origin with user >-PASS Redirect 308 from remote to same origin with password >-PASS Redirect 308 from remote to same remote with user and password >-PASS Redirect 308 from remote to same remote with user >-PASS Redirect 308 from remote to same remote with password >-PASS Redirect 308 from remote to another remote with user and password >-PASS Redirect 308 from remote to another remote with user >-PASS Redirect 308 from remote to another remote with password >+FAIL Redirect 301 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 301 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 302 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 303 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 307 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from same origin to remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from same origin to remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from same origin to remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from remote to same origin with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from remote to same origin with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from remote to same origin with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from remote to same remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from remote to same remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from remote to same remote with password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from remote to another remote with user and password assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from remote to another remote with user assert_unreached: Should have rejected. Reached unreachable code >+FAIL Redirect 308 from remote to another remote with password assert_unreached: Should have rejected. Reached unreachable code > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/authentication-basic-worker-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/authentication-basic-worker-expected.txt >index 137f790afaa22180c0ab5f1646e4d8b825fc7109..53fa065ddb14b17815d8d1869946a0729190188f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/authentication-basic-worker-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/authentication-basic-worker-expected.txt >@@ -1,8 +1,5 @@ >-localhost:8800 - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet >-localhost:8800 - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet >-localhost:8800 - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet > >-FAIL User-added Authorization header with include mode assert_equals: HTTP status is 200 expected 200 but got 401 >-FAIL User-added Authorization header with same-origin mode assert_equals: HTTP status is 200 expected 200 but got 401 >-FAIL User-added Authorization header with omit mode assert_equals: HTTP status is 200 expected 200 but got 401 >+PASS User-added Authorization header with include mode >+PASS User-added Authorization header with same-origin mode >+PASS User-added Authorization header with omit mode > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache-expected.txt >index 72afdbe77e0e8434b8e3b4baadc7143a4e9b4e2c..f99a969605f6e6d572b3d87ce1512c245fb9fd04 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache-expected.txt >@@ -1,106 +1,104 @@ > >-Harness Error (TIMEOUT), message = null >- >-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 500 >-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 out >-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 out >-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 out >-TIMEOUT RequestCache "no-cache" mode revalidates stale responses found in the cache with Etag and stale response Test timed out >-TIMEOUT RequestCache "no-cache" mode revalidates stale responses found in the cache with date and stale response Test timed out >-TIMEOUT RequestCache "no-cache" mode revalidates fresh responses found in the cache with Etag and fresh response Test timed out >-TIMEOUT RequestCache "no-cache" mode revalidates fresh responses found in the cache with date and fresh response Test timed out >-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 out >-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 out >-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 out >-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 out >-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 out >-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 out >-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 out >-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 out >-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 out >-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 out >-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 out >-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 out >-TIMEOUT RequestCache "force-cache" stores the response in the cache if it goes to the network with Etag and stale response Test timed out >-TIMEOUT RequestCache "force-cache" stores the response in the cache if it goes to the network with date and stale response Test timed out >-TIMEOUT RequestCache "force-cache" stores the response in the cache if it goes to the network with Etag and fresh response Test timed out >-TIMEOUT RequestCache "force-cache" stores the response in the cache if it goes to the network with date and fresh response Test timed out >-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 out >-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 out >-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 out >-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 out >-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 out >-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 out >-TIMEOUT RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and fresh response Test timed out >-TIMEOUT RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with date and fresh response Test timed out >-TIMEOUT RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and stale response Test timed out >-TIMEOUT RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with date and stale response Test timed out >-TIMEOUT RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and fresh response Test timed out >-TIMEOUT RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with date and fresh response Test timed out >-TIMEOUT RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and stale response Test timed out >-TIMEOUT RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with date and stale response Test timed out >-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 out >-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 out >-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 out >-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 out >-TIMEOUT RequestCache "no-store" mode does not store the response in the cache with Etag and stale response Test timed out >-TIMEOUT RequestCache "no-store" mode does not store the response in the cache with date and stale response Test timed out >-TIMEOUT RequestCache "no-store" mode does not store the response in the cache with Etag and fresh response Test timed out >-TIMEOUT RequestCache "no-store" mode does not store the response in the cache with date and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with Etag and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with date and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with Etag and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with date and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with Etag and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with date and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with Etag and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with date and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with Etag and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with date and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with Etag and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with date and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with Etag and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with date and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with Etag and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with date and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with Etag and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with date and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with Etag and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with date and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with Etag and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with date and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with Etag and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with date and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with Etag and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with date and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with Etag and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with date and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with Etag and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with date and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with Etag and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with date and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with Etag and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with date and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with Etag and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with date and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with Etag and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with date and stale response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with Etag and fresh response Test timed out >-TIMEOUT RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with date and fresh response Test timed out >-TIMEOUT Responses with the "Cache-Control: no-store" header are not stored in the cache with Etag and stale response Test timed out >-TIMEOUT Responses with the "Cache-Control: no-store" header are not stored in the cache with date and stale response Test timed out >-TIMEOUT Responses with the "Cache-Control: no-store" header are not stored in the cache with Etag and fresh response Test timed out >-TIMEOUT Responses with the "Cache-Control: no-store" header are not stored in the cache with date and fresh response Test timed out >-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 out >-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 out >-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 out >-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 out >-TIMEOUT RequestCache "reload" mode does store the response in the cache with Etag and stale response Test timed out >-TIMEOUT RequestCache "reload" mode does store the response in the cache with date and stale response Test timed out >-TIMEOUT RequestCache "reload" mode does store the response in the cache with Etag and fresh response Test timed out >-TIMEOUT RequestCache "reload" mode does store the response in the cache with date and fresh response Test timed out >-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 out >-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 out >-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 out >-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 out >+PASS RequestCache "default" mode checks the cache for previously cached content and goes to the network for stale responses with Etag and stale response >+PASS RequestCache "default" mode checks the cache for previously cached content and goes to the network for stale responses with date and stale response >+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 >+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 >+PASS RequestCache "no-cache" mode revalidates stale responses found in the cache with Etag and stale response >+PASS RequestCache "no-cache" mode revalidates stale responses found in the cache with date and stale response >+FAIL RequestCache "no-cache" mode revalidates fresh responses found in the cache with Etag and fresh response assert_equals: expected 2 but got 1 >+FAIL RequestCache "no-cache" mode revalidates fresh responses found in the cache with date and fresh response assert_equals: expected 2 but got 1 >+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 >+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 >+PASS RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for fresh responses with Etag and fresh response >+PASS RequestCache "force-cache" mode checks the cache for previously cached content and avoid revalidation for fresh responses with date and fresh response >+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 >+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 >+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 >+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 >+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 >+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 >+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 >+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 >+PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Etag and stale response >+PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with date and stale response >+PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with Etag and fresh response >+PASS RequestCache "force-cache" stores the response in the cache if it goes to the network with date and fresh response >+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" >+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" >+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" >+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" >+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 >+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 >+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" >+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" >+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" >+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" >+PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and fresh response >+PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with date and fresh response >+PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and stale response >+PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with date and stale response >+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\"" >+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" >+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 >+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 >+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\"" >+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" >+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 >+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 >+PASS RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with Etag and stale response >+PASS RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with date and stale response >+PASS RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with Etag and fresh response >+PASS RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with date and fresh response >+PASS RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with Etag and stale response >+PASS RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with date and stale response >+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 >+PASS RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with date and fresh response >+PASS RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with Etag and stale response >+PASS RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with date and stale response >+PASS RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with Etag and fresh response >+PASS RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with date and fresh response >+PASS RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with Etag and stale response >+PASS RequestCache "default" mode with an If-None-Match header is treated similarly to "no-store" with date and stale response >+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 >+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 >+PASS RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with Etag and stale response >+PASS RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with date and stale response >+PASS RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with Etag and fresh response >+PASS RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with date and fresh response >+PASS RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with Etag and stale response >+PASS RequestCache "default" mode with an If-Unmodified-Since header is treated similarly to "no-store" with date and stale response >+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 >+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 >+PASS RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with Etag and stale response >+PASS RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with date and stale response >+PASS RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with Etag and fresh response >+PASS RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with date and fresh response >+PASS RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with Etag and stale response >+PASS RequestCache "default" mode with an If-Match header is treated similarly to "no-store" with date and stale response >+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 >+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 >+PASS RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with Etag and stale response >+PASS RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with date and stale response >+PASS RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with Etag and fresh response >+PASS RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with date and fresh response >+PASS RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with Etag and stale response >+PASS RequestCache "default" mode with an If-Range header is treated similarly to "no-store" with date and stale response >+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 >+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 >+PASS Responses with the "Cache-Control: no-store" header are not stored in the cache with Etag and stale response >+PASS Responses with the "Cache-Control: no-store" header are not stored in the cache with date and stale response >+PASS Responses with the "Cache-Control: no-store" header are not stored in the cache with Etag and fresh response >+PASS Responses with the "Cache-Control: no-store" header are not stored in the cache with date and fresh response >+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\"" >+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" >+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 >+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 >+PASS RequestCache "reload" mode does store the response in the cache with Etag and stale response >+PASS RequestCache "reload" mode does store the response in the cache with date and stale response >+PASS RequestCache "reload" mode does store the response in the cache with Etag and fresh response >+PASS RequestCache "reload" mode does store the response in the cache with date and fresh response >+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\"" >+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" >+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 >+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 > >diff --git a/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt b/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt >new file mode 100644 >index 0000000000000000000000000000000000000000..b34c75ac1565f3b9555a4721a3312b041d5d6354 >--- /dev/null >+++ b/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt >@@ -0,0 +1,6 @@ >+ >+PASS Fetch ../resources/top.txt with no-cors mode >+PASS Fetch http://localhost:8800/fetch/api/resources/top.txt with no-cors mode >+FAIL Fetch https://localhost:9443/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error" >+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 >+ >diff --git a/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt b/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt >new file mode 100644 >index 0000000000000000000000000000000000000000..b34c75ac1565f3b9555a4721a3312b041d5d6354 >--- /dev/null >+++ b/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt >@@ -0,0 +1,6 @@ >+ >+PASS Fetch ../resources/top.txt with no-cors mode >+PASS Fetch http://localhost:8800/fetch/api/resources/top.txt with no-cors mode >+FAIL Fetch https://localhost:9443/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error" >+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 >+ >diff --git a/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt b/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt >new file mode 100644 >index 0000000000000000000000000000000000000000..a8a822a25bab851ea8b6e38f77a61e86fc82c537 >--- /dev/null >+++ b/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt >@@ -0,0 +1,17 @@ >+ >+FAIL Same domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 >+PASS Same domain different port [server forbid CORS] >+FAIL Same domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" >+FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+PASS Same domain different protocol different port [server forbid CORS] >+FAIL Same domain different protocol different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Cross domain basic usage [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 >+PASS Cross domain basic usage [server forbid CORS] >+FAIL Cross domain basic usage [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" >+FAIL Cross domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 >+PASS Cross domain different port [server forbid CORS] >+FAIL Cross domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" >+FAIL Cross domain different protocol [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+PASS Cross domain different protocol [server forbid CORS] >+FAIL Cross domain different protocol [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+ >diff --git a/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt b/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt >new file mode 100644 >index 0000000000000000000000000000000000000000..a8a822a25bab851ea8b6e38f77a61e86fc82c537 >--- /dev/null >+++ b/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt >@@ -0,0 +1,17 @@ >+ >+FAIL Same domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 >+PASS Same domain different port [server forbid CORS] >+FAIL Same domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" >+FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+PASS Same domain different protocol different port [server forbid CORS] >+FAIL Same domain different protocol different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Cross domain basic usage [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 >+PASS Cross domain basic usage [server forbid CORS] >+FAIL Cross domain basic usage [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" >+FAIL Cross domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 >+PASS Cross domain different port [server forbid CORS] >+FAIL Cross domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" >+FAIL Cross domain different protocol [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+PASS Cross domain different protocol [server forbid CORS] >+FAIL Cross domain different protocol [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+ >diff --git a/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt b/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt >new file mode 100644 >index 0000000000000000000000000000000000000000..b34c75ac1565f3b9555a4721a3312b041d5d6354 >--- /dev/null >+++ b/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt >@@ -0,0 +1,6 @@ >+ >+PASS Fetch ../resources/top.txt with no-cors mode >+PASS Fetch http://localhost:8800/fetch/api/resources/top.txt with no-cors mode >+FAIL Fetch https://localhost:9443/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error" >+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 >+ >diff --git a/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt b/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt >new file mode 100644 >index 0000000000000000000000000000000000000000..b34c75ac1565f3b9555a4721a3312b041d5d6354 >--- /dev/null >+++ b/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt >@@ -0,0 +1,6 @@ >+ >+PASS Fetch ../resources/top.txt with no-cors mode >+PASS Fetch http://localhost:8800/fetch/api/resources/top.txt with no-cors mode >+FAIL Fetch https://localhost:9443/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error" >+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 >+ >diff --git a/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt b/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt >new file mode 100644 >index 0000000000000000000000000000000000000000..a8a822a25bab851ea8b6e38f77a61e86fc82c537 >--- /dev/null >+++ b/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt >@@ -0,0 +1,17 @@ >+ >+FAIL Same domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 >+PASS Same domain different port [server forbid CORS] >+FAIL Same domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" >+FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+PASS Same domain different protocol different port [server forbid CORS] >+FAIL Same domain different protocol different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Cross domain basic usage [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 >+PASS Cross domain basic usage [server forbid CORS] >+FAIL Cross domain basic usage [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" >+FAIL Cross domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 >+PASS Cross domain different port [server forbid CORS] >+FAIL Cross domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" >+FAIL Cross domain different protocol [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+PASS Cross domain different protocol [server forbid CORS] >+FAIL Cross domain different protocol [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+ >diff --git a/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt b/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt >new file mode 100644 >index 0000000000000000000000000000000000000000..a8a822a25bab851ea8b6e38f77a61e86fc82c537 >--- /dev/null >+++ b/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt >@@ -0,0 +1,17 @@ >+ >+FAIL Same domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 >+PASS Same domain different port [server forbid CORS] >+FAIL Same domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" >+FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+PASS Same domain different protocol different port [server forbid CORS] >+FAIL Same domain different protocol different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+FAIL Cross domain basic usage [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 >+PASS Cross domain basic usage [server forbid CORS] >+FAIL Cross domain basic usage [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" >+FAIL Cross domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200 >+PASS Cross domain different port [server forbid CORS] >+FAIL Cross domain different port [cors mode] assert_equals: CORS response's type is cors expected "cors" but got "basic" >+FAIL Cross domain different protocol [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+PASS Cross domain different protocol [server forbid CORS] >+FAIL Cross domain different protocol [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error" >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 156753
:
276738
|
276746
|
276751
|
284491
|
284494
|
284496
|
284605
|
284613
| 284620