<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[203732] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/203732">203732</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2016-07-26 13:18:03 -0700 (Tue, 26 Jul 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>[Fetch API] Add support for fetch mode, in particular cors
https://bugs.webkit.org/show_bug.cgi?id=156753

Patch by Youenn Fablet &lt;youenn@apple.com&gt; on 2016-07-26
Reviewed by Darin Adler.

LayoutTests/imported/w3c:

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:

Source/WebCore:

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.

LayoutTests:

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.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsimportedw3cChangeLog">trunk/LayoutTests/imported/w3c/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicintegrityexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicintegrityworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicmodenocorsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicmodenocorsworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsbasicexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsbasicworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorscookiesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorscookiesworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsfilteringexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsfilteringworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsmultipleoriginsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-multiple-origins-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsmultipleoriginsworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-multiple-origins-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorspreflightexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorspreflightreferrerworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-referrer-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorspreflightworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsredirectcredentialsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsredirectcredentialsworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicredentialsauthenticationbasicworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/authentication-basic-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapirequestrequestcacheexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache-expected.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulesfetchFetchLoadercpp">trunk/Source/WebCore/Modules/fetch/FetchLoader.cpp</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/</li>
<li>trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/</li>
<li>trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/</li>
<li><a href="#trunkLayoutTestsplatformiossimulatorwk2importedw3cwebplatformtestsfetchapibasicmodenocorsexpectedtxt">trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorwk2importedw3cwebplatformtestsfetchapibasicmodenocorsworkerexpectedtxt">trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt</a></li>
<li>trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/</li>
<li><a href="#trunkLayoutTestsplatformiossimulatorwk2importedw3cwebplatformtestsfetchapicorscorsbasicexpectedtxt">trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorwk2importedw3cwebplatformtestsfetchapicorscorsbasicworkerexpectedtxt">trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt</a></li>
<li>trunk/LayoutTests/platform/mac-wk2/imported/</li>
<li>trunk/LayoutTests/platform/mac-wk2/imported/w3c/</li>
<li>trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/</li>
<li>trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/</li>
<li>trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/</li>
<li>trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/</li>
<li><a href="#trunkLayoutTestsplatformmacwk2importedw3cwebplatformtestsfetchapibasicmodenocorsexpectedtxt">trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacwk2importedw3cwebplatformtestsfetchapibasicmodenocorsworkerexpectedtxt">trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt</a></li>
<li>trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/</li>
<li><a href="#trunkLayoutTestsplatformmacwk2importedw3cwebplatformtestsfetchapicorscorsbasicexpectedtxt">trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacwk2importedw3cwebplatformtestsfetchapicorscorsbasicworkerexpectedtxt">trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/ChangeLog        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,3 +1,21 @@
</span><ins>+2016-07-26  Youenn Fablet  &lt;youenn@apple.com&gt;
+
+        [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.
+
</ins><span class="cx"> 2016-07-26  Chris Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Align NamedNodeMap with the specification
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/ChangeLog        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,3 +1,32 @@
</span><ins>+2016-07-26  Youenn Fablet  &lt;youenn@apple.com&gt;
+
+        [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:
+
</ins><span class="cx"> 2016-07-26  Chris Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Align NamedNodeMap with the specification
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicintegrityexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-expected.txt (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-expected.txt        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> PASS Multiple integrities: invalid as strong as valid 
</span><span class="cx"> PASS Multiple integrities: both are valid 
</span><span class="cx"> FAIL Multiple integrities: both are invalid assert_unreached: Should have rejected. Reached unreachable code
</span><del>-FAIL CORS empty integrity promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS SHA-512 integrity promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-PASS CORS invalid integrity 
</del><ins>+PASS CORS empty integrity 
+PASS CORS SHA-512 integrity 
+FAIL CORS invalid integrity assert_unreached: Should have rejected. Reached unreachable code
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicintegrityworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-worker-expected.txt (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-worker-expected.txt        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity-worker-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> PASS Multiple integrities: invalid as strong as valid 
</span><span class="cx"> PASS Multiple integrities: both are valid 
</span><span class="cx"> FAIL Multiple integrities: both are invalid assert_unreached: Should have rejected. Reached unreachable code
</span><del>-FAIL CORS empty integrity promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS SHA-512 integrity promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-PASS CORS invalid integrity 
</del><ins>+PASS CORS empty integrity 
+PASS CORS SHA-512 integrity 
+FAIL CORS invalid integrity assert_unreached: Should have rejected. Reached unreachable code
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicmodenocorsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> 
</span><span class="cx"> PASS Fetch ../resources/top.txt with no-cors mode 
</span><span class="cx"> PASS Fetch http://localhost:8800/fetch/api/resources/top.txt with no-cors mode 
</span><del>-FAIL Fetch https://localhost:9443/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL Fetch http://localhost:8801/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+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
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicmodenocorsworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> 
</span><span class="cx"> PASS Fetch ../resources/top.txt with no-cors mode 
</span><span class="cx"> PASS Fetch http://localhost:8800/fetch/api/resources/top.txt with no-cors mode 
</span><del>-FAIL Fetch https://localhost:9443/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL Fetch http://localhost:8801/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+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
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsbasicexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,17 +1,17 @@
</span><span class="cx"> 
</span><del>-FAIL Same domain different port [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+FAIL Same domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200
</ins><span class="cx"> PASS Same domain different port [server forbid CORS] 
</span><del>-FAIL Same domain different port [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+FAIL Same domain different port [cors mode] assert_equals: CORS response's type is cors expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL Same domain different protocol different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200
</ins><span class="cx"> PASS Same domain different protocol different port [server forbid CORS] 
</span><del>-FAIL Same domain different protocol different port [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL Cross domain basic usage [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+FAIL Same domain different protocol different port [cors mode] assert_equals: CORS response's type is cors expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL Cross domain basic usage [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200
</ins><span class="cx"> PASS Cross domain basic usage [server forbid CORS] 
</span><del>-FAIL Cross domain basic usage [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL Cross domain different port [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+FAIL Cross domain basic usage [cors mode] assert_equals: CORS response's type is cors expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL Cross domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200
</ins><span class="cx"> PASS Cross domain different port [server forbid CORS] 
</span><del>-FAIL Cross domain different port [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL Cross domain different protocol [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+FAIL Cross domain different port [cors mode] assert_equals: CORS response's type is cors expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL Cross domain different protocol [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200
</ins><span class="cx"> PASS Cross domain different protocol [server forbid CORS] 
</span><del>-FAIL Cross domain different protocol [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+FAIL Cross domain different protocol [cors mode] assert_equals: CORS response's type is cors expected &quot;cors&quot; but got &quot;basic&quot;
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsbasicworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,16 +1,16 @@
</span><span class="cx"> 
</span><del>-FAIL Same domain different port [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+FAIL Same domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200
</ins><span class="cx"> PASS Same domain different port [server forbid CORS] 
</span><del>-FAIL Same domain different port [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+FAIL Same domain different port [cors mode] assert_equals: CORS response's type is cors expected &quot;cors&quot; but got &quot;basic&quot;
</ins><span class="cx"> FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</span><span class="cx"> PASS Same domain different protocol different port [server forbid CORS] 
</span><span class="cx"> FAIL Same domain different protocol different port [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</span><del>-FAIL Cross domain basic usage [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+FAIL Cross domain basic usage [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200
</ins><span class="cx"> PASS Cross domain basic usage [server forbid CORS] 
</span><del>-FAIL Cross domain basic usage [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL Cross domain different port [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+FAIL Cross domain basic usage [cors mode] assert_equals: CORS response's type is cors expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL Cross domain different port [no-cors mode] assert_equals: Opaque filter: status is 0 expected 0 but got 200
</ins><span class="cx"> PASS Cross domain different port [server forbid CORS] 
</span><del>-FAIL Cross domain different port [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+FAIL Cross domain different port [cors mode] assert_equals: CORS response's type is cors expected &quot;cors&quot; but got &quot;basic&quot;
</ins><span class="cx"> FAIL Cross domain different protocol [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</span><span class="cx"> PASS Cross domain different protocol [server forbid CORS] 
</span><span class="cx"> FAIL Cross domain different protocol [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorscookiesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-expected.txt (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-expected.txt        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,8 +1,8 @@
</span><span class="cx"> 
</span><span class="cx"> FAIL Omit mode: no cookie sent assert_false: Request should have no cookie expected false got true
</span><del>-FAIL Include mode: 1 cookie promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL Include mode: local cookies are not sent with remote request promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL Include mode: remote cookies are not sent with local request promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL Same-origin mode: cookies are discarded in cors request promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+FAIL Include mode: 1 cookie assert_equals: Request includes cookie(s) expected (string) &quot;a=1&quot; 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 
</ins><span class="cx"> FAIL Include mode: remote cookies are not sent with other remote request promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorscookiesworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,8 +1,8 @@
</span><span class="cx"> 
</span><span class="cx"> FAIL Omit mode: no cookie sent assert_false: Request should have no cookie expected false got true
</span><del>-FAIL Include mode: 1 cookie promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL Include mode: local cookies are not sent with remote request promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL Include mode: remote cookies are not sent with local request promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL Same-origin mode: cookies are discarded in cors request promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+FAIL Include mode: 1 cookie assert_equals: Request includes cookie(s) expected (string) &quot;a=1&quot; 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 
</ins><span class="cx"> FAIL Include mode: remote cookies are not sent with other remote request promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsfilteringexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering-expected.txt (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering-expected.txt        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,20 +1,20 @@
</span><span class="cx"> 
</span><del>-FAIL CORS filter on Cache-Control header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Content-Language header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Content-Type header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Expires header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Last-Modified header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Pragma header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Age header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Server header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Warning header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Content-Length header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Set-Cookie header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Set-Cookie2 header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Age header, header is exposed promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Server header, header is exposed promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Warning header, header is exposed promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Content-Length header, header is exposed promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Set-Cookie header, header is exposed promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Set-Cookie2 header, header is exposed promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+FAIL CORS filter on Cache-Control header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Content-Language header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Content-Type header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Expires header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Last-Modified header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Pragma header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Age header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Server header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Warning header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Content-Length header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Set-Cookie header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Set-Cookie2 header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Age header, header is exposed assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Server header, header is exposed assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Warning header, header is exposed assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Content-Length header, header is exposed assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Set-Cookie header, header is exposed assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Set-Cookie2 header, header is exposed assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsfilteringworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering-worker-expected.txt (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering-worker-expected.txt        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering-worker-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,20 +1,20 @@
</span><span class="cx"> 
</span><del>-FAIL CORS filter on Cache-Control header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Content-Language header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Content-Type header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Expires header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Last-Modified header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Pragma header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Age header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Server header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Warning header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Content-Length header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Set-Cookie header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Set-Cookie2 header promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Age header, header is exposed promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Server header, header is exposed promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Warning header, header is exposed promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Content-Length header, header is exposed promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Set-Cookie header, header is exposed promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL CORS filter on Set-Cookie2 header, header is exposed promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+FAIL CORS filter on Cache-Control header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Content-Language header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Content-Type header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Expires header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Last-Modified header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Pragma header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Age header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Server header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Warning header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Content-Length header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Set-Cookie header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Set-Cookie2 header assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Age header, header is exposed assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Server header, header is exposed assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Warning header, header is exposed assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Content-Length header, header is exposed assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Set-Cookie header, header is exposed assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
+FAIL CORS filter on Set-Cookie2 header, header is exposed assert_equals: CORS fetch's response has cors type expected &quot;cors&quot; but got &quot;basic&quot;
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsmultipleoriginsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-multiple-origins-expected.txt (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-multiple-origins-expected.txt        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-multiple-origins-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,8 +1,8 @@
</span><span class="cx"> 
</span><del>-FAIL 3 origins allowed, match the 3rd (http://localhost:8800) promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL 3 origins allowed, match the 3rd (&quot;*&quot;) promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL 3 origins allowed, match twice (http://localhost:8800) promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL 3 origins allowed, match twice (&quot;*&quot;) promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL 3 origins allowed, match twice (&quot;*&quot; and http://localhost:8800) promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+PASS 3 origins allowed, match the 3rd (http://localhost:8800) 
+PASS 3 origins allowed, match the 3rd (&quot;*&quot;) 
+PASS 3 origins allowed, match twice (http://localhost:8800) 
+PASS 3 origins allowed, match twice (&quot;*&quot;) 
+PASS 3 origins allowed, match twice (&quot;*&quot; and http://localhost:8800) 
</ins><span class="cx"> PASS 3 origins allowed, no match 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsmultipleoriginsworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-multiple-origins-worker-expected.txt (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-multiple-origins-worker-expected.txt        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-multiple-origins-worker-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,8 +1,8 @@
</span><span class="cx"> 
</span><del>-FAIL 3 origins allowed, match the 3rd (http://localhost:8800) promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL 3 origins allowed, match the 3rd (&quot;*&quot;) promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL 3 origins allowed, match twice (http://localhost:8800) promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL 3 origins allowed, match twice (&quot;*&quot;) promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-FAIL 3 origins allowed, match twice (&quot;*&quot; and http://localhost:8800) promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+PASS 3 origins allowed, match the 3rd (http://localhost:8800) 
+PASS 3 origins allowed, match the 3rd (&quot;*&quot;) 
+PASS 3 origins allowed, match twice (http://localhost:8800) 
+PASS 3 origins allowed, match twice (&quot;*&quot;) 
+PASS 3 origins allowed, match twice (&quot;*&quot; and http://localhost:8800) 
</ins><span class="cx"> PASS 3 origins allowed, no match 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorspreflightexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-expected.txt (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-expected.txt        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,16 +1,16 @@
</span><span class="cx"> 
</span><del>-FAIL CORS [DELETE], server allows promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+PASS CORS [DELETE], server allows 
</ins><span class="cx"> PASS CORS [DELETE], server refuses 
</span><del>-FAIL CORS [PUT], server allows promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+PASS CORS [PUT], server allows 
</ins><span class="cx"> PASS CORS [PUT], server refuses 
</span><del>-FAIL CORS [PATCH], server allows promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+PASS CORS [PATCH], server allows 
</ins><span class="cx"> PASS CORS [PATCH], server refuses 
</span><del>-FAIL CORS [NEW], server allows promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+PASS CORS [NEW], server allows 
</ins><span class="cx"> PASS CORS [NEW], server refuses 
</span><del>-FAIL CORS [GET] [x-test-header: allowed], server allows promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+PASS CORS [GET] [x-test-header: allowed], server allows 
</ins><span class="cx"> PASS CORS [GET] [x-test-header: refused], server refuses 
</span><del>-FAIL CORS [GET] [several headers], server allows promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+PASS CORS [GET] [several headers], server allows 
</ins><span class="cx"> PASS CORS [GET] [several headers], server refuses 
</span><del>-FAIL CORS [PUT] [several headers], server allows promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+PASS CORS [PUT] [several headers], server allows 
</ins><span class="cx"> PASS CORS [PUT] [several headers], server refuses 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorspreflightreferrerworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-referrer-worker-expected.txt (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-referrer-worker-expected.txt        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-referrer-worker-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,9 +1,7 @@
</span><span class="cx"> 
</span><del>-Harness Error (TIMEOUT), message = null
</del><ins>+FAIL Referrer policy: no-referrer promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+FAIL Referrer policy: &quot;&quot; promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+FAIL Referrer policy: origin promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+FAIL Referrer policy: origin-when-cross-origin promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+FAIL Referrer policy: unsafe-url promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</ins><span class="cx"> 
</span><del>-FAIL Referrer policy: no-referrer assert_equals: Clean stash response's status is 200 expected 200 but got 500
-TIMEOUT Referrer policy: &quot;&quot; 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
-
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorspreflightworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-worker-expected.txt (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-worker-expected.txt        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-worker-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,18 +1,16 @@
</span><span class="cx"> 
</span><del>-Harness Error (TIMEOUT), message = null
</del><ins>+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 
</ins><span class="cx"> 
</span><del>-FAIL CORS [DELETE], server allows promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-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
-
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsredirectcredentialsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-expected.txt (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-expected.txt        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,62 +1,62 @@
</span><span class="cx"> 
</span><del>-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 
</del><ins>+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
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsredirectcredentialsworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-worker-expected.txt (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-worker-expected.txt        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-worker-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,62 +1,62 @@
</span><span class="cx"> 
</span><del>-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 
</del><ins>+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
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicredentialsauthenticationbasicworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/authentication-basic-worker-expected.txt (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/authentication-basic-worker-expected.txt        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/authentication-basic-worker-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,8 +1,5 @@
</span><del>-localhost:8800 - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
-localhost:8800 - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
-localhost:8800 - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
</del><span class="cx"> 
</span><del>-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
</del><ins>+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 
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapirequestrequestcacheexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache-expected.txt (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache-expected.txt        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,106 +1,104 @@
</span><span class="cx"> 
</span><del>-Harness Error (TIMEOUT), message = null
</del><ins>+PASS RequestCache &quot;default&quot; mode checks the cache for previously cached content and goes to the network for stale responses with Etag and stale response 
+PASS RequestCache &quot;default&quot; mode checks the cache for previously cached content and goes to the network for stale responses with date and stale response 
+PASS RequestCache &quot;default&quot; 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 &quot;default&quot; 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 &quot;no-cache&quot; mode revalidates stale responses found in the cache with Etag and stale response 
+PASS RequestCache &quot;no-cache&quot; mode revalidates stale responses found in the cache with date and stale response 
+FAIL RequestCache &quot;no-cache&quot; mode revalidates fresh responses found in the cache with Etag and fresh response assert_equals: expected 2 but got 1
+FAIL RequestCache &quot;no-cache&quot; mode revalidates fresh responses found in the cache with date and fresh response assert_equals: expected 2 but got 1
+FAIL RequestCache &quot;force-cache&quot; 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 &quot;force-cache&quot; 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 &quot;force-cache&quot; mode checks the cache for previously cached content and avoid revalidation for fresh responses with Etag and fresh response 
+PASS RequestCache &quot;force-cache&quot; mode checks the cache for previously cached content and avoid revalidation for fresh responses with date and fresh response 
+PASS RequestCache &quot;force-cache&quot; 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 &quot;force-cache&quot; 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 &quot;force-cache&quot; 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 &quot;force-cache&quot; 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 &quot;force-cache&quot; 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 &quot;force-cache&quot; 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 &quot;force-cache&quot; 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 &quot;force-cache&quot; 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 &quot;force-cache&quot; stores the response in the cache if it goes to the network with Etag and stale response 
+PASS RequestCache &quot;force-cache&quot; stores the response in the cache if it goes to the network with date and stale response 
+PASS RequestCache &quot;force-cache&quot; stores the response in the cache if it goes to the network with Etag and fresh response 
+PASS RequestCache &quot;force-cache&quot; stores the response in the cache if it goes to the network with date and fresh response 
+FAIL RequestCache &quot;only-if-cached&quot; 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 &quot;TypeError: Type error&quot;
+FAIL RequestCache &quot;only-if-cached&quot; 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 &quot;TypeError: Type error&quot;
+FAIL RequestCache &quot;only-if-cached&quot; 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 &quot;TypeError: Type error&quot;
+FAIL RequestCache &quot;only-if-cached&quot; 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 &quot;TypeError: Type error&quot;
+PASS RequestCache &quot;only-if-cached&quot; 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 &quot;only-if-cached&quot; 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 &quot;only-if-cached&quot; (with &quot;same-origin&quot;) uses cached same-origin redirects to same-origin content with Etag and fresh response promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+FAIL RequestCache &quot;only-if-cached&quot; (with &quot;same-origin&quot;) uses cached same-origin redirects to same-origin content with date and fresh response promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+FAIL RequestCache &quot;only-if-cached&quot; (with &quot;same-origin&quot;) uses cached same-origin redirects to same-origin content with Etag and stale response promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+FAIL RequestCache &quot;only-if-cached&quot; (with &quot;same-origin&quot;) uses cached same-origin redirects to same-origin content with date and stale response promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+PASS RequestCache &quot;only-if-cached&quot; (with &quot;same-origin&quot;) does not follow redirects across origins and rejects with Etag and fresh response 
+PASS RequestCache &quot;only-if-cached&quot; (with &quot;same-origin&quot;) does not follow redirects across origins and rejects with date and fresh response 
+PASS RequestCache &quot;only-if-cached&quot; (with &quot;same-origin&quot;) does not follow redirects across origins and rejects with Etag and stale response 
+PASS RequestCache &quot;only-if-cached&quot; (with &quot;same-origin&quot;) does not follow redirects across origins and rejects with date and stale response 
+FAIL RequestCache &quot;no-store&quot; 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) &quot;\&quot;0.5708867760543104\&quot;&quot;
+FAIL RequestCache &quot;no-store&quot; 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) &quot;Tue, 26 Jul 2016 18:03:51 GMT&quot;
+FAIL RequestCache &quot;no-store&quot; 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 &quot;no-store&quot; 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 &quot;no-store&quot; mode does not store the response in the cache with Etag and stale response assert_equals: expected (undefined) undefined but got (string) &quot;\&quot;0.03236160265570209\&quot;&quot;
+FAIL RequestCache &quot;no-store&quot; mode does not store the response in the cache with date and stale response assert_equals: expected (undefined) undefined but got (string) &quot;Tue, 26 Jul 2016 18:03:51 GMT&quot;
+FAIL RequestCache &quot;no-store&quot; mode does not store the response in the cache with Etag and fresh response assert_equals: expected 2 but got 1
+FAIL RequestCache &quot;no-store&quot; mode does not store the response in the cache with date and fresh response assert_equals: expected 2 but got 1
+PASS RequestCache &quot;default&quot; mode with an If-Modified-Since header is treated similarly to &quot;no-store&quot; with Etag and stale response 
+PASS RequestCache &quot;default&quot; mode with an If-Modified-Since header is treated similarly to &quot;no-store&quot; with date and stale response 
+PASS RequestCache &quot;default&quot; mode with an If-Modified-Since header is treated similarly to &quot;no-store&quot; with Etag and fresh response 
+PASS RequestCache &quot;default&quot; mode with an If-Modified-Since header is treated similarly to &quot;no-store&quot; with date and fresh response 
+PASS RequestCache &quot;default&quot; mode with an If-Modified-Since header is treated similarly to &quot;no-store&quot; with Etag and stale response 
+PASS RequestCache &quot;default&quot; mode with an If-Modified-Since header is treated similarly to &quot;no-store&quot; with date and stale response 
+FAIL RequestCache &quot;default&quot; mode with an If-Modified-Since header is treated similarly to &quot;no-store&quot; with Etag and fresh response assert_equals: expected 2 but got 1
+PASS RequestCache &quot;default&quot; mode with an If-Modified-Since header is treated similarly to &quot;no-store&quot; with date and fresh response 
+PASS RequestCache &quot;default&quot; mode with an If-None-Match header is treated similarly to &quot;no-store&quot; with Etag and stale response 
+PASS RequestCache &quot;default&quot; mode with an If-None-Match header is treated similarly to &quot;no-store&quot; with date and stale response 
+PASS RequestCache &quot;default&quot; mode with an If-None-Match header is treated similarly to &quot;no-store&quot; with Etag and fresh response 
+PASS RequestCache &quot;default&quot; mode with an If-None-Match header is treated similarly to &quot;no-store&quot; with date and fresh response 
+PASS RequestCache &quot;default&quot; mode with an If-None-Match header is treated similarly to &quot;no-store&quot; with Etag and stale response 
+PASS RequestCache &quot;default&quot; mode with an If-None-Match header is treated similarly to &quot;no-store&quot; with date and stale response 
+FAIL RequestCache &quot;default&quot; mode with an If-None-Match header is treated similarly to &quot;no-store&quot; with Etag and fresh response assert_equals: expected 2 but got 1
+FAIL RequestCache &quot;default&quot; mode with an If-None-Match header is treated similarly to &quot;no-store&quot; with date and fresh response assert_equals: expected 2 but got 1
+PASS RequestCache &quot;default&quot; mode with an If-Unmodified-Since header is treated similarly to &quot;no-store&quot; with Etag and stale response 
+PASS RequestCache &quot;default&quot; mode with an If-Unmodified-Since header is treated similarly to &quot;no-store&quot; with date and stale response 
+PASS RequestCache &quot;default&quot; mode with an If-Unmodified-Since header is treated similarly to &quot;no-store&quot; with Etag and fresh response 
+PASS RequestCache &quot;default&quot; mode with an If-Unmodified-Since header is treated similarly to &quot;no-store&quot; with date and fresh response 
+PASS RequestCache &quot;default&quot; mode with an If-Unmodified-Since header is treated similarly to &quot;no-store&quot; with Etag and stale response 
+PASS RequestCache &quot;default&quot; mode with an If-Unmodified-Since header is treated similarly to &quot;no-store&quot; with date and stale response 
+FAIL RequestCache &quot;default&quot; mode with an If-Unmodified-Since header is treated similarly to &quot;no-store&quot; with Etag and fresh response assert_equals: expected 2 but got 1
+FAIL RequestCache &quot;default&quot; mode with an If-Unmodified-Since header is treated similarly to &quot;no-store&quot; with date and fresh response assert_equals: expected 2 but got 1
+PASS RequestCache &quot;default&quot; mode with an If-Match header is treated similarly to &quot;no-store&quot; with Etag and stale response 
+PASS RequestCache &quot;default&quot; mode with an If-Match header is treated similarly to &quot;no-store&quot; with date and stale response 
+PASS RequestCache &quot;default&quot; mode with an If-Match header is treated similarly to &quot;no-store&quot; with Etag and fresh response 
+PASS RequestCache &quot;default&quot; mode with an If-Match header is treated similarly to &quot;no-store&quot; with date and fresh response 
+PASS RequestCache &quot;default&quot; mode with an If-Match header is treated similarly to &quot;no-store&quot; with Etag and stale response 
+PASS RequestCache &quot;default&quot; mode with an If-Match header is treated similarly to &quot;no-store&quot; with date and stale response 
+FAIL RequestCache &quot;default&quot; mode with an If-Match header is treated similarly to &quot;no-store&quot; with Etag and fresh response assert_equals: expected 2 but got 1
+FAIL RequestCache &quot;default&quot; mode with an If-Match header is treated similarly to &quot;no-store&quot; with date and fresh response assert_equals: expected 2 but got 1
+PASS RequestCache &quot;default&quot; mode with an If-Range header is treated similarly to &quot;no-store&quot; with Etag and stale response 
+PASS RequestCache &quot;default&quot; mode with an If-Range header is treated similarly to &quot;no-store&quot; with date and stale response 
+PASS RequestCache &quot;default&quot; mode with an If-Range header is treated similarly to &quot;no-store&quot; with Etag and fresh response 
+PASS RequestCache &quot;default&quot; mode with an If-Range header is treated similarly to &quot;no-store&quot; with date and fresh response 
+PASS RequestCache &quot;default&quot; mode with an If-Range header is treated similarly to &quot;no-store&quot; with Etag and stale response 
+PASS RequestCache &quot;default&quot; mode with an If-Range header is treated similarly to &quot;no-store&quot; with date and stale response 
+FAIL RequestCache &quot;default&quot; mode with an If-Range header is treated similarly to &quot;no-store&quot; with Etag and fresh response assert_equals: expected 2 but got 1
+FAIL RequestCache &quot;default&quot; mode with an If-Range header is treated similarly to &quot;no-store&quot; with date and fresh response assert_equals: expected 2 but got 1
+PASS Responses with the &quot;Cache-Control: no-store&quot; header are not stored in the cache with Etag and stale response 
+PASS Responses with the &quot;Cache-Control: no-store&quot; header are not stored in the cache with date and stale response 
+PASS Responses with the &quot;Cache-Control: no-store&quot; header are not stored in the cache with Etag and fresh response 
+PASS Responses with the &quot;Cache-Control: no-store&quot; header are not stored in the cache with date and fresh response 
+FAIL RequestCache &quot;reload&quot; 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) &quot;\&quot;0.32037580965802115\&quot;&quot;
+FAIL RequestCache &quot;reload&quot; 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) &quot;Tue, 26 Jul 2016 18:03:51 GMT&quot;
+FAIL RequestCache &quot;reload&quot; 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 &quot;reload&quot; 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 &quot;reload&quot; mode does store the response in the cache with Etag and stale response 
+PASS RequestCache &quot;reload&quot; mode does store the response in the cache with date and stale response 
+PASS RequestCache &quot;reload&quot; mode does store the response in the cache with Etag and fresh response 
+PASS RequestCache &quot;reload&quot; mode does store the response in the cache with date and fresh response 
+FAIL RequestCache &quot;reload&quot; 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) &quot;\&quot;0.702774010433134\&quot;&quot;
+FAIL RequestCache &quot;reload&quot; 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) &quot;Tue, 26 Jul 2016 18:03:51 GMT&quot;
+FAIL RequestCache &quot;reload&quot; 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 &quot;reload&quot; 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
</ins><span class="cx"> 
</span><del>-FAIL RequestCache &quot;default&quot; 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 &quot;default&quot; 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 &quot;default&quot; 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 &quot;default&quot; 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 &quot;no-cache&quot; mode revalidates stale responses found in the cache with Etag and stale response Test timed out
-TIMEOUT RequestCache &quot;no-cache&quot; mode revalidates stale responses found in the cache with date and stale response Test timed out
-TIMEOUT RequestCache &quot;no-cache&quot; mode revalidates fresh responses found in the cache with Etag and fresh response Test timed out
-TIMEOUT RequestCache &quot;no-cache&quot; mode revalidates fresh responses found in the cache with date and fresh response Test timed out
-TIMEOUT RequestCache &quot;force-cache&quot; mode checks the cache for previously cached content and avoid revalidation for stale responses with Etag and stale response Test timed out
-TIMEOUT RequestCache &quot;force-cache&quot; mode checks the cache for previously cached content and avoid revalidation for stale responses with date and stale response Test timed out
-TIMEOUT RequestCache &quot;force-cache&quot; mode checks the cache for previously cached content and avoid revalidation for fresh responses with Etag and fresh response Test timed out
-TIMEOUT RequestCache &quot;force-cache&quot; mode checks the cache for previously cached content and avoid revalidation for fresh responses with date and fresh response Test timed out
-TIMEOUT RequestCache &quot;force-cache&quot; 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 &quot;force-cache&quot; 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 &quot;force-cache&quot; 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 &quot;force-cache&quot; 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 &quot;force-cache&quot; 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 &quot;force-cache&quot; 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 &quot;force-cache&quot; 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 &quot;force-cache&quot; 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 &quot;force-cache&quot; stores the response in the cache if it goes to the network with Etag and stale response Test timed out
-TIMEOUT RequestCache &quot;force-cache&quot; stores the response in the cache if it goes to the network with date and stale response Test timed out
-TIMEOUT RequestCache &quot;force-cache&quot; stores the response in the cache if it goes to the network with Etag and fresh response Test timed out
-TIMEOUT RequestCache &quot;force-cache&quot; stores the response in the cache if it goes to the network with date and fresh response Test timed out
-TIMEOUT RequestCache &quot;only-if-cached&quot; mode checks the cache for previously cached content and avoids revalidation for stale responses with Etag and stale response Test timed out
-TIMEOUT RequestCache &quot;only-if-cached&quot; mode checks the cache for previously cached content and avoids revalidation for stale responses with date and stale response Test timed out
-TIMEOUT RequestCache &quot;only-if-cached&quot; mode checks the cache for previously cached content and avoids revalidation for fresh responses with Etag and fresh response Test timed out
-TIMEOUT RequestCache &quot;only-if-cached&quot; mode checks the cache for previously cached content and avoids revalidation for fresh responses with date and fresh response Test timed out
-TIMEOUT RequestCache &quot;only-if-cached&quot; 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 &quot;only-if-cached&quot; 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 &quot;only-if-cached&quot; (with &quot;same-origin&quot;) uses cached same-origin redirects to same-origin content with Etag and fresh response Test timed out
-TIMEOUT RequestCache &quot;only-if-cached&quot; (with &quot;same-origin&quot;) uses cached same-origin redirects to same-origin content with date and fresh response Test timed out
-TIMEOUT RequestCache &quot;only-if-cached&quot; (with &quot;same-origin&quot;) uses cached same-origin redirects to same-origin content with Etag and stale response Test timed out
-TIMEOUT RequestCache &quot;only-if-cached&quot; (with &quot;same-origin&quot;) uses cached same-origin redirects to same-origin content with date and stale response Test timed out
-TIMEOUT RequestCache &quot;only-if-cached&quot; (with &quot;same-origin&quot;) does not follow redirects across origins and rejects with Etag and fresh response Test timed out
-TIMEOUT RequestCache &quot;only-if-cached&quot; (with &quot;same-origin&quot;) does not follow redirects across origins and rejects with date and fresh response Test timed out
-TIMEOUT RequestCache &quot;only-if-cached&quot; (with &quot;same-origin&quot;) does not follow redirects across origins and rejects with Etag and stale response Test timed out
-TIMEOUT RequestCache &quot;only-if-cached&quot; (with &quot;same-origin&quot;) does not follow redirects across origins and rejects with date and stale response Test timed out
-TIMEOUT RequestCache &quot;no-store&quot; 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 &quot;no-store&quot; 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 &quot;no-store&quot; 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 &quot;no-store&quot; 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 &quot;no-store&quot; mode does not store the response in the cache with Etag and stale response Test timed out
-TIMEOUT RequestCache &quot;no-store&quot; mode does not store the response in the cache with date and stale response Test timed out
-TIMEOUT RequestCache &quot;no-store&quot; mode does not store the response in the cache with Etag and fresh response Test timed out
-TIMEOUT RequestCache &quot;no-store&quot; mode does not store the response in the cache with date and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Modified-Since header is treated similarly to &quot;no-store&quot; with Etag and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Modified-Since header is treated similarly to &quot;no-store&quot; with date and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Modified-Since header is treated similarly to &quot;no-store&quot; with Etag and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Modified-Since header is treated similarly to &quot;no-store&quot; with date and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Modified-Since header is treated similarly to &quot;no-store&quot; with Etag and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Modified-Since header is treated similarly to &quot;no-store&quot; with date and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Modified-Since header is treated similarly to &quot;no-store&quot; with Etag and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Modified-Since header is treated similarly to &quot;no-store&quot; with date and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-None-Match header is treated similarly to &quot;no-store&quot; with Etag and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-None-Match header is treated similarly to &quot;no-store&quot; with date and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-None-Match header is treated similarly to &quot;no-store&quot; with Etag and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-None-Match header is treated similarly to &quot;no-store&quot; with date and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-None-Match header is treated similarly to &quot;no-store&quot; with Etag and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-None-Match header is treated similarly to &quot;no-store&quot; with date and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-None-Match header is treated similarly to &quot;no-store&quot; with Etag and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-None-Match header is treated similarly to &quot;no-store&quot; with date and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Unmodified-Since header is treated similarly to &quot;no-store&quot; with Etag and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Unmodified-Since header is treated similarly to &quot;no-store&quot; with date and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Unmodified-Since header is treated similarly to &quot;no-store&quot; with Etag and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Unmodified-Since header is treated similarly to &quot;no-store&quot; with date and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Unmodified-Since header is treated similarly to &quot;no-store&quot; with Etag and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Unmodified-Since header is treated similarly to &quot;no-store&quot; with date and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Unmodified-Since header is treated similarly to &quot;no-store&quot; with Etag and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Unmodified-Since header is treated similarly to &quot;no-store&quot; with date and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Match header is treated similarly to &quot;no-store&quot; with Etag and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Match header is treated similarly to &quot;no-store&quot; with date and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Match header is treated similarly to &quot;no-store&quot; with Etag and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Match header is treated similarly to &quot;no-store&quot; with date and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Match header is treated similarly to &quot;no-store&quot; with Etag and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Match header is treated similarly to &quot;no-store&quot; with date and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Match header is treated similarly to &quot;no-store&quot; with Etag and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Match header is treated similarly to &quot;no-store&quot; with date and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Range header is treated similarly to &quot;no-store&quot; with Etag and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Range header is treated similarly to &quot;no-store&quot; with date and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Range header is treated similarly to &quot;no-store&quot; with Etag and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Range header is treated similarly to &quot;no-store&quot; with date and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Range header is treated similarly to &quot;no-store&quot; with Etag and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Range header is treated similarly to &quot;no-store&quot; with date and stale response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Range header is treated similarly to &quot;no-store&quot; with Etag and fresh response Test timed out
-TIMEOUT RequestCache &quot;default&quot; mode with an If-Range header is treated similarly to &quot;no-store&quot; with date and fresh response Test timed out
-TIMEOUT Responses with the &quot;Cache-Control: no-store&quot; header are not stored in the cache with Etag and stale response Test timed out
-TIMEOUT Responses with the &quot;Cache-Control: no-store&quot; header are not stored in the cache with date and stale response Test timed out
-TIMEOUT Responses with the &quot;Cache-Control: no-store&quot; header are not stored in the cache with Etag and fresh response Test timed out
-TIMEOUT Responses with the &quot;Cache-Control: no-store&quot; header are not stored in the cache with date and fresh response Test timed out
-TIMEOUT RequestCache &quot;reload&quot; 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 &quot;reload&quot; 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 &quot;reload&quot; 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 &quot;reload&quot; 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 &quot;reload&quot; mode does store the response in the cache with Etag and stale response Test timed out
-TIMEOUT RequestCache &quot;reload&quot; mode does store the response in the cache with date and stale response Test timed out
-TIMEOUT RequestCache &quot;reload&quot; mode does store the response in the cache with Etag and fresh response Test timed out
-TIMEOUT RequestCache &quot;reload&quot; mode does store the response in the cache with date and fresh response Test timed out
-TIMEOUT RequestCache &quot;reload&quot; 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 &quot;reload&quot; 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 &quot;reload&quot; 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 &quot;reload&quot; mode does store the response in the cache even if a previous response is already stored with date and fresh response Test timed out
-
</del></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorwk2importedw3cwebplatformtestsfetchapibasicmodenocorsexpectedtxtfromrev203731trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicmodenocorsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt (from rev 203731, trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt) (0 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+
+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 &quot;TypeError: Type error&quot;
+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
+
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorwk2importedw3cwebplatformtestsfetchapibasicmodenocorsworkerexpectedtxtfromrev203731trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicmodenocorsworkerexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt (from rev 203731, trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt) (0 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+
+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 &quot;TypeError: Type error&quot;
+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
+
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorwk2importedw3cwebplatformtestsfetchapicorscorsbasicexpectedtxtfromrev203731trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsbasicexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt (from rev 203731, trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt) (0 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+
+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 &quot;cors&quot; but got &quot;basic&quot;
+FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+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 &quot;TypeError: Type error&quot;
+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 &quot;cors&quot; but got &quot;basic&quot;
+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 &quot;cors&quot; but got &quot;basic&quot;
+FAIL Cross domain different protocol [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+PASS Cross domain different protocol [server forbid CORS] 
+FAIL Cross domain different protocol [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorwk2importedw3cwebplatformtestsfetchapicorscorsbasicworkerexpectedtxtfromrev203731trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsbasicworkerexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt (from rev 203731, trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt) (0 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+
+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 &quot;cors&quot; but got &quot;basic&quot;
+FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+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 &quot;TypeError: Type error&quot;
+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 &quot;cors&quot; but got &quot;basic&quot;
+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 &quot;cors&quot; but got &quot;basic&quot;
+FAIL Cross domain different protocol [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+PASS Cross domain different protocol [server forbid CORS] 
+FAIL Cross domain different protocol [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk2importedw3cwebplatformtestsfetchapibasicmodenocorsexpectedtxtfromrev203731trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicmodenocorsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt (from rev 203731, trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt) (0 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+
+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 &quot;TypeError: Type error&quot;
+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
+
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk2importedw3cwebplatformtestsfetchapibasicmodenocorsworkerexpectedtxtfromrev203731trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicmodenocorsworkerexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt (from rev 203731, trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt) (0 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+
+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 &quot;TypeError: Type error&quot;
+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
+
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk2importedw3cwebplatformtestsfetchapicorscorsbasicexpectedtxtfromrev203731trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsbasicexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt (from rev 203731, trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt) (0 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+
+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 &quot;cors&quot; but got &quot;basic&quot;
+FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+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 &quot;TypeError: Type error&quot;
+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 &quot;cors&quot; but got &quot;basic&quot;
+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 &quot;cors&quot; but got &quot;basic&quot;
+FAIL Cross domain different protocol [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+PASS Cross domain different protocol [server forbid CORS] 
+FAIL Cross domain different protocol [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk2importedw3cwebplatformtestsfetchapicorscorsbasicworkerexpectedtxtfromrev203731trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsbasicworkerexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt (from rev 203731, trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt) (0 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+
+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 &quot;cors&quot; but got &quot;basic&quot;
+FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+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 &quot;TypeError: Type error&quot;
+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 &quot;cors&quot; but got &quot;basic&quot;
+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 &quot;cors&quot; but got &quot;basic&quot;
+FAIL Cross domain different protocol [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+PASS Cross domain different protocol [server forbid CORS] 
+FAIL Cross domain different protocol [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+
</ins></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/Source/WebCore/ChangeLog        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2016-07-26  Youenn Fablet  &lt;youenn@apple.com&gt;
+
+        [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.
+
</ins><span class="cx"> 2016-07-26  Chris Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Align NamedNodeMap with the specification
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesfetchFetchLoadercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/fetch/FetchLoader.cpp (203731 => 203732)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/fetch/FetchLoader.cpp        2016-07-26 19:09:53 UTC (rev 203731)
+++ trunk/Source/WebCore/Modules/fetch/FetchLoader.cpp        2016-07-26 20:18:03 UTC (rev 203732)
</span><span class="lines">@@ -83,7 +83,9 @@
</span><span class="cx"> 
</span><span class="cx">     // FIXME: Pass directly all fetch options to loader options.
</span><span class="cx">     options.redirect = request.fetchOptions().redirect;
</span><del>-    options.mode = FetchOptions::Mode::SameOrigin;
</del><ins>+    options.mode = request.fetchOptions().mode;
+    if (options.mode == FetchOptions::Mode::Cors)
+        options.setAllowCredentials(DoNotAllowStoredCredentials);
</ins><span class="cx"> 
</span><span class="cx">     m_loader = ThreadableLoader::create(&amp;context, this, request.internalRequest(), options);
</span><span class="cx">     m_isStarted = m_loader;
</span></span></pre>
</div>
</div>

</body>
</html>