<!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>[204079] trunk/LayoutTests/imported/w3c</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/204079">204079</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2016-08-03 03:41:11 -0700 (Wed, 03 Aug 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Refresh wpt tests up to d686014
https://bugs.webkit.org/show_bug.cgi?id=160446

Patch by Youenn Fablet &lt;youenn@apple.com&gt; on 2016-08-03
Reviewed by Alex Christensen.

* resources/ImportExpectations:
* resources/TestRepositories:
* resources/web-platform-tests-modules.json:
* web-platform-tests/XMLHttpRequest/FormData-append.html:
* web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.any.js: Added.
(test):
(string_appeared_here.test):
(string_appeared_here.async_test):
* web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.html: Removed.
* web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js: Removed.
* web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.js: Removed.
* web-platform-tests/XMLHttpRequest/headers-normalize-response-expected.txt: Added.
* web-platform-tests/XMLHttpRequest/headers-normalize-response.htm: Added.
* web-platform-tests/XMLHttpRequest/open-url-multi-window.htm:
* web-platform-tests/XMLHttpRequest/resources/last-modified.py:
(main):
* web-platform-tests/XMLHttpRequest/resources/parse-headers.py: Added.
(main):
* web-platform-tests/XMLHttpRequest/resources/w3c-import.log:
* web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt:
* web-platform-tests/XMLHttpRequest/responsexml-document-properties.htm:
* web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt:
* web-platform-tests/XMLHttpRequest/send-entity-body-empty-expected.txt:
* web-platform-tests/XMLHttpRequest/send-entity-body-empty.htm:
* web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async-expected.txt:
* web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async.htm:
* web-platform-tests/XMLHttpRequest/send-entity-body-get-head-expected.txt:
* web-platform-tests/XMLHttpRequest/send-entity-body-get-head.htm:
* web-platform-tests/XMLHttpRequest/send-entity-body-none-expected.txt:
* web-platform-tests/XMLHttpRequest/send-entity-body-none.htm:
* web-platform-tests/XMLHttpRequest/setrequestheader-content-type-expected.txt:
* web-platform-tests/XMLHttpRequest/setrequestheader-content-type.htm:
* web-platform-tests/XMLHttpRequest/w3c-import.log:
* web-platform-tests/dom/events/AddEventListenerOptions-once-expected.txt: Added.
* web-platform-tests/dom/events/AddEventListenerOptions-once.html: Added.
* web-platform-tests/dom/events/w3c-import.log:
* web-platform-tests/dom/lists/DOMTokenList-iteration-expected.txt: Added.
* web-platform-tests/dom/lists/DOMTokenList-iteration.html: Added.
* web-platform-tests/dom/lists/w3c-import.log:
* web-platform-tests/dom/nodes/Node-childNodes-expected.txt:
* web-platform-tests/dom/nodes/Node-childNodes.html:
* web-platform-tests/domparsing/insert_adjacent_html-expected.txt:
* web-platform-tests/fetch/api/basic/request-headers-expected.txt:
* web-platform-tests/fetch/api/basic/request-headers-worker-expected.txt:
* web-platform-tests/fetch/api/basic/request-headers.js:
* web-platform-tests/fetch/api/basic/request-referrer-expected.txt: Added.
* web-platform-tests/fetch/api/basic/request-referrer.html: Added.
* web-platform-tests/fetch/api/basic/request-referrer.js: Added.
(testReferrer):
* web-platform-tests/fetch/api/basic/w3c-import.log:
* web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt:
* web-platform-tests/fetch/api/policies/referrer-no-referrer-expected.txt:
* web-platform-tests/fetch/api/policies/referrer-no-referrer-worker-expected.txt:
* web-platform-tests/fetch/api/policies/referrer-no-referrer.html.headers:
* web-platform-tests/fetch/api/policies/referrer-no-referrer.js.headers:
* web-platform-tests/fetch/api/policies/referrer-origin-expected.txt:
* web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-expected.txt.
* web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-worker-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-expected.txt.
* web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-worker.html: Added.
* web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.html: Added.
* web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.html.headers: Added.
* web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.js: Added.
(promise_test):
* web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.js.headers: Added.
* web-platform-tests/fetch/api/policies/referrer-origin-worker-expected.txt:
* web-platform-tests/fetch/api/policies/referrer-origin.html.headers:
* web-platform-tests/fetch/api/policies/referrer-origin.js.headers:
* web-platform-tests/fetch/api/policies/referrer-unsafe-url-expected.txt:
* web-platform-tests/fetch/api/policies/referrer-unsafe-url-worker-expected.txt:
* web-platform-tests/fetch/api/policies/referrer-unsafe-url.html.headers:
* web-platform-tests/fetch/api/policies/referrer-unsafe-url.js.headers:
* web-platform-tests/fetch/api/policies/w3c-import.log:
* web-platform-tests/fetch/api/request/request-cache-expected.txt:
* web-platform-tests/fetch/api/request/resources/get-host-info.sub.js: Removed.
* web-platform-tests/fetch/nosniff/resources/image.py:
(main):
* web-platform-tests/fetch/nosniff/stylesheet-expected.txt:
* web-platform-tests/fetch/nosniff/stylesheet.html:
* web-platform-tests/html/dom/interfaces-expected.txt:
* web-platform-tests/html/dom/interfaces.html:
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen-expected.txt:
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen.html:
* web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt:
* web-platform-tests/html/semantics/grouping-content/the-li-element/grouping-li-expected.txt:
* web-platform-tests/html/semantics/grouping-content/the-li-element/grouping-li.html:
* web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-open-expected.txt: Added.
* web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-open.html: Added.
* web-platform-tests/html/semantics/interactive-elements/the-dialog-element/w3c-import.log:
* web-platform-tests/html/semantics/scripting-1/the-script-element/script-charset-03-expected.txt: Added.
* web-platform-tests/html/semantics/scripting-1/the-script-element/script-charset-03.html: Added.
* web-platform-tests/html/semantics/scripting-1/the-script-element/w3c-import.log:
* web-platform-tests/html/semantics/tabular-data/the-table-element/caption-methods-expected.txt:
* web-platform-tests/html/semantics/tabular-data/the-table-element/caption-methods.html:
* web-platform-tests/html/semantics/tabular-data/the-table-element/remove-row-expected.txt: Added.
* web-platform-tests/html/semantics/tabular-data/the-table-element/remove-row.html: Added.
* web-platform-tests/html/semantics/tabular-data/the-table-element/w3c-import.log:
* web-platform-tests/lint.whitelist:
* web-platform-tests/service-workers/tools/blink-import.py:
(main):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsimportedw3cChangeLog">trunk/LayoutTests/imported/w3c/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsimportedw3cresourcesImportExpectations">trunk/LayoutTests/imported/w3c/resources/ImportExpectations</a></li>
<li><a href="#trunkLayoutTestsimportedw3cresourcesTestRepositories">trunk/LayoutTests/imported/w3c/resources/TestRepositories</a></li>
<li><a href="#trunkLayoutTestsimportedw3cresourceswebplatformtestsmodulesjson">trunk/LayoutTests/imported/w3c/resources/web-platform-tests-modules.json</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestFormDataappendhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/FormData-append.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestopenurlmultiwindowhtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/open-url-multi-window.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourceslastmodifiedpy">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/last-modified.py</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresponsexmldocumentpropertiesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresponsexmldocumentpropertieshtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-document-properties.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodydocumentexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodyemptyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-empty-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodyemptyhtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-empty.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodygetheadasyncexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodygetheadasynchtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodygetheadexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodygetheadhtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodynoneexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-none-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodynonehtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-none.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsetrequestheadercontenttypeexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsetrequestheadercontenttypehtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomlistsw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodechildNodesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-childNodes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodechildNodeshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-childNodes.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestheadersexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestheadersworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestheadersjs">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferrernoreferrerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferrernoreferrerworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferrernoreferrerhtmlheaders">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer.html.headers</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferrernoreferrerjsheaders">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer.js.headers</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginhtmlheaders">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin.html.headers</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginjsheaders">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin.js.headers</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferrerunsafeurlexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferrerunsafeurlworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferrerunsafeurlhtmlheaders">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url.html.headers</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferrerunsafeurljsheaders">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url.js.headers</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/w3c-import.log</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="#trunkLayoutTestsimportedw3cwebplatformtestsfetchnosniffresourcesimagepy">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/nosniff/resources/image.py</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchnosniffstylesheetexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/nosniff/stylesheet-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchnosniffstylesheethtml">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/nosniff/stylesheet.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldominterfacesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldominterfaceshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframeallowfullscreenexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframeallowfullscreenhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementenvironmentchangesviewportchangeexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsgroupingcontentthelielementgroupingliexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/grouping-content/the-li-element/grouping-li-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsgroupingcontentthelielementgroupinglihtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/grouping-content/the-li-element/grouping-li.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsinteractiveelementsthedialogelementw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsscripting1thescriptelementw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementcaptionmethodsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/caption-methods-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementcaptionmethodshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/caption-methods.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestslintwhitelist">trunk/LayoutTests/imported/w3c/web-platform-tests/lint.whitelist</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerstoolsblinkimportpy">trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/tools/blink-import.py</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestXMLHttpRequestwithCredentialsanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestheadersnormalizeresponseexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/headers-normalize-response-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestheadersnormalizeresponsehtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/headers-normalize-response.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesparseheaderspy">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/parse-headers.py</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsAddEventListenerOptionsonceexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-once-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsAddEventListenerOptionsoncehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-once.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomlistsDOMTokenListiterationexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-iteration-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomlistsDOMTokenListiterationhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-iteration.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestreferrerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-referrer-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestreferrerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-referrer.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestreferrerjs">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-referrer.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginwhencrossoriginexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginwhencrossoriginworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginwhencrossoriginworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginwhencrossoriginhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginwhencrossoriginhtmlheaders">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.html.headers</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginwhencrossoriginjs">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginwhencrossoriginjsheaders">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.js.headers</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsinteractiveelementsthedialogelementdialogopenexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-open-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsinteractiveelementsthedialogelementdialogopenhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-open.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsscripting1thescriptelementscriptcharset03expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-charset-03-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsscripting1thescriptelementscriptcharset03html">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-charset-03.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementremoverowexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/remove-row-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementremoverowhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/remove-row.html</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestXMLHttpRequestwithCredentialshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestXMLHttpRequestwithCredentialsjs">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestXMLHttpRequestwithCredentialsworkerjs">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapirequestresourcesgethostinfosubjs">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/resources/get-host-info.sub.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/ChangeLog        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,3 +1,110 @@
</span><ins>+2016-08-03  Youenn Fablet  &lt;youenn@apple.com&gt;
+
+        Refresh wpt tests up to d686014
+        https://bugs.webkit.org/show_bug.cgi?id=160446
+
+        Reviewed by Alex Christensen.
+
+        * resources/ImportExpectations:
+        * resources/TestRepositories:
+        * resources/web-platform-tests-modules.json:
+        * web-platform-tests/XMLHttpRequest/FormData-append.html:
+        * web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.any.js: Added.
+        (test):
+        (string_appeared_here.test):
+        (string_appeared_here.async_test):
+        * web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.html: Removed.
+        * web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js: Removed.
+        * web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.js: Removed.
+        * web-platform-tests/XMLHttpRequest/headers-normalize-response-expected.txt: Added.
+        * web-platform-tests/XMLHttpRequest/headers-normalize-response.htm: Added.
+        * web-platform-tests/XMLHttpRequest/open-url-multi-window.htm:
+        * web-platform-tests/XMLHttpRequest/resources/last-modified.py:
+        (main):
+        * web-platform-tests/XMLHttpRequest/resources/parse-headers.py: Added.
+        (main):
+        * web-platform-tests/XMLHttpRequest/resources/w3c-import.log:
+        * web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt:
+        * web-platform-tests/XMLHttpRequest/responsexml-document-properties.htm:
+        * web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt:
+        * web-platform-tests/XMLHttpRequest/send-entity-body-empty-expected.txt:
+        * web-platform-tests/XMLHttpRequest/send-entity-body-empty.htm:
+        * web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async-expected.txt:
+        * web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async.htm:
+        * web-platform-tests/XMLHttpRequest/send-entity-body-get-head-expected.txt:
+        * web-platform-tests/XMLHttpRequest/send-entity-body-get-head.htm:
+        * web-platform-tests/XMLHttpRequest/send-entity-body-none-expected.txt:
+        * web-platform-tests/XMLHttpRequest/send-entity-body-none.htm:
+        * web-platform-tests/XMLHttpRequest/setrequestheader-content-type-expected.txt:
+        * web-platform-tests/XMLHttpRequest/setrequestheader-content-type.htm:
+        * web-platform-tests/XMLHttpRequest/w3c-import.log:
+        * web-platform-tests/dom/events/AddEventListenerOptions-once-expected.txt: Added.
+        * web-platform-tests/dom/events/AddEventListenerOptions-once.html: Added.
+        * web-platform-tests/dom/events/w3c-import.log:
+        * web-platform-tests/dom/lists/DOMTokenList-iteration-expected.txt: Added.
+        * web-platform-tests/dom/lists/DOMTokenList-iteration.html: Added.
+        * web-platform-tests/dom/lists/w3c-import.log:
+        * web-platform-tests/dom/nodes/Node-childNodes-expected.txt:
+        * web-platform-tests/dom/nodes/Node-childNodes.html:
+        * web-platform-tests/domparsing/insert_adjacent_html-expected.txt:
+        * web-platform-tests/fetch/api/basic/request-headers-expected.txt:
+        * web-platform-tests/fetch/api/basic/request-headers-worker-expected.txt:
+        * web-platform-tests/fetch/api/basic/request-headers.js:
+        * web-platform-tests/fetch/api/basic/request-referrer-expected.txt: Added.
+        * web-platform-tests/fetch/api/basic/request-referrer.html: Added.
+        * web-platform-tests/fetch/api/basic/request-referrer.js: Added.
+        (testReferrer):
+        * web-platform-tests/fetch/api/basic/w3c-import.log:
+        * web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt:
+        * web-platform-tests/fetch/api/policies/referrer-no-referrer-expected.txt:
+        * web-platform-tests/fetch/api/policies/referrer-no-referrer-worker-expected.txt:
+        * web-platform-tests/fetch/api/policies/referrer-no-referrer.html.headers:
+        * web-platform-tests/fetch/api/policies/referrer-no-referrer.js.headers:
+        * web-platform-tests/fetch/api/policies/referrer-origin-expected.txt:
+        * web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-expected.txt.
+        * web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-worker-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-expected.txt.
+        * web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-worker.html: Added.
+        * web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.html: Added.
+        * web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.html.headers: Added.
+        * web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.js: Added.
+        (promise_test):
+        * web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.js.headers: Added.
+        * web-platform-tests/fetch/api/policies/referrer-origin-worker-expected.txt:
+        * web-platform-tests/fetch/api/policies/referrer-origin.html.headers:
+        * web-platform-tests/fetch/api/policies/referrer-origin.js.headers:
+        * web-platform-tests/fetch/api/policies/referrer-unsafe-url-expected.txt:
+        * web-platform-tests/fetch/api/policies/referrer-unsafe-url-worker-expected.txt:
+        * web-platform-tests/fetch/api/policies/referrer-unsafe-url.html.headers:
+        * web-platform-tests/fetch/api/policies/referrer-unsafe-url.js.headers:
+        * web-platform-tests/fetch/api/policies/w3c-import.log:
+        * web-platform-tests/fetch/api/request/request-cache-expected.txt:
+        * web-platform-tests/fetch/api/request/resources/get-host-info.sub.js: Removed.
+        * web-platform-tests/fetch/nosniff/resources/image.py:
+        (main):
+        * web-platform-tests/fetch/nosniff/stylesheet-expected.txt:
+        * web-platform-tests/fetch/nosniff/stylesheet.html:
+        * web-platform-tests/html/dom/interfaces-expected.txt:
+        * web-platform-tests/html/dom/interfaces.html:
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen-expected.txt:
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen.html:
+        * web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt:
+        * web-platform-tests/html/semantics/grouping-content/the-li-element/grouping-li-expected.txt:
+        * web-platform-tests/html/semantics/grouping-content/the-li-element/grouping-li.html:
+        * web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-open-expected.txt: Added.
+        * web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-open.html: Added.
+        * web-platform-tests/html/semantics/interactive-elements/the-dialog-element/w3c-import.log:
+        * web-platform-tests/html/semantics/scripting-1/the-script-element/script-charset-03-expected.txt: Added.
+        * web-platform-tests/html/semantics/scripting-1/the-script-element/script-charset-03.html: Added.
+        * web-platform-tests/html/semantics/scripting-1/the-script-element/w3c-import.log:
+        * web-platform-tests/html/semantics/tabular-data/the-table-element/caption-methods-expected.txt:
+        * web-platform-tests/html/semantics/tabular-data/the-table-element/caption-methods.html:
+        * web-platform-tests/html/semantics/tabular-data/the-table-element/remove-row-expected.txt: Added.
+        * web-platform-tests/html/semantics/tabular-data/the-table-element/remove-row.html: Added.
+        * web-platform-tests/html/semantics/tabular-data/the-table-element/w3c-import.log:
+        * web-platform-tests/lint.whitelist:
+        * web-platform-tests/service-workers/tools/blink-import.py:
+        (main):
+
</ins><span class="cx"> 2016-08-02  Chris Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Drop custom bindings code for HTMLOptionsCollection.remove()
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cresourcesImportExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/resources/ImportExpectations (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/resources/ImportExpectations        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/resources/ImportExpectations        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -124,6 +124,7 @@
</span><span class="cx"> web-platform-tests/dom/nodes/ParentNode-querySelector-All.xht [ Skip ]
</span><span class="cx"> web-platform-tests/dom/traversal/unfinished [ Skip ]
</span><span class="cx"> #web-platform-tests/domparsing [ Import ]
</span><ins>+web-platform-tests/domparsing/insert_adjacent_html.xhtml [ Skip ]
</ins><span class="cx"> web-platform-tests/generic-sensor [ Skip ]
</span><span class="cx"> web-platform-tests/domparsing/DOMParser-parseFromString-xml.html [ Skip ]
</span><span class="cx"> web-platform-tests/domparsing/XMLSerializer-serializeToString.html [ Skip ]
</span><span class="lines">@@ -206,6 +207,7 @@
</span><span class="cx"> web-platform-tests/old-tests [ Skip ]
</span><span class="cx"> web-platform-tests/orientation-event [ Skip ]
</span><span class="cx"> web-platform-tests/page-visibility [ Skip ]
</span><ins>+web-platform-tests/payment-request [ Skip ]
</ins><span class="cx"> web-platform-tests/performance-timeline [ Skip ]
</span><span class="cx"> web-platform-tests/pointerevents [ Skip ]
</span><span class="cx"> web-platform-tests/pointerlock [ Skip ]
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cresourcesTestRepositories"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/resources/TestRepositories (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/resources/TestRepositories        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/resources/TestRepositories        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -15,7 +15,7 @@
</span><span class="cx">     {
</span><span class="cx">         &quot;name&quot;: &quot;web-platform-tests&quot;,
</span><span class="cx">         &quot;url&quot;: &quot;https://github.com/w3c/web-platform-tests.git&quot;, 
</span><del>-        &quot;revision&quot;: &quot;98ec1ad&quot;,
</del><ins>+        &quot;revision&quot;: &quot;d686014&quot;,
</ins><span class="cx">         &quot;paths_to_skip&quot;: [
</span><span class="cx">             &quot;conformance-checkers&quot;,
</span><span class="cx">             &quot;docs&quot;,
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cresourceswebplatformtestsmodulesjson"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/resources/web-platform-tests-modules.json (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/resources/web-platform-tests-modules.json        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/resources/web-platform-tests-modules.json        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -28,8 +28,8 @@
</span><span class="cx">         &quot;path&quot;: [
</span><span class="cx">             &quot;tools&quot;
</span><span class="cx">         ], 
</span><del>-        &quot;url&quot;: &quot;https://github.com/w3c/wpt-tools/archive/09258ba099c2cd0f7c107a5d4e8b5f458c209a47.tar.gz&quot;, 
-        &quot;url_subpath&quot;: &quot;wpt-tools-09258ba099c2cd0f7c107a5d4e8b5f458c209a47&quot;
</del><ins>+        &quot;url&quot;: &quot;https://github.com/w3c/wpt-tools/archive/35de4d0ddd1427e07c1b8b68c2d9bace0b2a08da.tar.gz&quot;, 
+        &quot;url_subpath&quot;: &quot;wpt-tools-35de4d0ddd1427e07c1b8b68c2d9bace0b2a08da&quot;
</ins><span class="cx">     }, 
</span><span class="cx">     {
</span><span class="cx">         &quot;path&quot;: [
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestFormDataappendhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/FormData-append.html (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/FormData-append.html        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/FormData-append.html        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -80,8 +80,13 @@
</span><span class="cx">         assert_equals(fd.get('key'), &quot;null&quot;);
</span><span class="cx">     }, 'testFormDataAppendToFormNull2');
</span><span class="cx">     test(function() {
</span><del>-        assert_object_equals(create_formdata(['key', new Blob(), 'blank.txt']).get('key'),
-                             new File(new Blob(), 'blank.txt'));
</del><ins>+        var before = new Date(new Date().getTime() - 2000); // two seconds ago, in case there's clock drift
+        var fd = create_formdata(['key', new Blob(), 'blank.txt']).get('key');
+        assert_equals(fd.name, &quot;blank.txt&quot;);
+        assert_equals(fd.type, &quot;&quot;);
+        assert_equals(fd.size, 0);
+        assert_greater_than_equal(fd.lastModified, before);
+        assert_less_than_equal(fd.lastModified, new Date());
</ins><span class="cx">     }, 'testFormDataAppendEmptyBlob');
</span><span class="cx"> 
</span><span class="cx">     function create_formdata() {
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestXMLHttpRequestwithCredentialsanyjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.any.js (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.any.js                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.any.js        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,40 @@
</span><ins>+test(function() {
+  var client = new XMLHttpRequest()
+  assert_false(client.withCredentials, &quot;withCredentials defaults to false&quot;)
+  client.withCredentials = true
+  assert_true(client.withCredentials, &quot;is true after setting&quot;)
+}, &quot;default value is false, set value is true&quot;)
+
+test(function() {
+  var client = new XMLHttpRequest()
+  client.open(&quot;GET&quot;, &quot;resources/delay.py?ms=1000&quot;, true)
+  client.withCredentials = true
+  assert_true(client.withCredentials, &quot;set in OPEN state&quot;)
+}, &quot;can also be set in OPEN state&quot;)
+
+test(function() {
+  var client = new XMLHttpRequest()
+  client.open(&quot;GET&quot;, &quot;resources/delay.py?ms=1000&quot;, false)
+  client.withCredentials = true
+  assert_true(client.withCredentials, &quot;set in OPEN state&quot;)
+}, &quot;setting on synchronous XHR&quot;)
+
+async_test(function() {
+  var client = new XMLHttpRequest()
+  client.open(&quot;GET&quot;, &quot;resources/delay.py?ms=1000&quot;)
+  client.send()
+  assert_throws(&quot;InvalidStateError&quot;, function() { client.withCredentials = true })
+  client.onreadystatechange = this.step_func(function() {
+    assert_throws(&quot;InvalidStateError&quot;, function() { client.withCredentials = true })
+    if (client.readyState === 4) {
+      this.done()
+    }
+  })
+}, &quot;setting withCredentials when not in UNSENT, OPENED state (asynchronous)&quot;)
+
+test(function() {
+  var client = new XMLHttpRequest()
+  client.open(&quot;GET&quot;, &quot;resources/delay.py?ms=1000&quot;, false)
+  client.send();
+  assert_throws(&quot;InvalidStateError&quot;, function() { client.withCredentials = true })
+}, &quot;setting withCredentials when in DONE state (synchronous)&quot;)
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestXMLHttpRequestwithCredentialshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.html (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.html        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.html        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>-&lt;!doctype html&gt;
-&lt;meta charset=utf-8&gt;
-&lt;title&gt;XMLHttpRequest#withCredentials&lt;/title&gt;
-&lt;script src=&quot;/resources/testharness.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;/resources/testharnessreport.js&quot;&gt;&lt;/script&gt;
-&lt;script src=XMLHttpRequest-withCredentials.js&gt;&lt;/script&gt;
-&lt;link rel=&quot;help&quot; href=&quot;https://xhr.spec.whatwg.org/#the-withcredentials-attribute&quot;
-      data-tested-assertations=&quot;following::ol/li[1] following::ol/li[2]
-                                following::ol/li[3] following::ol/li[4]&quot;&gt;
-&lt;div id=&quot;log&quot;&gt;&lt;/div&gt;
-&lt;script&gt;
-test_withCredentials(false)
-&lt;/script&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestXMLHttpRequestwithCredentialsjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,42 +0,0 @@
</span><del>-function test_withCredentials(worker) {
-  test(function() {
-    var client = new XMLHttpRequest()
-    assert_false(client.withCredentials, &quot;withCredentials defaults to false&quot;)
-    client.withCredentials = true
-    assert_true(client.withCredentials, &quot;is true after setting&quot;)
-  }, &quot;default value is false, set value is true&quot;)
-
-  test(function() {
-    var client = new XMLHttpRequest()
-    client.open(&quot;GET&quot;, &quot;resources/delay.py?ms=1000&quot;, true)
-    client.withCredentials = true
-    assert_true(client.withCredentials, &quot;set in OPEN state&quot;)
-  }, &quot;can also be set in OPEN state&quot;)
-
-  test(function() {
-    var client = new XMLHttpRequest()
-    client.open(&quot;GET&quot;, &quot;resources/delay.py?ms=1000&quot;, false)
-    client.withCredentials = true
-    assert_true(client.withCredentials, &quot;set in OPEN state&quot;)
-  }, &quot;setting on synchronous XHR&quot;)
-
-  async_test(function() {
-    var client = new XMLHttpRequest()
-    client.open(&quot;GET&quot;, &quot;resources/delay.py?ms=1000&quot;)
-    client.send()
-    assert_throws(&quot;InvalidStateError&quot;, function() { client.withCredentials = true })
-    client.onreadystatechange = this.step_func(function() {
-      assert_throws(&quot;InvalidStateError&quot;, function() { client.withCredentials = true })
-      if (client.readyState === 4) {
-        this.done()
-      }
-    })
-  }, &quot;setting withCredentials when not in UNSENT, OPENED state (asynchronous)&quot;)
-
-  test(function() {
-    var client = new XMLHttpRequest()
-    client.open(&quot;GET&quot;, &quot;resources/delay.py?ms=1000&quot;, false)
-    client.send();
-    assert_throws(&quot;InvalidStateError&quot;, function() { client.withCredentials = true })
-  }, &quot;setting withCredentials when in DONE state (synchronous)&quot;)
-}
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestXMLHttpRequestwithCredentialsworkerjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.js (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.js        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.js        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-importScripts(&quot;/resources/testharness.js&quot;)
-importScripts(&quot;XMLHttpRequest-withCredentials.js&quot;)
-test_withCredentials(true);
-done()
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestheadersnormalizeresponseexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/headers-normalize-response-expected.txt (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/headers-normalize-response-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/headers-normalize-response-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+Whitespace and null in response header values
+
+
+PASS Header value: hello_world\0 
+PASS Header value: \0hello_world 
+PASS Header value: hello\0world 
+PASS Header value: __hello_world 
+PASS Header value: hello_world__ 
+PASS Header value: __hello_world__ 
+PASS Header value: [tab]hello_world 
+PASS Header value: hello_world[tab] 
+PASS Header value: [tab]hello_world[tab] 
+PASS Header value: hello______world 
+PASS Header value: hello[tab]world 
+PASS Header value: \0 
+PASS Header value: ___ 
+PASS Header value: [tab] 
+PASS Header value:  
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestheadersnormalizeresponsehtm"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/headers-normalize-response.htm (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/headers-normalize-response.htm                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/headers-normalize-response.htm        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,42 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;meta charset=utf-8&gt;
+&lt;title&gt;Whitespace and null in header values&lt;/title&gt;
+&lt;script src=/resources/testharness.js&gt;&lt;/script&gt;
+&lt;script src=/resources/testharnessreport.js&gt;&lt;/script&gt;
+&lt;script src=support.js?pipe=sub&gt;&lt;/script&gt;
+
+&lt;h1&gt;Whitespace and null in response header values&lt;/h1&gt;
+
+&lt;div id=log&gt;&lt;/div&gt;
+
+&lt;script&gt;
+
+function matchHeaderValue(val) {
+    test(function () {
+        var client = new XMLHttpRequest();
+        var trimmed = val.trim();
+        client.open(&quot;GET&quot;, &quot;resources/parse-headers.py?my-custom-header=&quot;+encodeURIComponent(val), false);
+        client.send();
+        var r = client.getResponseHeader(&quot;My-Custom-Header&quot;);
+
+        assert_equals(r, trimmed);
+    }, &quot;Header value: &quot; + val.replace(/\t/g, &quot;[tab]&quot;).replace(/ /g, &quot;_&quot;).replace(&quot;\0&quot;, &quot;\\0&quot;));
+}
+
+matchHeaderValue(&quot;hello world\0&quot;);
+matchHeaderValue(&quot;\0hello world&quot;);
+matchHeaderValue(&quot;hello\0world&quot;);
+matchHeaderValue(&quot;  hello world&quot;);
+matchHeaderValue(&quot;hello world  &quot;);
+matchHeaderValue(&quot;  hello world  &quot;);
+matchHeaderValue(&quot;\thello world&quot;);
+matchHeaderValue(&quot;hello world\t&quot;);
+matchHeaderValue(&quot;\thello world\t&quot;);
+matchHeaderValue(&quot;hello      world&quot;);
+matchHeaderValue(&quot;hello\tworld&quot;);
+matchHeaderValue(&quot;\0&quot;);
+matchHeaderValue(&quot;   &quot;);
+matchHeaderValue(&quot;\t&quot;);
+matchHeaderValue(&quot;&quot;);
+
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestopenurlmultiwindowhtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/open-url-multi-window.htm (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/open-url-multi-window.htm        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/open-url-multi-window.htm        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -15,9 +15,10 @@
</span><span class="cx">           var client = new self[0].XMLHttpRequest()
</span><span class="cx">           client.onreadystatechange = function() {
</span><span class="cx">             test.step(function() {
</span><del>-              if(client.readyState == 4)
</del><ins>+              if(client.readyState == 4) {
</ins><span class="cx">                 assert_equals(client.responseText, &quot;bottom\n&quot;)
</span><span class="cx">                 test.done()
</span><ins>+              }
</ins><span class="cx">             })
</span><span class="cx">           }
</span><span class="cx">           client.open(&quot;GET&quot;, &quot;folder.txt&quot;)
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourceslastmodifiedpy"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/last-modified.py (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/last-modified.py        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/last-modified.py        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -4,4 +4,4 @@
</span><span class="cx">     srcmoddt = datetime.datetime.fromtimestamp(os.path.getmtime(srcpath))
</span><span class="cx">     response.headers.set(&quot;Last-Modified&quot;, srcmoddt.strftime(&quot;%a, %d %b %Y %H:%M:%S GMT&quot;))
</span><span class="cx">     response.headers.set(&quot;Content-Type&quot;, &quot;application/xml&quot;)
</span><del>-    return open(srcpath).read()
</del><ins>+    return open(srcpath, &quot;r&quot;).read()
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesparseheaderspy"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/parse-headers.py (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/parse-headers.py                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/parse-headers.py        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+import json
+
+def main(request, response):
+
+    content = &quot;&quot;
+    if &quot;my-custom-header&quot; in request.GET:
+        val = request.GET.first(&quot;my-custom-header&quot;)
+        response.headers.set(&quot;My-Custom-Header&quot;, val)
+
+    return content
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/w3c-import.log (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/w3c-import.log        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/w3c-import.log        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -37,6 +37,7 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/inspect-headers.py
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/invalid-utf8-html.py
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/last-modified.py
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/parse-headers.py
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/redirect.py
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/requri.py
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/shift-jis-html.py
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresponsexmldocumentpropertiesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -16,7 +16,7 @@
</span><span class="cx"> FAIL links assert_equals: expected (undefined) undefined but got (object) object &quot;[object HTMLCollection]&quot;
</span><span class="cx"> PASS cookie 
</span><span class="cx"> PASS lastModified set to time of response if no HTTP header provided 
</span><del>-FAIL lastModified set to related HTTP header if provided assert_equals: expected 1468404072000 but got 1468410886000
</del><ins>+FAIL lastModified set to related HTTP header if provided assert_equals: expected 1470132319000 but got 1470133687000
</ins><span class="cx"> PASS cookie (after setting it) 
</span><span class="cx"> PASS styleSheets 
</span><span class="cx"> PASS implementation 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresponsexmldocumentpropertieshtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-document-properties.htm (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-document-properties.htm        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-document-properties.htm        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx"> 
</span><span class="cx">       test(function() {
</span><span class="cx">         var lastModified = Math.floor(new Date(client.responseXML.lastModified).getTime() / 1000);
</span><del>-        var now = Math.floor(new Date().getTime() / 1000);
</del><ins>+        var now = Math.floor(new Date().getTime(new Date().getTime() + 2000) / 1000); // two seconds from now, in case there's clock drift
</ins><span class="cx">         assert_greater_than_equal(lastModified, timePreXHR);
</span><span class="cx">         assert_less_than_equal(lastModified, now);
</span><span class="cx">       }, 'lastModified set to time of response if no HTTP header provided')
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodydocumentexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,10 +1,10 @@
</span><span class="cx">          
</span><span class="cx"> 
</span><ins>+PASS HTML document, invalid UTF-8 
</ins><span class="cx"> PASS XML document, windows-1252 
</span><del>-PASS HTML document, invalid UTF-8 
</del><span class="cx"> PASS HTML document, shift-jis 
</span><span class="cx"> PASS plain text file 
</span><ins>+PASS empty div 
</ins><span class="cx"> PASS img tag 
</span><span class="cx"> PASS image file 
</span><del>-PASS empty div 
</del><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodyemptyexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-empty-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-empty-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-empty-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,3 +1,5 @@
</span><span class="cx"> 
</span><del>-PASS XMLHttpRequest: send(&quot;&quot;) - empty entity body 
</del><ins>+PASS XMLHttpRequest: send(&quot;&quot;) - empty entity body (POST) 
+PASS XMLHttpRequest: send(&quot;&quot;) - empty entity body (PUT) 
+FAIL XMLHttpRequest: send(&quot;&quot;) - empty entity body (HEAD) assert_equals: expected &quot;NO&quot; but got &quot;0&quot;
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodyemptyhtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-empty.htm (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-empty.htm        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-empty.htm        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -10,13 +10,17 @@
</span><span class="cx">   &lt;body&gt;
</span><span class="cx">     &lt;div id=&quot;log&quot;&gt;&lt;/div&gt;
</span><span class="cx">     &lt;script&gt;
</span><del>-      test(function() {
</del><ins>+      function request(method) {
</ins><span class="cx">         var client = new XMLHttpRequest()
</span><del>-        client.open(&quot;POST&quot;, &quot;resources/content.py&quot;, false)
</del><ins>+        client.open(method, &quot;resources/content.py&quot;, false)
</ins><span class="cx">         client.upload.onloadstart = function(){assert_unreached('this event should not fire for empty strings')}
</span><span class="cx">         client.send(&quot;&quot;)
</span><del>-        assert_equals(client.getResponseHeader(&quot;x-request-content-length&quot;), &quot;0&quot;)
-      })
</del><ins>+        var expectedLength = method == &quot;HEAD&quot; ? &quot;NO&quot; : &quot;0&quot;;
+        assert_equals(client.getResponseHeader(&quot;x-request-content-length&quot;), expectedLength)
+      }
+      test(function() { request(&quot;POST&quot;); }, document.title + &quot; (POST)&quot;);
+      test(function() { request(&quot;PUT&quot;); }, document.title + &quot; (PUT)&quot;);
+      test(function() { request(&quot;HEAD&quot;); }, document.title + &quot; (HEAD)&quot;);
</ins><span class="cx">     &lt;/script&gt;
</span><span class="cx">   &lt;/body&gt;
</span><span class="cx"> &lt;/html&gt;
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodygetheadasyncexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><span class="cx"> 
</span><span class="cx"> PASS XMLHttpRequest: send() - non-empty data argument and GET/HEAD - async, no upload events should fire (GET) 
</span><del>-PASS XMLHttpRequest: send() - non-empty data argument and GET/HEAD - async, no upload events should fire (HEAD) 
</del><ins>+FAIL XMLHttpRequest: send() - non-empty data argument and GET/HEAD - async, no upload events should fire (HEAD) assert_equals: expected &quot;NO&quot; but got &quot;0&quot;
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodygetheadasynchtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async.htm (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async.htm        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async.htm        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -23,13 +23,7 @@
</span><span class="cx">         client.upload.addEventListener('loadstart', logEvt)
</span><span class="cx">         client.addEventListener('loadend', function(){
</span><span class="cx">           test.step(function(){
</span><del>-            if (method === &quot;HEAD&quot;) {
-              // Fetch 4.4.3 --- Set Content-Length to 0 if method is HEAD and
-              // request's body is null.
-              assert_equals(client.getResponseHeader(&quot;x-request-content-length&quot;), &quot;0&quot;)
-            } else {
-              assert_equals(client.getResponseHeader(&quot;x-request-content-length&quot;), &quot;NO&quot;)
-            }
</del><ins>+            assert_equals(client.getResponseHeader(&quot;x-request-content-length&quot;), &quot;NO&quot;)
</ins><span class="cx">             assert_equals(client.getResponseHeader(&quot;x-request-method&quot;), method)
</span><span class="cx">             assert_equals(client.responseText, &quot;&quot;)
</span><span class="cx">             assert_array_equals(events, [])
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodygetheadexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><span class="cx"> 
</span><span class="cx"> PASS XMLHttpRequest: send() - non-empty data argument and GET/HEAD (GET) 
</span><del>-PASS XMLHttpRequest: send() - non-empty data argument and GET/HEAD (HEAD) 
</del><ins>+FAIL XMLHttpRequest: send() - non-empty data argument and GET/HEAD (HEAD) assert_equals: expected &quot;NO&quot; but got &quot;0&quot;
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodygetheadhtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head.htm (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head.htm        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-get-head.htm        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -23,13 +23,7 @@
</span><span class="cx">           client.upload.addEventListener('loadend', logEvt)
</span><span class="cx">           client.upload.addEventListener('loadstart', logEvt)
</span><span class="cx"> 
</span><del>-          if (method === &quot;HEAD&quot;) {
-            // Fetch 4.4.3 --- Set Content-Length to 0 if method is HEAD and
-            // request's body is null.
-            assert_equals(client.getResponseHeader(&quot;x-request-content-length&quot;), &quot;0&quot;)
-          } else {
-            assert_equals(client.getResponseHeader(&quot;x-request-content-length&quot;), &quot;NO&quot;)
-          }
</del><ins>+          assert_equals(client.getResponseHeader(&quot;x-request-content-length&quot;), &quot;NO&quot;)
</ins><span class="cx">           assert_equals(client.getResponseHeader(&quot;x-request-method&quot;), method)
</span><span class="cx">           assert_equals(client.responseText, &quot;&quot;)
</span><span class="cx">           assert_array_equals(events, [])
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodynoneexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-none-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-none-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-none-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,4 +1,8 @@
</span><span class="cx"> 
</span><del>-PASS No content type 
-PASS Explicit content type 
</del><ins>+PASS No content type (POST) 
+PASS No content type (PUT) 
+FAIL No content type (HEAD) assert_equals: expected &quot;NO&quot; but got &quot;0&quot;
+PASS Explicit content type (POST) 
+PASS Explicit content type (PUT) 
+FAIL Explicit content type (HEAD) assert_equals: expected &quot;NO&quot; but got &quot;0&quot;
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodynonehtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-none.htm (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-none.htm        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-none.htm        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -9,24 +9,32 @@
</span><span class="cx">   &lt;body&gt;
</span><span class="cx">     &lt;div id=&quot;log&quot;&gt;&lt;/div&gt;
</span><span class="cx">     &lt;script&gt;
</span><del>-      test(function() {
</del><ins>+      function noContentTypeTest(method) {
</ins><span class="cx">         var client = new XMLHttpRequest()
</span><del>-        client.open(&quot;POST&quot;, &quot;resources/content.py&quot;, false)
</del><ins>+        client.open(method, &quot;resources/content.py&quot;, false)
</ins><span class="cx">         client.upload.onloadstart = function(){assert_unreached('this event should not fire for null')}
</span><span class="cx">         client.send(null)
</span><del>-        assert_equals(client.getResponseHeader(&quot;x-request-content-length&quot;), &quot;0&quot;)
</del><ins>+        var expectedLength = method == &quot;HEAD&quot; ? &quot;NO&quot; : &quot;0&quot;;
+        assert_equals(client.getResponseHeader(&quot;x-request-content-length&quot;), expectedLength)
</ins><span class="cx">         assert_equals(client.getResponseHeader(&quot;x-request-content-type&quot;), &quot;NO&quot;)
</span><del>-      }, &quot;No content type&quot;)
</del><ins>+      }
+      test(function() { noContentTypeTest(&quot;POST&quot;); }, &quot;No content type (POST)&quot;);
+      test(function() { noContentTypeTest(&quot;PUT&quot;); }, &quot;No content type (PUT)&quot;);
+      test(function() { noContentTypeTest(&quot;HEAD&quot;); }, &quot;No content type (HEAD)&quot;);
</ins><span class="cx"> 
</span><del>-      test(function() {
</del><ins>+      function explicitContentTypeTest(method) {
</ins><span class="cx">         var client = new XMLHttpRequest()
</span><del>-        client.open(&quot;POST&quot;, &quot;resources/content.py&quot;, false)
</del><ins>+        client.open(method, &quot;resources/content.py&quot;, false)
</ins><span class="cx">         var content_type = 'application/x-foo'
</span><span class="cx">         client.setRequestHeader('Content-Type', content_type)
</span><span class="cx">         client.send(null)
</span><del>-        assert_equals(client.getResponseHeader(&quot;x-request-content-length&quot;), &quot;0&quot;)
</del><ins>+        var expectedLength = method == &quot;HEAD&quot; ? &quot;NO&quot; : &quot;0&quot;;
+        assert_equals(client.getResponseHeader(&quot;x-request-content-length&quot;), expectedLength)
</ins><span class="cx">         assert_equals(client.getResponseHeader(&quot;x-request-content-type&quot;), content_type)
</span><del>-      }, &quot;Explicit content type&quot;)
</del><ins>+      }
+      test(function() { explicitContentTypeTest(&quot;POST&quot;); }, &quot;Explicit content type (POST)&quot;);
+      test(function() { explicitContentTypeTest(&quot;PUT&quot;); }, &quot;Explicit content type (PUT)&quot;);
+      test(function() { explicitContentTypeTest(&quot;HEAD&quot;); }, &quot;Explicit content type (HEAD)&quot;);
</ins><span class="cx">     &lt;/script&gt;
</span><span class="cx">   &lt;/body&gt;
</span><span class="cx"> &lt;/html&gt;
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsetrequestheadercontenttypeexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,6 +1,37 @@
</span><ins>+CONSOLE MESSAGE: line 26: ArrayBuffer is deprecated in XMLHttpRequest.send(). Use ArrayBufferView instead.
+CONSOLE MESSAGE: line 26: ArrayBuffer is deprecated in XMLHttpRequest.send(). Use ArrayBufferView instead.
+CONSOLE MESSAGE: line 26: ArrayBuffer is deprecated in XMLHttpRequest.send(). Use ArrayBufferView instead.
</ins><span class="cx"> 
</span><del>-PASS XMLHttpRequest: setRequestHeader() - Content-Type header () 
-PASS XMLHttpRequest: setRequestHeader() - Content-Type header ( ) 
-PASS XMLHttpRequest: setRequestHeader() - Content-Type header (null) 
-PASS XMLHttpRequest: setRequestHeader() - Content-Type header (undefined) 
</del><ins>+PASS setRequestHeader(&quot;&quot;) sends a blank string 
+PASS setRequestHeader(&quot; &quot;) sends the string &quot; &quot; 
+PASS setRequestHeader(null) sends the string &quot;null&quot; 
+PASS setRequestHeader(undefined) sends the string &quot;undefined&quot; 
+PASS String request has correct default Content-Type of &quot;text/plain;charset=UTF-8&quot; 
+PASS String request keeps setRequestHeader() Content-Type, with charset adjusted to UTF-8 
+PASS XML Document request respects setRequestHeader(&quot;&quot;) 
+PASS XML Document request has correct default Content-Type of &quot;application/xml;charset=UTF-8&quot; 
+FAIL XML Document request keeps setRequestHeader() Content-Type, with charset adjusted to UTF-8 assert_equals: expected &quot;content-type: application/xhtml+xml;charset=utf-8&quot; but got &quot;content-type: application/xhtml+xml;charset=ascii&quot;
+PASS HTML Document request respects setRequestHeader(&quot;&quot;) 
+PASS HTML Document request has correct default Content-Type of &quot;text/html;charset=UTF-8&quot; 
+FAIL HTML Document request keeps setRequestHeader() Content-Type, with charset adjusted to UTF-8 assert_equals: expected &quot;content-type: text/html+junk;charset=utf-8&quot; but got &quot;content-type: text/html+junk;charset=ascii&quot;
+PASS Blob request respects setRequestHeader(&quot;&quot;) to be specified 
+FAIL Blob request with unset type sends no Content-Type without setRequestHeader() call assert_equals: expected &quot;&quot; but got &quot;content-type: &quot;
+PASS Blob request with unset type keeps setRequestHeader() Content-Type and charset 
+PASS Blob request with set type uses that it for Content-Type unless setRequestHeader() 
+PASS Blob request with set type keeps setRequestHeader() Content-Type and charset 
+PASS ArrayBuffer request respects setRequestHeader(&quot;&quot;) 
+FAIL ArrayBuffer request sends no Content-Type without setRequestHeader() call assert_equals: expected &quot;&quot; but got &quot;content-type: application/x-www-form-urlencoded&quot;
+PASS ArrayBuffer request keeps setRequestHeader() Content-Type and charset 
+PASS ArrayBufferView request respects setRequestHeader(&quot;&quot;) 
+FAIL ArrayBufferView request sends no Content-Type without setRequestHeader() call assert_equals: expected &quot;&quot; but got &quot;content-type: application/x-www-form-urlencoded&quot;
+PASS ArrayBufferView request keeps setRequestHeader() Content-Type and charset 
+PASS FormData request respects setRequestHeader(&quot;&quot;) 
+PASS FormData request has correct default Content-Type of &quot;multipart/form-data;boundary=_&quot; 
+PASS FormData request keeps setRequestHeader() Content-Type and charset 
+FAIL URLSearchParams respects setRequestHeader(&quot;&quot;) assert_unreached: Skipping test as could not create a URLSearchParams;  Reached unreachable code
+FAIL URLSearchParams request has correct default Content-Type of &quot;application/x-www-form-urlencoded;charset=UTF-8&quot; assert_unreached: Skipping test as could not create a URLSearchParams;  Reached unreachable code
+FAIL URLSearchParams request keeps setRequestHeader() Content-Type, with charset adjusted to UTF-8 assert_unreached: Skipping test as could not create a URLSearchParams;  Reached unreachable code
+PASS ReadableStream request respects setRequestHeader(&quot;&quot;) 
+FAIL ReadableStream request with under type sends no Content-Type without setRequestHeader() call assert_equals: expected &quot;&quot; but got &quot;content-type: text/plain;charset=utf-8&quot;
+FAIL ReadableStream request keeps setRequestHeader() Content-Type and charset assert_equals: expected &quot;content-type: application/xml;charset=ascii&quot; but got &quot;content-type: application/xml;charset=utf-8&quot;
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsetrequestheadercontenttypehtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type.htm (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type.htm        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type.htm        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -9,19 +9,229 @@
</span><span class="cx">   &lt;body&gt;
</span><span class="cx">     &lt;div id=&quot;log&quot;&gt;&lt;/div&gt;
</span><span class="cx">     &lt;script&gt;
</span><del>-      function request(value) {
</del><ins>+      function request(inputGenerator, headersToSend, expectedType, title) {
</ins><span class="cx">         test(function() {
</span><ins>+          try {
+            var toSend = inputGenerator();
+          } catch(e) {
+            assert_unreached(&quot;Skipping test as could not create a &quot; + inputGenerator.name.replace(&quot;_&quot;, &quot;&quot;) + &quot;; &quot;);
+          }
</ins><span class="cx">           var client = new XMLHttpRequest()
</span><span class="cx">           client.open(&quot;POST&quot;, &quot;resources/inspect-headers.py?filter_name=Content-Type&quot;, false)
</span><del>-          client.setRequestHeader('Content-Type', value)
-          client.send(&quot;&quot;)
-          assert_equals(client.responseText, 'content-type: '+ String(value ? value.trim() : value).toLowerCase()+'\n' )
-        }, document.title + &quot; (&quot; + value + &quot;)&quot;)
</del><ins>+          for(header in headersToSend) {
+            if (headersToSend.hasOwnProperty(header)) {
+              client.setRequestHeader(header, headersToSend[header]);
+            }
+          }
+          client.send(toSend)
+
+          var responseType = client.responseText.replace(&quot;\n&quot;, &quot;&quot;).replace(&quot;; &quot;, &quot;;&quot;).toLowerCase(); // don't care about case or space after semicolon for charset
+          if (expectedType === undefined || expectedType === null) {
+            assert_equals(responseType, &quot;&quot;);
+          } else if (expectedType instanceof RegExp) {
+            if (!expectedType.ignoreCase) expectedType = new RegExp(expectedType, &quot;i&quot;); // always ignore case; the regex itself will have to remember to handle the optional space after the semicolon for charset
+            assert_regexp_match(responseType, expectedType);
+          } else {
+            expectedType = &quot;content-type: &quot; + String(expectedType ? expectedType.trim().replace(&quot;; &quot;, &quot;;&quot;) : expectedType).toLowerCase()
+            assert_equals(responseType, expectedType);
+          }
+        }, title)
</ins><span class="cx">       }
</span><del>-      request(&quot;&quot;)
-      request(&quot; &quot;)
-      request(null)
-      request(undefined)
</del><ins>+      request(
+        function _String() { return &quot;&quot;; },
+        {&quot;Content-Type&quot;: &quot;&quot;},
+        &quot;&quot;,
+        'setRequestHeader(&quot;&quot;) sends a blank string'
+      )
+      request(
+        function _String() { return &quot;&quot;; },
+        {&quot;Content-Type&quot;: &quot; &quot;},
+        &quot; &quot;,
+        'setRequestHeader(&quot; &quot;) sends the string &quot; &quot;'
+      )
+      request(
+        function _String() { return &quot;&quot;; },
+        {&quot;Content-Type&quot;: null},
+        &quot;null&quot;,
+        'setRequestHeader(null) sends the string &quot;null&quot;'
+      )
+      request(
+        function _String() { return &quot;&quot;; },
+        {&quot;Content-Type&quot;: undefined},
+        &quot;undefined&quot;,
+        'setRequestHeader(undefined) sends the string &quot;undefined&quot;'
+      )
+      request(
+        function _String() { return &quot;test&quot;; },
+        {},
+        &quot;text/plain;charset=UTF-8&quot;,
+        'String request has correct default Content-Type of &quot;text/plain;charset=UTF-8&quot;'
+      )
+      request(
+        function _String() { return &quot;test()&quot;; },
+        {&quot;Content-Type&quot;: &quot;text/javascript;charset=ASCII&quot;},
+        &quot;text/javascript;charset=UTF-8&quot;,
+        &quot;String request keeps setRequestHeader() Content-Type, with charset adjusted to UTF-8&quot;
+      )
+      request(
+        function _XMLDocument() { return new DOMParser().parseFromString(&quot;&lt;xml/&gt;&quot;, &quot;application/xml&quot;); },
+        {&quot;Content-Type&quot;: &quot;&quot;},
+        &quot;&quot;,
+        'XML Document request respects setRequestHeader(&quot;&quot;)'
+      )
+      request(
+        function _XMLDocument() { return new DOMParser().parseFromString(&quot;&lt;xml/&gt;&quot;, &quot;application/xml&quot;); },
+        {},
+        &quot;application/xml;charset=UTF-8&quot;,
+        'XML Document request has correct default Content-Type of &quot;application/xml;charset=UTF-8&quot;'
+      )
+      request(
+        function _XMLDocument() { return new DOMParser().parseFromString(&quot;&lt;xml/&gt;&quot;, &quot;application/xml&quot;); },
+        {&quot;Content-Type&quot;: &quot;application/xhtml+xml;charset=ASCII&quot;},
+        &quot;application/xhtml+xml;charset=UTF-8&quot;,
+        &quot;XML Document request keeps setRequestHeader() Content-Type, with charset adjusted to UTF-8&quot;
+      )
+      request(
+        function _HTMLDocument() { return new DOMParser().parseFromString(&quot;&lt;html&gt;&lt;/html&gt;&quot;, &quot;text/html&quot;); },
+        {&quot;Content-Type&quot;: &quot;&quot;},
+        &quot;&quot;,
+        'HTML Document request respects setRequestHeader(&quot;&quot;)'
+      )
+      request(
+        function _HTMLDocument() { return new DOMParser().parseFromString(&quot;&lt;html&gt;&lt;/html&gt;&quot;, &quot;text/html&quot;); },
+        {},
+        &quot;text/html;charset=UTF-8&quot;,
+        'HTML Document request has correct default Content-Type of &quot;text/html;charset=UTF-8&quot;'
+      )
+      request(
+        function _HTMLDocument() { return new DOMParser().parseFromString(&quot;&lt;html&gt;&lt;/html&gt;&quot;, &quot;text/html&quot;); },
+        {&quot;Content-Type&quot;: &quot;text/html+junk;charset=ASCII&quot;},
+        &quot;text/html+junk;charset=UTF-8&quot;,
+        &quot;HTML Document request keeps setRequestHeader() Content-Type, with charset adjusted to UTF-8&quot;
+      )
+      request(
+        function _Blob() { return new Blob([&quot;test&quot;]); },
+        {&quot;Content-Type&quot;: &quot;&quot;},
+        &quot;&quot;,
+        'Blob request respects setRequestHeader(&quot;&quot;) to be specified'
+      )
+      request(
+        function _Blob() { return new Blob([&quot;test&quot;]); },
+        {},
+        undefined,
+        &quot;Blob request with unset type sends no Content-Type without setRequestHeader() call&quot;
+      )
+      request(
+        function _Blob() { return new Blob([&quot;test&quot;]); },
+        {&quot;Content-Type&quot;: &quot;application/xml;charset=ASCII&quot;},
+        &quot;application/xml;charset=ASCII&quot;,
+        &quot;Blob request with unset type keeps setRequestHeader() Content-Type and charset&quot;
+      )
+      request(
+        function _Blob() { return new Blob([&quot;&lt;xml/&gt;&quot;], {type : &quot;application/xml;charset=ASCII&quot;}); },
+        {},
+        &quot;application/xml;charset=ASCII&quot;,
+        &quot;Blob request with set type uses that it for Content-Type unless setRequestHeader()&quot;
+      )
+      request(
+        function _Blob() { return new Blob([&quot;&lt;xml/&gt;&quot;], {type : &quot;application/xml;charset=UTF8&quot;}); },
+        {&quot;Content-Type&quot;: &quot;application/xml+junk;charset=ASCII&quot;},
+        &quot;application/xml+junk;charset=ASCII&quot;,
+        &quot;Blob request with set type keeps setRequestHeader() Content-Type and charset&quot;
+      )
+      request(
+        function _ArrayBuffer() { return new ArrayBuffer(10); },
+        {&quot;Content-Type&quot;: &quot;&quot;},
+        &quot;&quot;,
+        'ArrayBuffer request respects setRequestHeader(&quot;&quot;)'
+      )
+      request(
+        function _ArrayBuffer() { return new ArrayBuffer(10); },
+        {},
+        undefined,
+        &quot;ArrayBuffer request sends no Content-Type without setRequestHeader() call&quot;
+      )
+      request(
+        function _ArrayBuffer() { return new ArrayBuffer(10); },
+        {&quot;Content-Type&quot;: &quot;application/xml;charset=ASCII&quot;},
+        &quot;application/xml;charset=ASCII&quot;,
+        &quot;ArrayBuffer request keeps setRequestHeader() Content-Type and charset&quot;
+      )
+      request(
+        function _Uint8Array() { return new Uint8Array(new ArrayBuffer(10)); },
+        {&quot;Content-Type&quot;: &quot;&quot;},
+        &quot;&quot;,
+        'ArrayBufferView request respects setRequestHeader(&quot;&quot;)'
+      )
+      request(
+        function _Uint8Array() { return new Uint8Array(new ArrayBuffer(10)); },
+        {},
+        undefined,
+        &quot;ArrayBufferView request sends no Content-Type without setRequestHeader() call&quot;
+      )
+      request(
+        function _Uint8Array() { return new Uint8Array(new ArrayBuffer(10)); },
+        {&quot;Content-Type&quot;: &quot;application/xml;charset=ASCII&quot;},
+        &quot;application/xml;charset=ASCII&quot;,
+        &quot;ArrayBufferView request keeps setRequestHeader() Content-Type and charset&quot;
+      )
+      request(
+        function _FormData() { return new FormData(); },
+        {&quot;Content-Type&quot;: &quot;&quot;},
+        &quot;&quot;,
+        'FormData request respects setRequestHeader(&quot;&quot;)'
+      )
+      request(
+        function _FormData() { return new FormData(); },
+        {},
+        /multipart\/form-data;boundary=(.*)/,
+        'FormData request has correct default Content-Type of &quot;multipart\/form-data;boundary=_&quot;'
+      )
+      request(
+        function _FormData() { return new FormData(); },
+        {&quot;Content-Type&quot;: &quot;application/xml;charset=ASCII&quot;},
+        &quot;application/xml;charset=ASCII&quot;,
+        &quot;FormData request keeps setRequestHeader() Content-Type and charset&quot;
+      )
+      request(
+        function _URLSearchParams() { return new URLSearchParams(&quot;q=testQ&amp;topic=testTopic&quot;) },
+        {&quot;Content-Type&quot;: &quot;&quot;},
+        &quot;&quot;,
+        'URLSearchParams respects setRequestHeader(&quot;&quot;)'
+      )
+      request(
+        function _URLSearchParams() { return new URLSearchParams(&quot;q=testQ&amp;topic=testTopic&quot;) },
+        {},
+        &quot;application/x-www-form-urlencoded;charset=UTF-8&quot;,
+        'URLSearchParams request has correct default Content-Type of &quot;application/x-www-form-urlencoded;charset=UTF-8&quot;'
+      )
+      request(
+        function _URLSearchParams() { return new URLSearchParams(&quot;q=testQ&amp;topic=testTopic&quot;) },
+        {&quot;Content-Type&quot;: &quot;application/xml;charset=ASCII&quot;},
+        &quot;application/xml;charset=UTF-8&quot;,
+        &quot;URLSearchParams request keeps setRequestHeader() Content-Type, with charset adjusted to UTF-8&quot;
+        // the default Content-Type for URLSearchParams has a charset specified (utf-8) in
+        // https://fetch.spec.whatwg.org/#bodyinit, so the user's must be changed to match it
+        // as per https://xhr.spec.whatwg.org/#the-send%28%29-method step 4.
+      )
+      request(
+        function _ReadableStream() { return new ReadableStream() },
+        {&quot;Content-Type&quot;: &quot;&quot;},
+        &quot;&quot;,
+        'ReadableStream request respects setRequestHeader(&quot;&quot;)'
+      )
+      request(
+        function _ReadableStream() { return new ReadableStream() },
+        {},
+        undefined,
+        &quot;ReadableStream request with under type sends no Content-Type without setRequestHeader() call&quot;
+      )
+      request(
+        function _ReadableStream() { return new ReadableStream() },
+        {&quot;Content-Type&quot;: &quot;application/xml;charset=ASCII&quot;},
+        &quot;application/xml;charset=ASCII&quot;,
+        &quot;ReadableStream request keeps setRequestHeader() Content-Type and charset&quot;
+      )
</ins><span class="cx">     &lt;/script&gt;
</span><span class="cx">   &lt;/body&gt;
</span><span class="cx"> &lt;/html&gt;
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/w3c-import.log (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/w3c-import.log        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/w3c-import.log        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -17,9 +17,7 @@
</span><span class="cx"> List of files:
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/FormData-append.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/OWNERS
</span><del>-/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.html
-/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js
-/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.js
</del><ins>+/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.any.js
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-after-receive.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-after-send.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-after-timeout.htm
</span><span class="lines">@@ -63,6 +61,7 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/getresponseheader-server-date.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/getresponseheader-special-characters.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/getresponseheader-unsent-opened-state.htm
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/headers-normalize-response.htm
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/interfaces.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/open-after-abort.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/open-after-setrequestheader.htm
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsAddEventListenerOptionsonceexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-once-expected.txt (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-once-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-once-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+
+PASS Once listener should be invoked only once 
+PASS Once listener should be invoked only once even if the event is nested 
+PASS Once listener should be added / removed like normal listeners 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsAddEventListenerOptionsoncehtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-once.html (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-once.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-once.html        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,81 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;meta charset=&quot;utf-8&quot;&gt;
+&lt;title&gt;AddEventListenerOptions.once&lt;/title&gt;
+&lt;link rel=&quot;author&quot; title=&quot;Xidorn Quan&quot; href=&quot;https://www.upsuper.org&quot;&gt;
+&lt;link rel=&quot;help&quot; href=&quot;https://dom.spec.whatwg.org/#dom-addeventlisteneroptions-once&quot;&gt;
+&lt;script src=&quot;/resources/testharness.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;/resources/testharnessreport.js&quot;&gt;&lt;/script&gt;
+&lt;div id=&quot;log&quot;&gt;&lt;/div&gt;
+&lt;script&gt;
+
+test(function() {
+  var invoked_once = false;
+  var invoked_normal = false;
+  function handler_once() {
+    invoked_once = true;
+  }
+  function handler_normal() {
+    invoked_normal = true;
+  }
+
+  document.addEventListener('test', handler_once, {once: true});
+  document.addEventListener('test', handler_normal);
+  document.dispatchEvent(new Event('test'));
+  assert_equals(invoked_once, true, &quot;Once handler should be invoked&quot;);
+  assert_equals(invoked_normal, true, &quot;Normal handler should be invoked&quot;);
+
+  invoked_once = false;
+  invoked_normal = false;
+  document.dispatchEvent(new Event('test'));
+  assert_equals(invoked_once, false, &quot;Once handler shouldn't be invoked again&quot;);
+  assert_equals(invoked_normal, true, &quot;Normal handler should be invoked again&quot;);
+  document.removeEventListener('test', handler_normal);
+}, &quot;Once listener should be invoked only once&quot;);
+
+test(function() {
+  var invoked_count = 0;
+  function handler() {
+    invoked_count++;
+    if (invoked_count == 1)
+      document.dispatchEvent(new Event('test'));
+  }
+  document.addEventListener('test', handler, {once: true});
+  document.dispatchEvent(new Event('test'));
+  assert_equals(invoked_count, 1, &quot;Once handler should only be invoked once&quot;);
+
+  invoked_count = 0;
+  function handler2() {
+    invoked_count++;
+    if (invoked_count == 1)
+      document.addEventListener('test', handler2, {once: true});
+    if (invoked_count &lt;= 2)
+      document.dispatchEvent(new Event('test'));
+  }
+  document.addEventListener('test', handler2, {once: true});
+  document.dispatchEvent(new Event('test'));
+  assert_equals(invoked_count, 2, &quot;Once handler should only be invoked once after each adding&quot;);
+}, &quot;Once listener should be invoked only once even if the event is nested&quot;);
+
+test(function() {
+  var invoked_count = 0;
+  function handler() {
+    invoked_count++;
+  }
+
+  document.addEventListener('test', handler, {once: true});
+  document.addEventListener('test', handler);
+  document.dispatchEvent(new Event('test'));
+  assert_equals(invoked_count, 1, &quot;The handler should only be added once&quot;);
+
+  invoked_count = 0;
+  document.dispatchEvent(new Event('test'));
+  assert_equals(invoked_count, 0, &quot;The handler was added as a once listener&quot;);
+
+  invoked_count = 0;
+  document.addEventListener('test', handler, {once: true});
+  document.removeEventListener('test', handler);
+  document.dispatchEvent(new Event('test'));
+  assert_equals(invoked_count, 0, &quot;The handler should have been removed&quot;);
+}, &quot;Once listener should be added / removed like normal listeners&quot;);
+
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/w3c-import.log (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/w3c-import.log        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/w3c-import.log        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -15,6 +15,7 @@
</span><span class="cx"> None
</span><span class="cx"> ------------------------------------------------------------------------
</span><span class="cx"> List of files:
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-once.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-passive.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/CustomEvent.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constants.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomlistsDOMTokenListiterationexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-iteration-expected.txt (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-iteration-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-iteration-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL DOMTokenList iteration: keys, values, etc. assert_array_equals: lengths differ, expected 3 got 2
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomlistsDOMTokenListiterationhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-iteration.html (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-iteration.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-iteration.html        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,48 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=utf-8&gt;
+&lt;title&gt;DOMTokenList iteration: keys, values, etc.&lt;/title&gt;
+&lt;script src=/resources/testharness.js&gt;&lt;/script&gt;
+&lt;script src=/resources/testharnessreport.js&gt;&lt;/script&gt;
+&lt;span class=&quot;   a  a b &quot;&gt;&lt;/span&gt;
+&lt;script&gt;
+  test(function() {
+    var list = document.querySelector(&quot;span&quot;).classList;
+    assert_array_equals([...list], [&quot;a&quot;, &quot;a&quot;, &quot;b&quot;]);
+
+    var keys = list.keys();
+    assert_false(keys instanceof Array);
+    keys = [...keys];
+    assert_array_equals(keys, [0, 1, 2]);
+
+    var values = list.values();
+    assert_false(values instanceof Array);
+    values = [...values];
+    assert_array_equals(values, [&quot;a&quot;, &quot;a&quot;, &quot;b&quot;]);
+
+    var entries = list.entries();
+    assert_false(entries instanceof Array);
+    entries = [...entries];
+    assert_equals(entries.length, keys.length);
+    assert_equals(entries.length, values.length);
+    for (var i = 0; i &lt; entries.length; ++i) {
+      assert_array_equals(entries[i], [keys[i], values[i]]);
+    }
+
+    var cur = 0;
+    var thisObj = {};
+    list.forEach(function(value, key, listObj) {
+      assert_equals(listObj, list);
+      assert_equals(this, thisObj);
+      assert_equals(value, values[cur]);
+      assert_equals(key, keys[cur]);
+      cur++;
+    }, thisObj);
+    assert_equals(cur, entries.length);
+
+    assert_equals(list[Symbol.iterator], Array.prototype[Symbol.iterator]);
+    assert_equals(list.keys, Array.prototype.keys);
+    assert_equals(list.values, Array.prototype.values);
+    assert_equals(list.entries, Array.prototype.entries);
+    assert_equals(list.forEach, Array.prototype.forEach);
+  });
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomlistsw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -16,5 +16,6 @@
</span><span class="cx"> ------------------------------------------------------------------------
</span><span class="cx"> List of files:
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-coverage-for-attributes.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-iteration.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-stringifier.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-value.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodechildNodesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-childNodes-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-childNodes-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-childNodes-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -3,4 +3,5 @@
</span><span class="cx"> PASS Node.childNodes on an Element. 
</span><span class="cx"> PASS Node.childNodes on a DocumentFragment. 
</span><span class="cx"> PASS Node.childNodes on a Document. 
</span><ins>+PASS Iterator behavior of Node.childNodes 
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodechildNodeshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-childNodes.html (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-childNodes.html        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-childNodes.html        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -45,4 +45,53 @@
</span><span class="cx"> test(function() {
</span><span class="cx">   check_parent_node(new Document());
</span><span class="cx"> }, &quot;Node.childNodes on a Document.&quot;);
</span><ins>+
+test(function() {
+  var node = document.createElement(&quot;div&quot;);
+  var kid1 = document.createElement(&quot;p&quot;);
+  var kid2 = document.createTextNode(&quot;hey&quot;);
+  var kid3 = document.createElement(&quot;span&quot;);
+  node.appendChild(kid1);
+  node.appendChild(kid2);
+  node.appendChild(kid3);
+
+  var list = node.childNodes;
+  assert_array_equals([...list], [kid1, kid2, kid3]);
+
+  var keys = list.keys();
+  assert_false(keys instanceof Array);
+  keys = [...keys];
+  assert_array_equals(keys, [0, 1, 2]);
+
+  var values = list.values();
+  assert_false(values instanceof Array);
+  values = [...values];
+  assert_array_equals(values, [kid1, kid2, kid3]);
+
+  var entries = list.entries();
+  assert_false(entries instanceof Array);
+  entries = [...entries];
+  assert_equals(entries.length, keys.length);
+  assert_equals(entries.length, values.length);
+  for (var i = 0; i &lt; entries.length; ++i) {
+    assert_array_equals(entries[i], [keys[i], values[i]]);
+  }
+
+  var cur = 0;
+  var thisObj = {};
+  list.forEach(function(value, key, listObj) {
+    assert_equals(listObj, list);
+    assert_equals(this, thisObj);
+    assert_equals(value, values[cur]);
+    assert_equals(key, keys[cur]);
+    cur++;
+  }, thisObj);
+  assert_equals(cur, entries.length);
+
+  assert_equals(list[Symbol.iterator], Array.prototype[Symbol.iterator]);
+  assert_equals(list.keys, Array.prototype.keys);
+  assert_equals(list.values, Array.prototype.values);
+  assert_equals(list.entries, Array.prototype.entries);
+  assert_equals(list.forEach, Array.prototype.forEach);
+}, &quot;Iterator behavior of Node.childNodes&quot;);
</ins><span class="cx"> &lt;/script&gt;
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestheadersexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,6 +1,7 @@
</span><span class="cx"> 
</span><span class="cx"> FAIL Fetch with GET assert_equals: Request has header origin: http://localhost:8800 expected (string) &quot;http://localhost:8800&quot; but got (object) null
</span><span class="cx"> FAIL Fetch with HEAD assert_equals: Request has header origin: http://localhost:8800 expected (string) &quot;http://localhost:8800&quot; but got (object) null
</span><ins>+FAIL Fetch with HEAD with body promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</ins><span class="cx"> PASS Fetch with PUT without body 
</span><span class="cx"> PASS Fetch with PUT with body 
</span><span class="cx"> PASS Fetch with POST without body 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestheadersworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-worker-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-worker-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-worker-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,6 +1,7 @@
</span><span class="cx"> 
</span><span class="cx"> FAIL Fetch with GET assert_equals: Request has header origin: http://localhost:8800 expected (string) &quot;http://localhost:8800&quot; but got (object) null
</span><span class="cx"> FAIL Fetch with HEAD assert_equals: Request has header origin: http://localhost:8800 expected (string) &quot;http://localhost:8800&quot; but got (object) null
</span><ins>+FAIL Fetch with HEAD with body promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</ins><span class="cx"> PASS Fetch with PUT without body 
</span><span class="cx"> PASS Fetch with PUT with body 
</span><span class="cx"> PASS Fetch with POST without body 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestheadersjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.js (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.js        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.js        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -23,7 +23,8 @@
</span><span class="cx"> var url = RESOURCES_DIR + &quot;inspect-headers.py&quot;
</span><span class="cx"> 
</span><span class="cx"> requestHeaders(&quot;Fetch with GET&quot;, url, &quot;GET&quot;, null, location.origin, null);
</span><del>-requestHeaders(&quot;Fetch with HEAD&quot;, url, &quot;HEAD&quot;, null, location.origin, &quot;0&quot;);
</del><ins>+requestHeaders(&quot;Fetch with HEAD&quot;, url, &quot;HEAD&quot;, null, location.origin, null);
+requestHeaders(&quot;Fetch with HEAD with body&quot;, url, &quot;HEAD&quot;, &quot;Request's body&quot;, location.origin, &quot;14&quot;);
</ins><span class="cx"> requestHeaders(&quot;Fetch with PUT without body&quot;, url, &quot;POST&quot;, null, location.origin, &quot;0&quot;);
</span><span class="cx"> requestHeaders(&quot;Fetch with PUT with body&quot;, url, &quot;PUT&quot;, &quot;Request's body&quot;, location.origin, &quot;14&quot;);
</span><span class="cx"> requestHeaders(&quot;Fetch with POST without body&quot;, url, &quot;POST&quot;, null, location.origin, &quot;0&quot;);
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestreferrerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-referrer-expected.txt (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-referrer-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-referrer-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+PASS Fetch: fetch() respects Request referrer value 
+PASS Fetch: fetch() respects Request referrer value 1 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestreferrerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-referrer.html (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-referrer.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-referrer.html        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot;&gt;
+    &lt;title&gt;Fetch: fetch() respects Request referrer value&lt;/title&gt;
+    &lt;script src=&quot;/resources/testharness.js&quot;&gt;&lt;/script&gt;
+    &lt;script src=&quot;/resources/testharnessreport.js&quot;&gt;&lt;/script&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;script src=&quot;../resources/utils.js&quot;&gt;&lt;/script&gt;
+    &lt;script src=&quot;request-referrer.js&quot;&gt;&lt;/script&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestreferrerjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-referrer.js (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-referrer.js                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-referrer.js        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,28 @@
</span><ins>+if (this.document === undefined) {
+  importScripts(&quot;/resources/testharness.js&quot;);
+  importScripts(&quot;../resources/utils.js&quot;);
+}
+
+function testReferrer(referrer, expected) {
+  promise_test(function(test) {
+    var url = RESOURCES_DIR + &quot;inspect-headers.py?headers=referer&quot;
+    var req = new Request(url, { referrer: referrer });
+    return fetch(req).then(function(resp) {
+      var actual = resp.headers.get(&quot;x-request-referer&quot;);
+      if (expected) {
+        assert_equals(actual, expected, &quot;request's referer should be: &quot; + expected);
+        return;
+      }
+      if (actual) {
+        assert_equals(actual, &quot;&quot;, &quot;request's referer should be empty&quot;);
+      }
+    });
+  });
+}
+
+testReferrer(&quot;about:client&quot;, window.location.href);
+
+var fooURL = new URL(&quot;./foo&quot;, window.location).href;
+testReferrer(fooURL, fooURL);
+
+done();
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/w3c-import.log (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/w3c-import.log        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/w3c-import.log        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -36,6 +36,8 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-worker.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.js
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-referrer.html
+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-referrer.js
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url-worker.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url.js
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferrernoreferrerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,5 +1,3 @@
</span><del>-CONSOLE MESSAGE: Unrecognized Content-Security-Policy directive 'referrer'.
</del><span class="cx"> 
</span><del>-
</del><span class="cx"> PASS Request's referrer is empty 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferrernoreferrerworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-worker-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-worker-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-worker-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,5 +1,3 @@
</span><del>-CONSOLE MESSAGE: Unrecognized Content-Security-Policy directive 'referrer'.
</del><span class="cx"> 
</span><del>-
</del><span class="cx"> PASS Request's referrer is empty 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferrernoreferrerhtmlheaders"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer.html.headers (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer.html.headers        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer.html.headers        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1 +1 @@
</span><del>-Content-Security-Policy: referrer no-referrer;
</del><span class="cx">\ No newline at end of file
</span><ins>+Referrer-Policy: no-referrer
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferrernoreferrerjsheaders"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer.js.headers (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer.js.headers        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer.js.headers        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1 +1 @@
</span><del>-Content-Security-Policy: referrer no-referrer;
</del><span class="cx">\ No newline at end of file
</span><ins>+Referrer-Policy: no-referrer
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,6 +1,4 @@
</span><del>-CONSOLE MESSAGE: Unrecognized Content-Security-Policy directive 'referrer'.
</del><span class="cx"> 
</span><del>-
</del><span class="cx"> FAIL Request's referrer is origin assert_equals: request's referrer is http://localhost:8800/ expected &quot;http://localhost:8800/&quot; but got &quot;http://localhost:8800/fetch/api/policies/referrer-origin.html&quot;
</span><span class="cx"> PASS Throw a TypeError referrer is not same-origin with origin 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginwhencrossoriginexpectedtxtfromrev204078trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-expected.txt (from rev 204078, trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-expected.txt) (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL Request's referrer is origin assert_equals: request's referrer is http://localhost:8800/ expected &quot;http://localhost:8800/&quot; but got &quot;http://localhost:8800/fetch/api/policies/referrer-origin-when-cross-origin.html&quot;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginwhencrossoriginworkerexpectedtxtfromrev204078trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-worker-expected.txt (from rev 204078, trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-expected.txt) (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-worker-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-worker-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL Request's referrer is origin assert_equals: request's referrer is http://localhost:8800/ expected &quot;http://localhost:8800/&quot; but got &quot;http://localhost:8800/fetch/api/policies/referrer-origin-when-cross-origin.js?pipe=sub&quot;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginwhencrossoriginworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-worker.html (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-worker.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-worker.html        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot;&gt;
+    &lt;title&gt;Fetch in worker: referrer with origin-when-cross-origin policy&lt;/title&gt;
+    &lt;meta name=&quot;help&quot; href=&quot;https://fetch.spec.whatwg.org/#main-fetch&quot;&gt;
+    &lt;meta name=&quot;help&quot; href=&quot;https://fetch.spec.whatwg.org/#http-network-or-cache-fetch&quot;&gt;
+    &lt;script src=&quot;/resources/testharness.js&quot;&gt;&lt;/script&gt;
+    &lt;script src=&quot;/resources/testharnessreport.js&quot;&gt;&lt;/script&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;script&gt;
+      fetch_tests_from_worker(new Worker(&quot;referrer-origin-when-cross-origin.js?pipe=sub&quot;));
+    &lt;/script&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginwhencrossoriginhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.html (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.html        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot;&gt;
+    &lt;title&gt;Fetch: referrer with origin-when-cross-origin policy&lt;/title&gt;
+    &lt;meta name=&quot;help&quot; href=&quot;https://fetch.spec.whatwg.org/#main-fetch&quot;&gt;
+    &lt;meta name=&quot;help&quot; href=&quot;https://fetch.spec.whatwg.org/#http-network-or-cache-fetch&quot;&gt;
+    &lt;script src=&quot;/resources/testharness.js&quot;&gt;&lt;/script&gt;
+    &lt;script src=&quot;/resources/testharnessreport.js&quot;&gt;&lt;/script&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;script src=&quot;../resources/utils.js&quot;&gt;&lt;/script&gt;
+    &lt;script src=&quot;referrer-origin-when-cross-origin.js?pipe=sub&quot;&gt;&lt;/script&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginwhencrossoriginhtmlheaders"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.html.headers (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.html.headers                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.html.headers        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+Referrer-Policy: origin-when-cross-origin
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginwhencrossoriginjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.js (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.js                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.js        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+if (this.document === undefined) {
+  importScripts(&quot;/resources/testharness.js&quot;);
+  importScripts(&quot;../resources/utils.js&quot;);
+}
+
+var referrerOrigin = &quot;http://{{host}}:{{ports[http][0]}}/&quot;;
+var fetchedUrl = &quot;http://{{host}}:{{ports[http][1]}}&quot; + dirname(location.pathname) + RESOURCES_DIR + &quot;inspect-headers.py?cors&amp;headers=referer&quot;;
+
+promise_test(function(test) {
+  return fetch(fetchedUrl).then(function(resp) {
+    assert_equals(resp.status, 200, &quot;HTTP status is 200&quot;);
+    assert_equals(resp.headers.get(&quot;x-request-referer&quot;), referrerOrigin, &quot;request's referrer is &quot; + referrerOrigin);
+  });
+}, &quot;Request's referrer is origin&quot;);
+
+done();
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginwhencrossoriginjsheaders"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.js.headers (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.js.headers                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.js.headers        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+Referrer-Policy: origin-when-cross-origin
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-worker-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-worker-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-worker-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,6 +1,4 @@
</span><del>-CONSOLE MESSAGE: Unrecognized Content-Security-Policy directive 'referrer'.
</del><span class="cx"> 
</span><del>-
</del><span class="cx"> FAIL Request's referrer is origin assert_equals: request's referrer is http://localhost:8800/ expected &quot;http://localhost:8800/&quot; but got &quot;http://localhost:8800/fetch/api/policies/referrer-origin.js?pipe=sub&quot;
</span><span class="cx"> PASS Throw a TypeError referrer is not same-origin with origin 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginhtmlheaders"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin.html.headers (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin.html.headers        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin.html.headers        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1 +1 @@
</span><del>-Content-Security-Policy: referrer origin;
</del><span class="cx">\ No newline at end of file
</span><ins>+Referrer-Policy: origin
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginjsheaders"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin.js.headers (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin.js.headers        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin.js.headers        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1 +1 @@
</span><del>-Content-Security-Policy: referrer origin;
</del><span class="cx">\ No newline at end of file
</span><ins>+Referrer-Policy: origin
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferrerunsafeurlexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,5 +1,3 @@
</span><del>-CONSOLE MESSAGE: Unrecognized Content-Security-Policy directive 'referrer'.
</del><span class="cx"> 
</span><del>-
</del><span class="cx"> PASS Request's referrer is the full url of current document/worker 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferrerunsafeurlworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-worker-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-worker-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-worker-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,5 +1,3 @@
</span><del>-CONSOLE MESSAGE: Unrecognized Content-Security-Policy directive 'referrer'.
</del><span class="cx"> 
</span><del>-
</del><span class="cx"> PASS Request's referrer is the full url of current document/worker 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferrerunsafeurlhtmlheaders"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url.html.headers (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url.html.headers        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url.html.headers        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1 +1 @@
</span><del>-Content-Security-Policy: referrer unsafe-url;
</del><span class="cx">\ No newline at end of file
</span><ins>+Referrer-Policy: unsafe-url
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferrerunsafeurljsheaders"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url.js.headers (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url.js.headers        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url.js.headers        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1 +1 @@
</span><del>-Content-Security-Policy: referrer unsafe-url;
</del><span class="cx">\ No newline at end of file
</span><ins>+Referrer-Policy: unsafe-url
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/w3c-import.log (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/w3c-import.log        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/w3c-import.log        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -25,6 +25,11 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer.html.headers
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer.js
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer.js.headers
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-worker.html
+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.html
+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.html.headers
+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.js
+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin.js.headers
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-worker.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin.html.headers
</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 (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -37,12 +37,12 @@
</span><span class="cx"> 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 
</span><span class="cx"> 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 
</span><span class="cx"> 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 
</span><del>-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.5142751701087829\&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;Wed, 27 Jul 2016 15:14:16 GMT&quot;
</del><ins>+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.9287170582472863\&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, 02 Aug 2016 10:05:20 GMT&quot;
</ins><span class="cx"> 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
</span><span class="cx"> 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
</span><del>-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.8439838765231941\&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;Wed, 27 Jul 2016 15:14:16 GMT&quot;
</del><ins>+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.08585050505689817\&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, 02 Aug 2016 10:05:20 GMT&quot;
</ins><span class="cx"> 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
</span><span class="cx"> 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
</span><span class="cx"> 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 
</span><span class="lines">@@ -89,8 +89,8 @@
</span><span class="cx"> PASS Responses with the &quot;Cache-Control: no-store&quot; header are not stored in the cache with date and stale response 
</span><span class="cx"> PASS Responses with the &quot;Cache-Control: no-store&quot; header are not stored in the cache with Etag and fresh response 
</span><span class="cx"> PASS Responses with the &quot;Cache-Control: no-store&quot; header are not stored in the cache with date and fresh response 
</span><del>-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.7100561973865757\&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;Wed, 27 Jul 2016 15:14:16 GMT&quot;
</del><ins>+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.6811605903969123\&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, 02 Aug 2016 10:05:20 GMT&quot;
</ins><span class="cx"> 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
</span><span class="cx"> 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
</span><span class="cx"> PASS RequestCache &quot;reload&quot; mode does store the response in the cache with Etag and stale response 
</span><span class="lines">@@ -97,8 +97,8 @@
</span><span class="cx"> PASS RequestCache &quot;reload&quot; mode does store the response in the cache with date and stale response 
</span><span class="cx"> PASS RequestCache &quot;reload&quot; mode does store the response in the cache with Etag and fresh response 
</span><span class="cx"> PASS RequestCache &quot;reload&quot; mode does store the response in the cache with date and fresh response 
</span><del>-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.45824924441966697\&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;Wed, 27 Jul 2016 15:14:16 GMT&quot;
</del><ins>+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.8124005052523855\&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, 02 Aug 2016 10:05:20 GMT&quot;
</ins><span class="cx"> 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
</span><span class="cx"> 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
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapirequestresourcesgethostinfosubjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/resources/get-host-info.sub.js (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/resources/get-host-info.sub.js        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/resources/get-host-info.sub.js        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,32 +0,0 @@
</span><del>-// This file is duplicated verbatim from:
-// service-workers/service-worker/resources/get-host-info.sub.js
-// with the rationale that:
-// - it's better to not reinvent this
-// - at the same time, referencing tests deep inside a sibling test group is
-//   not a great idea and copying the file is the lesser evil.
-function get_host_info() {
-  var ORIGINAL_HOST = '127.0.0.1';
-  var REMOTE_HOST = 'localhost';
-  var UNAUTHENTICATED_HOST = 'example.test';
-  var HTTP_PORT = 8000;
-  var HTTPS_PORT = 8443;
-  try {
-    // In W3C test, we can get the hostname and port number in config.json
-    // using wptserve's built-in pipe.
-    // http://wptserve.readthedocs.org/en/latest/pipes.html#built-in-pipes
-    HTTP_PORT = eval('{{ports[http][0]}}');
-    HTTPS_PORT = eval('{{ports[https][0]}}');
-    ORIGINAL_HOST = eval('\'{{host}}\'');
-    REMOTE_HOST = 'www1.' + ORIGINAL_HOST;
-  } catch (e) {
-  }
-  return {
-    HTTP_ORIGIN: 'http://' + ORIGINAL_HOST + ':' + HTTP_PORT,
-    HTTPS_ORIGIN: 'https://' + ORIGINAL_HOST + ':' + HTTPS_PORT,
-    HTTPS_ORIGIN_WITH_CREDS: 'https://foo:bar@' + ORIGINAL_HOST + ':' + HTTPS_PORT,
-    HTTP_REMOTE_ORIGIN: 'http://' + REMOTE_HOST + ':' + HTTP_PORT,
-    HTTPS_REMOTE_ORIGIN: 'https://' + REMOTE_HOST + ':' + HTTPS_PORT,
-    HTTPS_REMOTE_ORIGIN_WITH_CREDS: 'https://foo:bar@' + REMOTE_HOST + ':' + HTTPS_PORT,
-    UNAUTHENTICATED_ORIGIN: 'http://' + UNAUTHENTICATED_HOST + ':' + HTTP_PORT
-  };
-}
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchnosniffresourcesimagepy"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/nosniff/resources/image.py (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/nosniff/resources/image.py        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/nosniff/resources/image.py        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -3,7 +3,7 @@
</span><span class="cx"> def main(request, response):
</span><span class="cx">     type = request.GET.first(&quot;type&quot;, None)
</span><span class="cx"> 
</span><del>-    body = open(os.path.join(os.path.dirname(__file__), &quot;../../../images/blue96x96.png&quot;)).read()
</del><ins>+    body = open(os.path.join(os.path.dirname(__file__), &quot;../../../images/blue96x96.png&quot;), &quot;rb&quot;).read()
</ins><span class="cx"> 
</span><span class="cx">     response.add_required_headers = False
</span><span class="cx">     response.writer.write_status(200)
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchnosniffstylesheetexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/nosniff/stylesheet-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/nosniff/stylesheet-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/nosniff/stylesheet-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -4,5 +4,5 @@
</span><span class="cx"> FAIL URL query: ?type=x assert_unreached: Unexpected load event Reached unreachable code
</span><span class="cx"> FAIL URL query: ?type=x/x assert_unreached: Unexpected load event Reached unreachable code
</span><span class="cx"> PASS URL query: ?type=text/css 
</span><del>-FAIL URL query: ?type=text/css;blah assert_equals: expected 2 but got 6
</del><ins>+PASS URL query: ?type=text/css;blah 
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchnosniffstylesheethtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/nosniff/stylesheet.html (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/nosniff/stylesheet.html        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/nosniff/stylesheet.html        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -22,11 +22,7 @@
</span><span class="cx">       var link = document.createElement(&quot;link&quot;)
</span><span class="cx">       link.rel = &quot;stylesheet&quot;
</span><span class="cx">       link.onerror = t.unreached_func(&quot;Unexpected error event&quot;)
</span><del>-      link.onload = t.step_func_done(function(){
-        if(passes[passes.length-1] == urlpart) {
-          assert_equals(document.styleSheets.length, passes.length)
-        }
-      })
</del><ins>+      link.onload = t.step_func_done(function(){})
</ins><span class="cx">       link.href = &quot;resources/css.py&quot; + urlpart
</span><span class="cx">       document.body.appendChild(link)
</span><span class="cx">     }, &quot;URL query: &quot; + urlpart)
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldominterfacesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -5615,9 +5615,7 @@
</span><span class="cx"> FAIL Navigator interface: operation yieldForStorageUpdates() assert_own_property: interface prototype object missing non-static operation expected property &quot;yieldForStorageUpdates&quot; missing
</span><span class="cx"> PASS Navigator interface: attribute plugins 
</span><span class="cx"> PASS Navigator interface: attribute mimeTypes 
</span><del>-FAIL Navigator interface: attribute javaEnabled assert_throws: getting property on prototype object must throw TypeError function &quot;function () {
-    [native code]
-}&quot; did not throw
</del><ins>+PASS Navigator interface: operation javaEnabled() 
</ins><span class="cx"> PASS Navigator must be primary interface of window.navigator 
</span><span class="cx"> PASS Stringification of window.navigator 
</span><span class="cx"> PASS Navigator interface: window.navigator must inherit property &quot;appCodeName&quot; with the proper type (0) 
</span><span class="lines">@@ -5646,7 +5644,7 @@
</span><span class="cx"> FAIL Navigator interface: window.navigator must inherit property &quot;yieldForStorageUpdates&quot; with the proper type (17) assert_inherits: property &quot;yieldForStorageUpdates&quot; not found in prototype chain
</span><span class="cx"> PASS Navigator interface: window.navigator must inherit property &quot;plugins&quot; with the proper type (18) 
</span><span class="cx"> PASS Navigator interface: window.navigator must inherit property &quot;mimeTypes&quot; with the proper type (19) 
</span><del>-FAIL Navigator interface: window.navigator must inherit property &quot;javaEnabled&quot; with the proper type (20) assert_equals: expected &quot;boolean&quot; but got &quot;function&quot;
</del><ins>+PASS Navigator interface: window.navigator must inherit property &quot;javaEnabled&quot; with the proper type (20) 
</ins><span class="cx"> PASS PluginArray interface: existence and properties of interface object 
</span><span class="cx"> PASS PluginArray interface object length 
</span><span class="cx"> PASS PluginArray interface object name 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldominterfaceshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces.html (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces.html        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces.html        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -2571,7 +2571,7 @@
</span><span class="cx"> interface NavigatorPlugins {
</span><span class="cx">   readonly attribute PluginArray plugins;
</span><span class="cx">   readonly attribute MimeTypeArray mimeTypes;
</span><del>-  readonly attribute boolean javaEnabled;
</del><ins>+  boolean javaEnabled();
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> interface PluginArray {
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframeallowfullscreenexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -1,9 +1,6 @@
</span><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> FAIL iframe-allowfullscreen assert_true: Top level document has fullscreen enabled flag set expected true got undefined
</span><del>-FAIL iframe-sandbox-allowfullscreen assert_true: Top level document has fullscreen enabled flag set expected true got undefined
-FAIL iframe-allowfullscreen-dialog assert_true: Top level document has fullscreen enabled flag set expected true got undefined
-FAIL iframe-sandbox-allowfullscreen-dialog assert_true: Top level document has fullscreen enabled flag set expected true got undefined
</del><span class="cx"> FAIL iframe-noload-noallowfullscreen assert_false: Fullscreen should not be enabled without allowfullscreen attribute expected false got undefined
</span><span class="cx"> FAIL iframe-noload-allowfullscreen assert_true: Fullscreen should be enabled with allowfullscreen attribute expected true got undefined
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframeallowfullscreenhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen.html (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen.html        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen.html        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -10,9 +10,8 @@
</span><span class="cx"> 
</span><span class="cx"> &lt;div id=&quot;log&quot;&gt;&lt;/div&gt;
</span><span class="cx"> &lt;script&gt;
</span><del>-  function test_allowfullscreen(t, setup_iframe) {
</del><ins>+  async_test(function(t) {
</ins><span class="cx">     var iframe = document.createElement(&quot;iframe&quot;);
</span><del>-    setup_iframe(iframe);
</del><span class="cx">     iframe.src = &quot;support/blank.htm&quot;;
</span><span class="cx">     var eventWatcher = new EventWatcher(t, iframe, &quot;load&quot;);
</span><span class="cx">     document.body.appendChild(iframe);
</span><span class="lines">@@ -21,74 +20,15 @@
</span><span class="cx">     });
</span><span class="cx"> 
</span><span class="cx">     assert_true(document.fullscreenEnabled, &quot;Top level document has fullscreen enabled flag set&quot;);
</span><del>-    eventWatcher.wait_for(&quot;load&quot;).then(t.step_func(function() {
</del><ins>+    eventWatcher.wait_for(&quot;load&quot;).then(t.step_func_done(function() {
</ins><span class="cx">       assert_false(iframe.contentDocument.fullscreenEnabled, &quot;Document inside iframe without allowfullscreen attribute should not have fullscreen enabled flag set&quot;);
</span><span class="cx">       iframe.setAttribute(&quot;allowfullscreen&quot;, true);
</span><del>-      assert_false(iframe.contentDocument.fullscreenEnabled, &quot;Setting allowfullscreen attribute after document load should not affect fullscreen enabled flag&quot;);
-      iframe.contentWindow.location.reload();
-      return eventWatcher.wait_for(&quot;load&quot;);
-    })).then(t.step_func(function() {
-      assert_true(iframe.contentDocument.fullscreenEnabled, &quot;Fullscreen enabled flag should be set when a new document is loaded with allowfullscreen attribute present&quot;);
</del><ins>+      assert_true(iframe.contentDocument.fullscreenEnabled, &quot;Fullscreen should be allowed when allowfullscreen attribute is set&quot;);
</ins><span class="cx">       iframe.removeAttribute(&quot;allowfullscreen&quot;);
</span><del>-      assert_true(iframe.contentDocument.fullscreenEnabled, &quot;Removing allowfullscreen attribute should not affect fullscreen enabled flag&quot;);
-      iframe.contentWindow.location.reload();
-      return eventWatcher.wait_for(&quot;load&quot;);
-    })).then(t.step_func_done(function() {
-      assert_false(iframe.contentDocument.fullscreenEnabled, &quot;Fullscreen enabled flag should be reset when a new document is loaded with allowfullscreen attribute absent&quot;);
</del><ins>+      assert_false(iframe.contentDocument.fullscreenEnabled, &quot;Fullscreen should be denied when allowfullscreen attribute is removed&quot;);
</ins><span class="cx">     }));
</span><del>-  }
-
-  async_test(function(t) {
-    test_allowfullscreen(t, function(iframe) {});
</del><span class="cx">   }, &quot;iframe-allowfullscreen&quot;);
</span><span class="cx"> 
</span><del>-  async_test(function(t) {
-    test_allowfullscreen(t, function(iframe) {
-      iframe.setAttribute(&quot;sandbox&quot;, &quot;allow-same-origin&quot;);
-    });
-  }, &quot;iframe-sandbox-allowfullscreen&quot;);
-
-  /* Fullscreen enabled flag with dialog */
-
-  function test_allowfullscreen_dialog(t, setup_iframe, check) {
-    var iframe = document.createElement(&quot;iframe&quot;);
-    setup_iframe(iframe);
-    iframe.src = &quot;support/blank.htm&quot;;
-    var eventWatcher = new EventWatcher(t, iframe, &quot;load&quot;);
-    document.body.appendChild(iframe);
-    t.add_cleanup(function() {
-      document.body.removeChild(iframe);
-    });
-
-    var newWin;
-    assert_true(document.fullscreenEnabled, &quot;Top level document has fullscreen enabled flag set&quot;);
-    eventWatcher.wait_for(&quot;load&quot;).then(t.step_func(function() {
-      assert_false(iframe.contentDocument.fullscreenEnabled, &quot;Document inside iframe without allowfullscreen attribute should not have fullscreen enabled flag set&quot;);
-      newWin = iframe.contentWindow.open(&quot;support/blank.htm&quot;);
-      t.add_cleanup(function() {
-        newWin.close();
-      });
-      var newWinEventWatcher = new EventWatcher(t, newWin, &quot;load&quot;);
-      return newWinEventWatcher.wait_for(&quot;load&quot;);
-    })).then(t.step_func_done(function() {
-      check(newWin);
-    }));
-  }
-
-  async_test(function(t) {
-    test_allowfullscreen_dialog(t, function() {}, function(newWin) {
-      assert_true(newWin.document.fullscreenEnabled, &quot;Document in the new window is a top level document, thus should has fullscreen enabled flag set&quot;);
-    });
-  }, &quot;iframe-allowfullscreen-dialog&quot;);
-
-  async_test(function(t) {
-    test_allowfullscreen_dialog(t, function(iframe) {
-      iframe.setAttribute(&quot;sandbox&quot;, &quot;allow-same-origin allow-popups&quot;);
-    }, function(newWin) {
-      assert_false(newWin.document.fullscreenEnabled, &quot;Document in the new window should inherit the sandboxed fullscreen flag and should not have fullscreen enabled flag set&quot;);
-    });
-  }, &quot;iframe-sandbox-allowfullscreen-dialog&quot;);
-
</del><span class="cx">   /* Fullscreen enabled flag with about:blank */
</span><span class="cx"> 
</span><span class="cx">   function test_allowfullscreen_noload(setup_iframe, check) {
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementenvironmentchangesviewportchangeexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> 
</span><span class="cx"> PASS img (no src), onload, narrow 
</span><span class="cx"> PASS img (no src), resize to wide 
</span><del>-FAIL img (empty src), onload, narrow assert_equals: expected &quot;&quot; but got &quot;http://localhost:8800/html/semantics/embedded-content/the-img-element/environment-changes/iframed.sub.html?id=d8d26f64-5aa4-456c-a535-7ac76894546f&quot;
</del><ins>+FAIL img (empty src), onload, narrow assert_equals: expected &quot;&quot; but got &quot;http://localhost:8800/html/semantics/embedded-content/the-img-element/environment-changes/iframed.sub.html?id=d6faadce-3036-450a-9bee-b52b02702197&quot;
</ins><span class="cx"> PASS img (empty src), resize to wide 
</span><span class="cx"> PASS img (src only) broken image, onload, narrow 
</span><span class="cx"> PASS img (src only) broken image, resize to wide 
</span><span class="lines">@@ -26,7 +26,7 @@
</span><span class="cx"> FAIL picture: same URL in source (max-width:500px) and img, resize to wide assert_unreached: Got unexpected load event Reached unreachable code
</span><span class="cx"> PASS img (no src), onload, wide 
</span><span class="cx"> PASS img (no src), resize to narrow 
</span><del>-FAIL img (empty src), onload, wide assert_equals: expected &quot;&quot; but got &quot;http://localhost:8800/html/semantics/embedded-content/the-img-element/environment-changes/iframed.sub.html?id=f1cb87a8-4fac-47a8-9808-f8ae48010ebd&quot;
</del><ins>+FAIL img (empty src), onload, wide assert_equals: expected &quot;&quot; but got &quot;http://localhost:8800/html/semantics/embedded-content/the-img-element/environment-changes/iframed.sub.html?id=506be0db-2b43-4f00-a52d-1e4d6e74ac9c&quot;
</ins><span class="cx"> PASS img (empty src), resize to narrow 
</span><span class="cx"> PASS img (src only) broken image, onload, wide 
</span><span class="cx"> PASS img (src only) broken image, resize to narrow 
</span><span class="lines">@@ -36,13 +36,13 @@
</span><span class="cx"> PASS img (srcset 1 cand) broken image, resize to narrow 
</span><span class="cx"> PASS img (srcset 1 cand) valid image, onload, wide 
</span><span class="cx"> PASS img (srcset 1 cand) valid image, resize to narrow 
</span><del>-FAIL picture: source (max-width:500px) broken image, img broken image, onload, wide assert_equals: expected &quot;http://localhost:8800/images/broken.png?71-f1cb87a8-4fac-47a8-9808-f8ae48010ebd&quot; but got &quot;http://localhost:8800/images/broken.png?70-f1cb87a8-4fac-47a8-9808-f8ae48010ebd&quot;
</del><ins>+FAIL picture: source (max-width:500px) broken image, img broken image, onload, wide assert_equals: expected &quot;http://localhost:8800/images/broken.png?71-506be0db-2b43-4f00-a52d-1e4d6e74ac9c&quot; but got &quot;http://localhost:8800/images/broken.png?70-506be0db-2b43-4f00-a52d-1e4d6e74ac9c&quot;
</ins><span class="cx"> TIMEOUT picture: source (max-width:500px) broken image, img broken image, resize to narrow Test timed out
</span><del>-FAIL picture: source (max-width:500px) broken image, img valid image, onload, wide assert_equals: expected &quot;http://localhost:8800/images/green-2x2.png?81-f1cb87a8-4fac-47a8-9808-f8ae48010ebd&quot; but got &quot;http://localhost:8800/images/broken.png?80-f1cb87a8-4fac-47a8-9808-f8ae48010ebd&quot;
</del><ins>+FAIL picture: source (max-width:500px) broken image, img valid image, onload, wide assert_equals: expected &quot;http://localhost:8800/images/green-2x2.png?81-506be0db-2b43-4f00-a52d-1e4d6e74ac9c&quot; but got &quot;http://localhost:8800/images/broken.png?80-506be0db-2b43-4f00-a52d-1e4d6e74ac9c&quot;
</ins><span class="cx"> TIMEOUT picture: source (max-width:500px) broken image, img valid image, resize to narrow Test timed out
</span><del>-FAIL picture: source (max-width:500px) valid image, img broken image, onload, wide assert_equals: expected &quot;http://localhost:8800/images/broken.png?91-f1cb87a8-4fac-47a8-9808-f8ae48010ebd&quot; but got &quot;http://localhost:8800/images/green-1x1.png?90-f1cb87a8-4fac-47a8-9808-f8ae48010ebd&quot;
</del><ins>+FAIL picture: source (max-width:500px) valid image, img broken image, onload, wide assert_equals: expected &quot;http://localhost:8800/images/broken.png?91-506be0db-2b43-4f00-a52d-1e4d6e74ac9c&quot; but got &quot;http://localhost:8800/images/green-1x1.png?90-506be0db-2b43-4f00-a52d-1e4d6e74ac9c&quot;
</ins><span class="cx"> TIMEOUT picture: source (max-width:500px) valid image, img broken image, resize to narrow Test timed out
</span><del>-FAIL picture: source (max-width:500px) valid image, img valid image, onload, wide assert_equals: expected &quot;http://localhost:8800/images/green-2x2.png?101-f1cb87a8-4fac-47a8-9808-f8ae48010ebd&quot; but got &quot;http://localhost:8800/images/green-1x1.png?100-f1cb87a8-4fac-47a8-9808-f8ae48010ebd&quot;
</del><ins>+FAIL picture: source (max-width:500px) valid image, img valid image, onload, wide assert_equals: expected &quot;http://localhost:8800/images/green-2x2.png?101-506be0db-2b43-4f00-a52d-1e4d6e74ac9c&quot; but got &quot;http://localhost:8800/images/green-1x1.png?100-506be0db-2b43-4f00-a52d-1e4d6e74ac9c&quot;
</ins><span class="cx"> TIMEOUT picture: source (max-width:500px) valid image, img valid image, resize to narrow Test timed out
</span><span class="cx"> PASS picture: same URL in source (max-width:500px) and img, onload, wide 
</span><span class="cx"> PASS picture: same URL in source (max-width:500px) and img, resize to narrow 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsgroupingcontentthelielementgroupingliexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/grouping-content/the-li-element/grouping-li-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/grouping-content/the-li-element/grouping-li-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/grouping-content/the-li-element/grouping-li-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -63,8 +63,6 @@
</span><span class="cx"> list item
</span><span class="cx"> list item
</span><span class="cx"> 
</span><del>-PASS The prototype for li is HTMLLIElement.prototype 
-FAIL li should have a 'value' attribute assert_own_property: li should have a 'value' attribute expected property &quot;value&quot; missing
</del><span class="cx"> PASS Default (unspecified) value of value is 0. 
</span><span class="cx"> PASS .value property reflects content attribute - and both parse value of '2' correctly. 
</span><span class="cx"> PASS IDL and content attribute parse value of '-10' correctly. 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsgroupingcontentthelielementgroupinglihtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/grouping-content/the-li-element/grouping-li.html (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/grouping-content/the-li-element/grouping-li.html        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/grouping-content/the-li-element/grouping-li.html        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -37,9 +37,9 @@
</span><span class="cx"> 
</span><span class="cx">     &lt;p&gt;Unordered List&lt;/p&gt;
</span><span class="cx">     &lt;ul id=&quot;unordered&quot;&gt;
</span><del>-        &lt;li id=&quot;test_li&quot;&gt;list item&lt;/li&gt;
</del><span class="cx">         &lt;li&gt;list item&lt;/li&gt;
</span><span class="cx">         &lt;li&gt;list item&lt;/li&gt;
</span><ins>+        &lt;li&gt;list item&lt;/li&gt;
</ins><span class="cx">     &lt;/ul&gt;
</span><span class="cx">     &lt;/span&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -116,23 +116,11 @@
</span><span class="cx">     &lt;script&gt;
</span><span class="cx">         &quot;use strict&quot;;
</span><span class="cx"> 
</span><del>-        var testLI = document.getElementById(&quot;test_li&quot;), testList = [], i = 0;
-
-        // check that prototype matches spec's DOM interface
-        test(function() {
-            assert_equals(Object.getPrototypeOf(testLI), HTMLLIElement.prototype, &quot;HTMLLIElement.prototype should be used for li&quot;);
-        }, &quot;The prototype for li is HTMLLIElement.prototype&quot;);
-
-        // check that &quot;own&quot; property &quot;value&quot; is present
-        test(function() {
-            assert_own_property(testLI,&quot;value&quot;, &quot;li should have a 'value' attribute&quot;);
-        }, &quot;li should have a 'value' attribute&quot;);
-
</del><span class="cx">         // &quot;The [value] attribute has no default value&quot; so, per https://html.spec.whatwg.org/multipage/#reflect,
</span><span class="cx">         // the default when unspecified is 0
</span><del>-        testList = document.querySelectorAll(&quot;#unordered li, #basic li&quot;);
</del><span class="cx">         test(function() {
</span><del>-            for(i = 0; i &lt; testList.length; i++) {
</del><ins>+            var testList = document.querySelectorAll(&quot;#unordered li, #basic li&quot;);
+            for (var i = 0; i &lt; testList.length; i++) {
</ins><span class="cx">                 assert_equals(testList[i].value, 0, &quot;Default (unspecified) value of value is 0.&quot;);
</span><span class="cx">             }
</span><span class="cx">         }, &quot;Default (unspecified) value of value is 0.&quot;);
</span><span class="lines">@@ -146,55 +134,55 @@
</span><span class="cx"> 
</span><span class="cx">         // start2's first element has value of 2
</span><span class="cx">         test(function() {
</span><del>-            testLI = document.getElementById(&quot;start2&quot;).children[0];
</del><ins>+            var testLI = document.getElementById(&quot;start2&quot;).children[0];
</ins><span class="cx">             assert_equals(testLI.value, 2, &quot;value of 2 -&gt; value of 2&quot;);
</span><span class="cx">         }, &quot;.value property reflects content attribute - and both parse value of '2' correctly.&quot;);
</span><span class="cx"> 
</span><span class="cx">         // negative's first element has value of -10
</span><span class="cx">         test(function() {
</span><del>-            testLI = document.getElementById(&quot;negative&quot;).children[0];
</del><ins>+            var testLI = document.getElementById(&quot;negative&quot;).children[0];
</ins><span class="cx">             assert_equals(testLI.value, -10, &quot;value of -10 -&gt; value of -10&quot;);
</span><span class="cx">         }, &quot;IDL and content attribute parse value of '-10' correctly.&quot;);
</span><span class="cx"> 
</span><span class="cx">         // posFloatDown's first element has value of 4.03 which should return 4
</span><span class="cx">         test(function() {
</span><del>-            testLI = document.getElementById(&quot;posFloatDown&quot;).children[0];
</del><ins>+            var testLI = document.getElementById(&quot;posFloatDown&quot;).children[0];
</ins><span class="cx">             assert_equals(testLI.value, 4, &quot;value of 4.03 -&gt; 4&quot;);
</span><span class="cx">         }, &quot;IDL and content attribute parse value of '4.03' correctly.&quot;);
</span><span class="cx"> 
</span><span class="cx">         // negFloatDown's first element has value of -4.03 which should return -4
</span><span class="cx">         test(function() {
</span><del>-            testLI = document.getElementById(&quot;negFloatDown&quot;).children[0];
</del><ins>+            var testLI = document.getElementById(&quot;negFloatDown&quot;).children[0];
</ins><span class="cx">             assert_equals(testLI.value, -4, &quot;value of -4.03 -&gt; -4&quot;);
</span><span class="cx">         }, &quot;IDL and content attribute parse value of '-4.03' correctly.&quot;);
</span><span class="cx"> 
</span><span class="cx">         // posFloatUp's first element has value of 4.9 which should return 4
</span><span class="cx">         test(function() {
</span><del>-            testLI = document.getElementById(&quot;posFloatUp&quot;).children[0];
</del><ins>+            var testLI = document.getElementById(&quot;posFloatUp&quot;).children[0];
</ins><span class="cx">             assert_equals(testLI.value, 4, &quot;value of 4.9 -&gt; 4&quot;);
</span><span class="cx">         }, &quot;IDL and content attribute parse value of '4.9' correctly.&quot;);
</span><span class="cx"> 
</span><span class="cx">         // negFloatUp's first element has value of -4.9 which should return -4
</span><span class="cx">         test(function() {
</span><del>-            testLI = document.getElementById(&quot;negFloatUp&quot;).children[0];
</del><ins>+            var testLI = document.getElementById(&quot;negFloatUp&quot;).children[0];
</ins><span class="cx">             assert_equals(testLI.value, -4, &quot;value of -4.9 -&gt; -4&quot;);
</span><span class="cx">         }, &quot;IDL and content attribute parse value of '-4.9' correctly.&quot;);
</span><span class="cx"> 
</span><span class="cx">         // exponent's first element has value of 7e2 which should return 7
</span><span class="cx">         test(function() {
</span><del>-            testLI = document.getElementById(&quot;exponent&quot;).children[0];
</del><ins>+            var testLI = document.getElementById(&quot;exponent&quot;).children[0];
</ins><span class="cx">             assert_equals(testLI.value, 7, &quot;value of 7e2 -&gt; 7&quot;);
</span><span class="cx">         }, &quot;IDL and content attribute parse value of '7e2' correctly.&quot;);
</span><span class="cx"> 
</span><span class="cx">         // decimal's first element has value of .5 which should return 0
</span><span class="cx">         test(function() {
</span><del>-            testLI = document.getElementById(&quot;decimal&quot;).children[0];
</del><ins>+            var testLI = document.getElementById(&quot;decimal&quot;).children[0];
</ins><span class="cx">             assert_equals(testLI.value, 0, &quot;value of .5 -&gt; 0 (default)&quot;);
</span><span class="cx">         }, &quot;IDL and content attribute parse value of '.5' correctly.&quot;);
</span><span class="cx"> 
</span><span class="cx">         // letter's first element has value of A which should return 0
</span><span class="cx">         test(function() {
</span><del>-            testLI = document.getElementById(&quot;letter&quot;).children[0];
</del><ins>+            var testLI = document.getElementById(&quot;letter&quot;).children[0];
</ins><span class="cx">             assert_equals(testLI.value, 0, &quot;value of A -&gt; 0 (default)&quot;);
</span><span class="cx">         }, &quot;IDL and content attribute parse value of 'A' correctly.&quot;);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsinteractiveelementsthedialogelementdialogopenexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-open-expected.txt (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-open-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-open-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+foobar
+
+OK
+foobar
+
+OK
+
+FAIL On getting, the IDL open attribute must return true if the content open attribute is set, and false if it is absent. assert_false: expected false got undefined
+FAIL On setting, the content open attribute must be removed if the IDL open attribute is set to false, and must be present if the IDL open attribute is set to true. assert_true: expected true got false
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsinteractiveelementsthedialogelementdialogopenhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-open.html (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-open.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-open.html        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=&quot;utf-8&quot;&gt;
+&lt;title&gt;dialog element: open&lt;/title&gt;
+&lt;link rel=help href=&quot;https://html.spec.whatwg.org/multipage/forms.html#dom-dialog-open&quot;&gt;
+&lt;script src=&quot;/resources/testharness.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;/resources/testharnessreport.js&quot;&gt;&lt;/script&gt;
+&lt;dialog id=&quot;d1&quot;&gt;
+  &lt;p&gt;foobar&lt;/p&gt;
+  &lt;button&gt;OK&lt;/button&gt;
+&lt;/dialog&gt;
+&lt;dialog id=&quot;d2&quot; open&gt;
+  &lt;p&gt;foobar&lt;/p&gt;
+  &lt;button&gt;OK&lt;/button&gt;
+&lt;/dialog&gt;
+&lt;script&gt;
+  var d1 = document.getElementById('d1');
+  var d2 = document.getElementById('d2');
+
+  test(function(){
+    assert_false(d1.open);
+    assert_true(d2.open);
+  }, &quot;On getting, the IDL open attribute must return true if the content open attribute is set, and false if it is absent.&quot;);
+
+  test(function(){
+    d1.open = true;
+    assert_true(d1.hasAttribute(&quot;open&quot;));
+    d2.open = false;
+    assert_false(d2.hasAttribute(&quot;open&quot;));
+  }, &quot;On setting, the content open attribute must be removed if the IDL open attribute is set to false, and must be present if the IDL open attribute is set to true.&quot;);
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsinteractiveelementsthedialogelementw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/w3c-import.log (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/w3c-import.log        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/w3c-import.log        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -17,4 +17,5 @@
</span><span class="cx"> List of files:
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/contains.json
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-close.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-open.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsscripting1thescriptelementscriptcharset03expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-charset-03-expected.txt (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-charset-03-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-charset-03-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Script changing @charset 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsscripting1thescriptelementscriptcharset03html"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-charset-03.html (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-charset-03.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-charset-03.html        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,20 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;head&gt;
+&lt;meta charset=&quot;utf-8&quot;&gt;
+&lt;title&gt;Script changing @charset&lt;/title&gt;
+&lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#scriptingLanguages&quot;&gt;
+&lt;script src=&quot;/resources/testharness.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;/resources/testharnessreport.js&quot;&gt;&lt;/script&gt;
+&lt;div id=&quot;log&quot;&gt;&lt;/div&gt;
+&lt;script&gt;
+async_test(function() {
+  var s = document.createElement(&quot;script&quot;);
+  s.src = &quot;external-script-windows1250.js&quot;;
+  s.charset = &quot;windows-1250&quot;;
+  document.body.appendChild(s);
+  s.charset = &quot;utf-8&quot;;
+  window.onload = this.step_func_done(function() {
+    assert_equals(window.getSomeString(), &quot;\u015b\u0107\u0105\u017c\u017a&quot;);
+  });
+})
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsscripting1thescriptelementw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/w3c-import.log (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/w3c-import.log        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/w3c-import.log        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -33,6 +33,7 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-before-after-events.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-charset-01.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-charset-02.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-charset-03.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-for-event-xhtml.xhtml
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-for-event.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-language-type.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementcaptionmethodsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/caption-methods-expected.txt (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/caption-methods-expected.txt        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/caption-methods-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -7,4 +7,5 @@
</span><span class="cx"> PASS createCaption will not copy table's prefix 
</span><span class="cx"> PASS deleteCaption method removes the first caption element child of the table element 
</span><span class="cx"> PASS deleteCaption method not remove caption that is not in html namespace 
</span><ins>+PASS Setting caption rethrows exception 
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementcaptionmethodshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/caption-methods.html (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/caption-methods.html        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/caption-methods.html        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -36,6 +36,8 @@
</span><span class="cx">   &lt;/table&gt;
</span><span class="cx">   &lt;table id=&quot;table4&quot; style=&quot;display:none&quot;&gt;
</span><span class="cx">   &lt;/table&gt;
</span><ins>+  &lt;table id=&quot;table5&quot; style=&quot;display:none&quot;&gt;
+  &lt;/table&gt;
</ins><span class="cx">   &lt;script&gt;
</span><span class="cx">     test(function () {
</span><span class="cx">       var table0 = document.getElementById('table0');
</span><span class="lines">@@ -81,6 +83,18 @@
</span><span class="cx">       table4.deleteCaption();
</span><span class="cx">       assert_equals(caption.parentNode, table4);
</span><span class="cx">     }, &quot;deleteCaption method not remove caption that is not in html namespace&quot;)
</span><ins>+    test(function() {
+      var table5 = document.getElementById('table5');
+      var caption = document.createElement('caption');
+      caption.appendChild(table5)
+
+      // Node cannot be inserted at the specified point in the hierarchy
+      assert_throws(&quot;HierarchyRequestError&quot;, function() {
+        table5.caption = caption;
+      });
+
+      assert_not_equals(table5.caption, caption);
+    }, &quot;Setting caption rethrows exception&quot;);
</ins><span class="cx">   &lt;/script&gt;
</span><span class="cx"> &lt;/body&gt;
</span><span class="cx"> &lt;/html&gt;
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementremoverowexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/remove-row-expected.txt (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/remove-row-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/remove-row-expected.txt        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+First column        Second column
+
+PASS deleteRow function invalid argument 
+PASS deleteRow function invalid argument bis 
+PASS check normal deleteRow 
+PASS check normal deleteRow bis 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementremoverowhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/remove-row.html (0 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/remove-row.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/remove-row.html        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -0,0 +1,50 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=&quot;utf-8&quot;&gt;
+&lt;title&gt;Delete Row tests&lt;/title&gt;
+&lt;script src=&quot;/resources/testharness.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;/resources/testharnessreport.js&quot;&gt;&lt;/script&gt;
+
+&lt;table id=&quot;element&quot;&gt;
+  &lt;thead&gt;
+    &lt;th&gt;First column&lt;/th&gt;
+    &lt;th&gt;Second column&lt;/th&gt;
+  &lt;/thead&gt;
+  &lt;tbody&gt;
+    &lt;tr&gt;
+      &lt;td&gt;1.1&lt;/td&gt;
+      &lt;td&gt;1.2&lt;/td&gt;
+    &lt;/tr&gt;
+    &lt;tr&gt;
+      &lt;td&gt;2.1&lt;/td&gt;
+      &lt;td&gt;2.2&lt;/td&gt;
+    &lt;/tr&gt;
+  &lt;/tbody&gt;
+&lt;/table&gt;
+
+&lt;script&gt;
+var el = document.getElementById('element');
+
+test(function() {
+  assert_throws(&quot;IndexSizeError&quot;, function() {
+    el.deleteRow(-2)
+  })
+}, 'deleteRow function invalid argument');
+test(function() {
+  assert_throws(&quot;IndexSizeError&quot;, function() {
+    el.deleteRow(el.rows.length)
+  })
+}, 'deleteRow function invalid argument bis');
+
+test(function() {
+  var old_length = el.rows.length;
+  el.insertRow(-1);
+  el.deleteRow(-1);
+  assert_equals(old_length, el.rows.length);
+}, &quot;check normal deleteRow&quot;);
+test(function() {
+  while (el.rows.length &gt; 1) {
+    el.deleteRow(-1);
+  }
+  assert_equals(1, el.rows.length);
+}, &quot;check normal deleteRow bis&quot;);
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/w3c-import.log (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/w3c-import.log        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/w3c-import.log        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -22,6 +22,7 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/insertRow-method-01.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/insertRow-method-02.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/insertRow-method-03.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/remove-row.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tBodies.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tFoot.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tHead.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestslintwhitelist"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/lint.whitelist (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/lint.whitelist        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/lint.whitelist        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -26,6 +26,7 @@
</span><span class="cx"> INDENT TABS: webvtt/*
</span><span class="cx"> INDENT TABS: XMLHttpRequest/*
</span><span class="cx"> INDENT TABS: encoding/legacy*/*
</span><ins>+INDENT TABS: encrypted-media/polyfill/Makefile
</ins><span class="cx"> 
</span><span class="cx"> TRAILING WHITESPACE: app-uri/*
</span><span class="cx"> TRAILING WHITESPACE: battery-status/*
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerstoolsblinkimportpy"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/tools/blink-import.py (204078 => 204079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/tools/blink-import.py        2016-08-03 07:50:40 UTC (rev 204078)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/tools/blink-import.py        2016-08-03 10:41:11 UTC (rev 204079)
</span><span class="lines">@@ -152,7 +152,7 @@
</span><span class="cx">         out_dir = os.path.dirname(out_path)
</span><span class="cx">         if not os.path.exists(out_dir):
</span><span class="cx">             os.makedirs(out_dir)
</span><del>-        with open(os.path.join(test_path, path)) as in_f:
</del><ins>+        with open(os.path.join(test_path, path), &quot;r&quot;) as in_f:
</ins><span class="cx">             data = []
</span><span class="cx">             sub = False
</span><span class="cx">             for line in in_f:
</span><span class="lines">@@ -189,7 +189,7 @@
</span><span class="cx"> 
</span><span class="cx">     for path in source_paths(work_path):
</span><span class="cx">         full_path = os.path.join(work_path, path)
</span><del>-        with open(full_path) as f:
</del><ins>+        with open(full_path, &quot;r&quot;) as f:
</ins><span class="cx">             data = sub_changed_filenames(filename_changes, f)
</span><span class="cx">         with open(full_path, &quot;w&quot;) as f:
</span><span class="cx">             f.write(data)
</span></span></pre>
</div>
</div>

</body>
</html>