<!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>[203164] trunk/LayoutTests</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/203164">203164</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2016-07-13 09:30:38 -0700 (Wed, 13 Jul 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Refresh WPT tests up to c875b42
https://bugs.webkit.org/show_bug.cgi?id=159712

Patch by Youenn Fablet &lt;youennf@gmail.com&gt; on 2016-07-13
Reviewed by Alex Christensen.

LayoutTests/imported/w3c:

* resources/ImportExpectations:
* resources/TestRepositories:
* resources/web-platform-tests-modules.json:
* web-platform-tests/XMLHttpRequest/open-url-multi-window-6-expected.txt: Added.
* web-platform-tests/XMLHttpRequest/open-url-multi-window-6.htm: Added.
* web-platform-tests/XMLHttpRequest/responsexml-basic-expected.txt:
* web-platform-tests/XMLHttpRequest/responsexml-basic.htm:
* web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt:
* web-platform-tests/XMLHttpRequest/send-redirect-post-upload-expected.txt: Added.
* web-platform-tests/XMLHttpRequest/send-redirect-post-upload.htm: Added.
* web-platform-tests/__init__.py:
* web-platform-tests/dom/events/CustomEvent-expected.txt: Added.
* web-platform-tests/dom/events/CustomEvent.html: Added.
* web-platform-tests/dom/events/Event-dispatch-bubbles-true-expected.txt: Added.
* web-platform-tests/dom/events/Event-dispatch-bubbles-true.html: Added.
* web-platform-tests/dom/events/Event-dispatch-detached-click-expected.txt: Added.
* web-platform-tests/dom/events/Event-dispatch-detached-click.html: Added.
* web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation-expected.txt: Added.
* web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation.html: Added.
* web-platform-tests/dom/events/Event-dispatch-order-expected.txt: Added.
* web-platform-tests/dom/events/Event-dispatch-order.html: Added.
* web-platform-tests/dom/events/Event-dispatch-throwing-expected.txt: Added.
* web-platform-tests/dom/events/Event-dispatch-throwing.html: Added.
* web-platform-tests/dom/events/Event-init-while-dispatching-expected.txt: Added.
* web-platform-tests/dom/events/Event-init-while-dispatching.html: Added.
* web-platform-tests/dom/events/Event-subclasses-constructors-expected.txt: Added.
* web-platform-tests/dom/events/Event-subclasses-constructors.html: Added.
* web-platform-tests/dom/events/EventListener-handleEvent-expected.txt: Added.
* web-platform-tests/dom/events/EventListener-handleEvent.html: Added.
* web-platform-tests/dom/events/EventListener-incumbent-global-1.sub-expected.txt: Added.
* web-platform-tests/dom/events/EventListener-incumbent-global-1.sub.html: Added.
* web-platform-tests/dom/events/EventListener-incumbent-global-2.sub-expected.txt: Added.
* web-platform-tests/dom/events/EventListener-incumbent-global-2.sub.html: Added.
* web-platform-tests/dom/events/EventListener-incumbent-global-subframe-1.sub.html: Added.
* web-platform-tests/dom/events/EventListener-incumbent-global-subframe-2.sub.html: Added.
* web-platform-tests/dom/events/EventListener-incumbent-global-subsubframe.sub.html: Added.
* web-platform-tests/dom/lists/DOMTokenList-coverage-for-attributes-expected.txt: Added.
* web-platform-tests/dom/lists/DOMTokenList-coverage-for-attributes.html: Added.
* web-platform-tests/dom/nodes/Document-createElement-namespace-expected.txt:
* web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.html: Added.
* web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.svg: Added.
* web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.xhtml: Added.
* web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.xml: Added.
* web-platform-tests/dom/nodes/ProcessingInstruction-escapes-1-expected.txt: Added.
* web-platform-tests/dom/nodes/ProcessingInstruction-escapes-1.xhtml: Added.
* web-platform-tests/domparsing/DOMParser-parseFromString-html-expected.txt:
* web-platform-tests/domparsing/DOMParser-parseFromString-html.html:
* web-platform-tests/domparsing/createContextualFragment-expected.txt: Added.
* web-platform-tests/domparsing/createContextualFragment.html: Added.
* web-platform-tests/domparsing/innerhtml-01-expected.txt: Added.
* web-platform-tests/domparsing/innerhtml-01.xhtml: Added.
* web-platform-tests/domparsing/innerhtml-03-expected.txt: Added.
* web-platform-tests/domparsing/innerhtml-03.xhtml: Added.
* web-platform-tests/domparsing/innerhtml-04-expected.txt: Added.
* web-platform-tests/domparsing/innerhtml-04.html: Added.
* web-platform-tests/domparsing/innerhtml-05-expected.txt: Added.
* web-platform-tests/domparsing/innerhtml-05.xhtml: Added.
* web-platform-tests/domparsing/innerhtml-06-expected.txt: Added.
* web-platform-tests/domparsing/innerhtml-06.html: Added.
* web-platform-tests/domparsing/innerhtml-07-expected.txt: Added.
* web-platform-tests/domparsing/innerhtml-07.html: Added.
* web-platform-tests/domparsing/insert_adjacent_html-expected.txt: Added.
* web-platform-tests/domparsing/insert_adjacent_html.html: Added.
* web-platform-tests/domparsing/insert_adjacent_html.js: Added.
(testThrowingNoParent):
* web-platform-tests/domparsing/outerhtml-01-expected.txt: Added.
* web-platform-tests/domparsing/outerhtml-01.html: Added.
* web-platform-tests/domparsing/outerhtml-02-expected.txt: Added.
* web-platform-tests/domparsing/outerhtml-02.html: Added.
* web-platform-tests/domparsing/xml-serialization-expected.txt: Added.
* web-platform-tests/domparsing/xml-serialization.xhtml: Added.
* web-platform-tests/fetch/api/basic/request-head-expected.txt: Added.
* web-platform-tests/fetch/api/basic/request-head-worker-expected.txt: Added.
* web-platform-tests/fetch/api/basic/request-head-worker.html: Added.
* web-platform-tests/fetch/api/basic/request-head.html: Added.
* web-platform-tests/fetch/api/basic/request-head.js: Added.
(promise_test):
* 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/response-url-expected.txt: Added.
* web-platform-tests/fetch/api/basic/response-url-worker-expected.txt: Added.
* web-platform-tests/fetch/api/basic/response-url-worker.html: Added.
* web-platform-tests/fetch/api/basic/response-url.html: Added.
* web-platform-tests/fetch/api/basic/response-url.js: Added.
(checkResponseURL):
* web-platform-tests/fetch/api/basic/w3c-import.log:
* web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt:
* web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt:
* web-platform-tests/fetch/api/cors/cors-preflight-expected.txt:
* web-platform-tests/fetch/api/cors/cors-preflight-worker-expected.txt:
* web-platform-tests/fetch/api/cors/cors-preflight.js:
(corsPreflight):
* web-platform-tests/fetch/api/cors/cors-redirect-credentials-worker-expected.txt:
* web-platform-tests/fetch/api/credentials/authentication-basic-worker-expected.txt:
* web-platform-tests/fetch/api/credentials/cookies-worker-expected.txt:
* web-platform-tests/fetch/api/policies/referrer-origin-worker-expected.txt:
* web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt:
* web-platform-tests/fetch/api/redirect/redirect-mode-worker-expected.txt:
* web-platform-tests/fetch/api/request/request-init-002.html:
* web-platform-tests/fetch/api/request/request-init-003.sub-expected.txt:
* web-platform-tests/fetch/api/request/request-init-003.sub.html:
* web-platform-tests/html/dom/interfaces.html:
* web-platform-tests/html/dom/interfaces-expected.txt:
* web-platform-tests/html/semantics/document-metadata/the-base-element/base_about_blank-expected.txt: Added.
* web-platform-tests/html/semantics/document-metadata/the-base-element/base_about_blank.html: Added.
* web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_invalid-expected.txt: Added.
* web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_invalid.html: Added.
* web-platform-tests/html/semantics/document-metadata/the-base-element/base_srcdoc-expected.txt: Added.
* web-platform-tests/html/semantics/document-metadata/the-base-element/base_srcdoc.html: Added.
* web-platform-tests/html/semantics/document-metadata/the-link-element/document-without-browsing-context-expected.txt: Added.
* web-platform-tests/html/semantics/document-metadata/the-link-element/document-without-browsing-context.html: Added.
* web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01-expected.txt:
* web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01.html:
* web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet.py: Added.
(main):
* web-platform-tests/html/semantics/document-metadata/the-link-element/w3c-import.log:
* web-platform-tests/html/semantics/embedded-content/media-elements/video_008-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/media-elements/video_008.htm: Added.
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/historical-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/historical.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-subdocument.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_child.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_grandchild.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_parentage-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_parentage.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_child.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_grandchild.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_parentage-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_parentage.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-load-event-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-load-event.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_harness.js: Added.
(get_test_results.):
(get_test_results):
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_child.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_grandchild.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_parentage-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_parentage.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/stash.py: Added.
(main):
* web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt:
* web-platform-tests/html/semantics/embedded-content/the-img-element/invalid-src-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-img-element/invalid-src.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-img-element/w3c-import.log:
* web-platform-tests/html/semantics/forms/form-submission-0/submit-entity-body-expected.txt: Added.
* web-platform-tests/html/semantics/forms/form-submission-0/submit-entity-body.html: Added.
* web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange-expected.txt:
* web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange.html:
* web-platform-tests/html/semantics/forms/the-form-element/form-indexed-element-expected.txt: Added.
* web-platform-tests/html/semantics/forms/the-form-element/form-indexed-element.html: Added.
* web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown-child.html: Added.
* web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown-expected.txt: Added.
* web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown.html: Added.
* web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown.js: Added.
* web-platform-tests/html/semantics/scripting-1/the-script-element/scripting-enabled-expected.txt: Added.
* web-platform-tests/html/semantics/scripting-1/the-script-element/scripting-enabled.html: Added.
* web-platform-tests/html/semantics/scripting-1/the-script-element/w3c-import.log:
* web-platform-tests/lint.whitelist:
* web-platform-tests/streams/readable-streams/bad-strategies.https-expected.txt:
* web-platform-tests/streams/readable-streams/bad-strategies.js:
(get string_appeared_here):
(promise_test): Deleted.

LayoutTests:

* TestExpectations: Adding some test expectations and skipping some resource files.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsTestExpectations">trunk/LayoutTests/TestExpectations</a></li>
<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="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresponsexmlbasicexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-basic-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresponsexmlbasichtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-basic.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresponsexmldocumentpropertiesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtests__init__py">trunk/LayoutTests/imported/w3c/web-platform-tests/__init__.py</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcreateElementnamespaceexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsingDOMParserparseFromStringhtmlexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/DOMParser-parseFromString-html-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsingDOMParserparseFromStringhtmlhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/DOMParser-parseFromString-html.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="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsbasicworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorscookiesworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorspreflightexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorspreflightworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorspreflightjs">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsredirectcredentialsworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicredentialsauthenticationbasicworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/authentication-basic-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicredentialscookiesworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/cookies-worker-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="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapiredirectredirectlocationworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapiredirectredirectmodeworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-mode-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapirequestrequestinit002html">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-init-002.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapirequestrequestinit003subexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-init-003.sub-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapirequestrequestinit003subhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-init-003.sub.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="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementlinkstyleerror01expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementlinkstyleerror01html">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/w3c-import.log</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="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstextfieldselectiontextfieldselectionsetSelectionRangeexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstextfieldselectiontextfieldselectionsetSelectionRangehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange.html</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="#trunkLayoutTestsimportedw3cwebplatformtestslintwhitelist">trunk/LayoutTests/imported/w3c/web-platform-tests/lint.whitelist</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamsbadstrategieshttpsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.https-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamsbadstrategiesjs">trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.js</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestopenurlmultiwindow6expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/open-url-multi-window-6-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestopenurlmultiwindow6htm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/open-url-multi-window-6.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendredirectpostuploadexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-post-upload-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendredirectpostuploadhtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-post-upload.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsCustomEventexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/CustomEvent-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsCustomEventhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/CustomEvent.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchbubblestrueexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-true-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchbubblestruehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-true.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchdetachedclickexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-detached-click-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchdetachedclickhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-detached-click.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchmultiplestopPropagationexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchmultiplestopPropagationhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchorderexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-order-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchorderhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-order.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchthrowingexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-throwing-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchthrowinghtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-throwing.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventinitwhiledispatchingexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-init-while-dispatching-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventinitwhiledispatchinghtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-init-while-dispatching.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventsubclassesconstructorsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-subclasses-constructors-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventsubclassesconstructorshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-subclasses-constructors.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventListenerhandleEventexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-handleEvent-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventListenerhandleEventhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-handleEvent.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventListenerincumbentglobal1subexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-1.sub-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventListenerincumbentglobal1subhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-1.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventListenerincumbentglobal2subexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-2.sub-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventListenerincumbentglobal2subhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-2.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventListenerincumbentglobalsubframe1subhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-subframe-1.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventListenerincumbentglobalsubframe2subhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-subframe-2.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventListenerincumbentglobalsubsubframesubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-subsubframe.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomlistsDOMTokenListcoverageforattributesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-coverage-for-attributes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomlistsDOMTokenListcoverageforattributeshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-coverage-for-attributes.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesProcessingInstructionescapes1expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ProcessingInstruction-escapes-1-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesProcessingInstructionescapes1xhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ProcessingInstruction-escapes-1.xhtml</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsingcreateContextualFragmentexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/createContextualFragment-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsingcreateContextualFragmenthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/createContextualFragment.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml01expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-01-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml01xhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-01.xhtml</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml03expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-03-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml03xhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-03.xhtml</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml04expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-04-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml04html">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-04.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml05expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-05-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml05xhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-05.xhtml</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml06expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-06-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml06html">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-06.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml07expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-07-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml07html">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-07.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginsert_adjacent_htmlexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/insert_adjacent_html-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginsert_adjacent_htmlhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/insert_adjacent_html.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginsert_adjacent_htmljs">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/insert_adjacent_html.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsingouterhtml01expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/outerhtml-01-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsingouterhtml01html">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/outerhtml-01.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsingouterhtml02expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/outerhtml-02-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsingouterhtml02html">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/outerhtml-02.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsingxmlserializationexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/xml-serialization-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsingxmlserializationxhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/xml-serialization.xhtml</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestheadexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestheadworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestheadworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head-worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestheadhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestheadjs">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicresponseurlexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicresponseurlworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicresponseurlworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url-worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicresponseurlhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicresponseurljs">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathebaseelementbase_about_blankexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_about_blank-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathebaseelementbase_about_blankhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_about_blank.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathebaseelementbase_href_invalidexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_invalid-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathebaseelementbase_href_invalidhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_invalid.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathebaseelementbase_srcdocexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_srcdoc-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathebaseelementbase_srcdochtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_srcdoc.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementdocumentwithoutbrowsingcontextexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/document-without-browsing-context-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementdocumentwithoutbrowsingcontexthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/document-without-browsing-context.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementstylesheetpy">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet.py</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentmediaelementsvideo_008expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/video_008-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentmediaelementsvideo_008htm">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/video_008.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementhistoricalexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/historical-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementhistoricalhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/historical.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheembedelementembedinobjectfallbackexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheembedelementembedinobjectfallbacksubdocumenthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-subdocument.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheembedelementembedinobjectfallbackhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementchange_childhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_child.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementchange_grandchildhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_grandchild.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementchange_parentageexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_parentage-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementchange_parentagehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_parentage.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementcross_origin_childhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_child.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementcross_origin_grandchildhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_grandchild.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementcross_origin_parentageexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_parentage-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementcross_origin_parentagehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_parentage.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="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframeloadeventexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-load-event-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframeloadeventhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-load-event.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframe_harnessjs">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_harness.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframe_sandbox_popups_escapingexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframe_sandbox_popups_escapinghtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframe_sandbox_popups_helperhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframe_sandbox_popups_nonescapingexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframe_sandbox_popups_nonescapinghtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementsame_origin_childhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_child.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementsame_origin_grandchildhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_grandchild.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementsame_origin_parentageexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_parentage-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementsame_origin_parentagehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_parentage.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementstashpy">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/stash.py</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementinvalidsrcexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/invalid-src-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementinvalidsrchtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/invalid-src.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsformsubmission0submitentitybodyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/submit-entity-body-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsformsubmission0submitentitybodyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/submit-entity-body.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstheformelementformindexedelementexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-indexed-element-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstheformelementformindexedelementhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-indexed-element.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsscripting1thescriptelementscriptnotexecutedaftershutdownchildhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown-child.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsscripting1thescriptelementscriptnotexecutedaftershutdownexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsscripting1thescriptelementscriptnotexecutedaftershutdownhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsscripting1thescriptelementscriptnotexecutedaftershutdownjs">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsscripting1thescriptelementscriptingenabledexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/scripting-enabled-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsscripting1thescriptelementscriptingenabledhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/scripting-enabled.html</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/ChangeLog        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2016-07-13  Youenn Fablet  &lt;youennf@gmail.com&gt;
+
+        Refresh WPT tests up to c875b42
+        https://bugs.webkit.org/show_bug.cgi?id=159712
+
+        Reviewed by Alex Christensen.
+
+        * TestExpectations: Adding some test expectations and skipping some resource files.
+
</ins><span class="cx"> 2016-07-13  Frederic Wang  &lt;fwang@igalia.com&gt;
</span><span class="cx"> 
</span><span class="cx">         The display property of many MathML elements can not be overriden by page authors
</span></span></pre></div>
<a id="trunkLayoutTestsTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/TestExpectations (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/TestExpectations        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/TestExpectations        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -233,7 +233,12 @@
</span><span class="cx"> webkit.org/b/136878 js/promises-tests/promises-tests-2-3-3.html [ Slow ]
</span><span class="cx"> 
</span><span class="cx"> # Resource files not in resources folder
</span><ins>+imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-block-defer-scripts-subframe.html [ Skip ]
+imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-not-hang-scriptloader-subframe.html [ Skip ]
</ins><span class="cx"> imported/w3c/web-platform-tests/common/blank.html [ Skip ]
</span><ins>+imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-subframe-1.sub.html [ Skip ]
+imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-subframe-2.sub.html [ Skip ]
+imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-subsubframe.sub.html [ Skip ]
</ins><span class="cx"> imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests [ Skip ]
</span><span class="cx"> imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess-iframe.xml [ Skip ]
</span><span class="cx"> imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode-iframe1.xml [ Skip ]
</span><span class="lines">@@ -257,6 +262,17 @@
</span><span class="cx"> imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/document.open-03-frame.html [ Skip ]
</span><span class="cx"> imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/example.html [ Skip ]
</span><span class="cx"> imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/example2.html [ Skip ]
</span><ins>+imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-iframe.html [ Skip ]
+imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-subdocument.html [ Skip ]
+imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_child.html [ Skip ]
+imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_grandchild.html [ Skip ]
+imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_child.html [ Skip ]
+imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_grandchild.html [ Skip ]
+imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper.html [ Skip ]
+imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_child.html [ Skip ]
+imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_grandchild.html [ Skip ]
+imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/support/blank.htm [ Skip ]
+imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/support/sandbox_allow_script.html [ Skip ]
</ins><span class="cx"> imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/iframed.sub.html [ Skip ]
</span><span class="cx"> imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/sizes/sizes-iframed.sub.html [ Skip ]
</span><span class="cx"> imported/w3c/web-platform-tests/html/semantics/embedded-content/the-object-element/test0.html [ Skip ]
</span><span class="lines">@@ -267,9 +283,9 @@
</span><span class="cx"> imported/w3c/web-platform-tests/html/semantics/grouping-content/the-ol-element/reversed-1a.html [ Skip ]
</span><span class="cx"> imported/w3c/web-platform-tests/html/semantics/grouping-content/the-ol-element/reversed-1b.html [ Skip ]
</span><span class="cx"> imported/w3c/web-platform-tests/html/semantics/grouping-content/the-ol-element/reversed-1c.html [ Skip ]
</span><ins>+imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown-child.html [ Skip ]
</ins><span class="cx"> imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-iframe.html [ Skip ]
</span><del>-imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-block-defer-scripts-subframe.html [ Skip ]
-imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-not-hang-scriptloader-subframe.html [ Skip ]
</del><ins>+
</ins><span class="cx"> imported/w3c/web-platform-tests/service-workers [ Skip ]
</span><span class="cx"> 
</span><span class="cx"> # Skip W3C tests that are too slow in debug builds.
</span><span class="lines">@@ -344,7 +360,11 @@
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/157068 imported/w3c/web-platform-tests/fetch/nosniff/importscripts.html [ Skip ]
</span><span class="cx"> webkit.org/b/157145 imported/w3c/web-platform-tests/fetch/nosniff/stylesheet.html [ Failure Pass ]
</span><del>-webkit.org/b/159413 imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight.html [ Failure ]
</del><ins>+webkit.org/b/159712 imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/document-without-browsing-context.html [ Timeout ]
+webkit.org/b/159712 imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html [ Failure Pass ]
+webkit.org/b/159712 imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html [ Failure Pass ]
+webkit.org/b/159712 imported/w3c/web-platform-tests/XMLHttpRequest/open-url-multi-window-6.htm [ Pass Timeout ]
+webkit.org/b/159712 imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-post-upload.htm [ Crash Pass ]
</ins><span class="cx"> 
</span><span class="cx"> # New W3C ref tests that are failing.
</span><span class="cx"> webkit.org/b/148856 imported/w3c/web-platform-tests/html/semantics/embedded-content/the-video-element/video_initially_paused.html [ ImageOnlyFailure ]
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/ChangeLog        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -1,3 +1,183 @@
</span><ins>+2016-07-13  Youenn Fablet  &lt;youennf@gmail.com&gt;
+
+        Refresh WPT tests up to c875b42
+        https://bugs.webkit.org/show_bug.cgi?id=159712
+
+        Reviewed by Alex Christensen.
+
+        * resources/ImportExpectations:
+        * resources/TestRepositories:
+        * resources/web-platform-tests-modules.json:
+        * web-platform-tests/XMLHttpRequest/open-url-multi-window-6-expected.txt: Added.
+        * web-platform-tests/XMLHttpRequest/open-url-multi-window-6.htm: Added.
+        * web-platform-tests/XMLHttpRequest/responsexml-basic-expected.txt:
+        * web-platform-tests/XMLHttpRequest/responsexml-basic.htm:
+        * web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt:
+        * web-platform-tests/XMLHttpRequest/send-redirect-post-upload-expected.txt: Added.
+        * web-platform-tests/XMLHttpRequest/send-redirect-post-upload.htm: Added.
+        * web-platform-tests/__init__.py:
+        * web-platform-tests/dom/events/CustomEvent-expected.txt: Added.
+        * web-platform-tests/dom/events/CustomEvent.html: Added.
+        * web-platform-tests/dom/events/Event-dispatch-bubbles-true-expected.txt: Added.
+        * web-platform-tests/dom/events/Event-dispatch-bubbles-true.html: Added.
+        * web-platform-tests/dom/events/Event-dispatch-detached-click-expected.txt: Added.
+        * web-platform-tests/dom/events/Event-dispatch-detached-click.html: Added.
+        * web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation-expected.txt: Added.
+        * web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation.html: Added.
+        * web-platform-tests/dom/events/Event-dispatch-order-expected.txt: Added.
+        * web-platform-tests/dom/events/Event-dispatch-order.html: Added.
+        * web-platform-tests/dom/events/Event-dispatch-throwing-expected.txt: Added.
+        * web-platform-tests/dom/events/Event-dispatch-throwing.html: Added.
+        * web-platform-tests/dom/events/Event-init-while-dispatching-expected.txt: Added.
+        * web-platform-tests/dom/events/Event-init-while-dispatching.html: Added.
+        * web-platform-tests/dom/events/Event-subclasses-constructors-expected.txt: Added.
+        * web-platform-tests/dom/events/Event-subclasses-constructors.html: Added.
+        * web-platform-tests/dom/events/EventListener-handleEvent-expected.txt: Added.
+        * web-platform-tests/dom/events/EventListener-handleEvent.html: Added.
+        * web-platform-tests/dom/events/EventListener-incumbent-global-1.sub-expected.txt: Added.
+        * web-platform-tests/dom/events/EventListener-incumbent-global-1.sub.html: Added.
+        * web-platform-tests/dom/events/EventListener-incumbent-global-2.sub-expected.txt: Added.
+        * web-platform-tests/dom/events/EventListener-incumbent-global-2.sub.html: Added.
+        * web-platform-tests/dom/events/EventListener-incumbent-global-subframe-1.sub.html: Added.
+        * web-platform-tests/dom/events/EventListener-incumbent-global-subframe-2.sub.html: Added.
+        * web-platform-tests/dom/events/EventListener-incumbent-global-subsubframe.sub.html: Added.
+        * web-platform-tests/dom/lists/DOMTokenList-coverage-for-attributes-expected.txt: Added.
+        * web-platform-tests/dom/lists/DOMTokenList-coverage-for-attributes.html: Added.
+        * web-platform-tests/dom/nodes/Document-createElement-namespace-expected.txt:
+        * web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.html: Added.
+        * web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.svg: Added.
+        * web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.xhtml: Added.
+        * web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.xml: Added.
+        * web-platform-tests/dom/nodes/ProcessingInstruction-escapes-1-expected.txt: Added.
+        * web-platform-tests/dom/nodes/ProcessingInstruction-escapes-1.xhtml: Added.
+        * web-platform-tests/domparsing/DOMParser-parseFromString-html-expected.txt:
+        * web-platform-tests/domparsing/DOMParser-parseFromString-html.html:
+        * web-platform-tests/domparsing/createContextualFragment-expected.txt: Added.
+        * web-platform-tests/domparsing/createContextualFragment.html: Added.
+        * web-platform-tests/domparsing/innerhtml-01-expected.txt: Added.
+        * web-platform-tests/domparsing/innerhtml-01.xhtml: Added.
+        * web-platform-tests/domparsing/innerhtml-03-expected.txt: Added.
+        * web-platform-tests/domparsing/innerhtml-03.xhtml: Added.
+        * web-platform-tests/domparsing/innerhtml-04-expected.txt: Added.
+        * web-platform-tests/domparsing/innerhtml-04.html: Added.
+        * web-platform-tests/domparsing/innerhtml-05-expected.txt: Added.
+        * web-platform-tests/domparsing/innerhtml-05.xhtml: Added.
+        * web-platform-tests/domparsing/innerhtml-06-expected.txt: Added.
+        * web-platform-tests/domparsing/innerhtml-06.html: Added.
+        * web-platform-tests/domparsing/innerhtml-07-expected.txt: Added.
+        * web-platform-tests/domparsing/innerhtml-07.html: Added.
+        * web-platform-tests/domparsing/insert_adjacent_html-expected.txt: Added.
+        * web-platform-tests/domparsing/insert_adjacent_html.html: Added.
+        * web-platform-tests/domparsing/insert_adjacent_html.js: Added.
+        (testThrowingNoParent):
+        * web-platform-tests/domparsing/outerhtml-01-expected.txt: Added.
+        * web-platform-tests/domparsing/outerhtml-01.html: Added.
+        * web-platform-tests/domparsing/outerhtml-02-expected.txt: Added.
+        * web-platform-tests/domparsing/outerhtml-02.html: Added.
+        * web-platform-tests/domparsing/xml-serialization-expected.txt: Added.
+        * web-platform-tests/domparsing/xml-serialization.xhtml: Added.
+        * web-platform-tests/fetch/api/basic/request-head-expected.txt: Added.
+        * web-platform-tests/fetch/api/basic/request-head-worker-expected.txt: Added.
+        * web-platform-tests/fetch/api/basic/request-head-worker.html: Added.
+        * web-platform-tests/fetch/api/basic/request-head.html: Added.
+        * web-platform-tests/fetch/api/basic/request-head.js: Added.
+        (promise_test):
+        * 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/response-url-expected.txt: Added.
+        * web-platform-tests/fetch/api/basic/response-url-worker-expected.txt: Added.
+        * web-platform-tests/fetch/api/basic/response-url-worker.html: Added.
+        * web-platform-tests/fetch/api/basic/response-url.html: Added.
+        * web-platform-tests/fetch/api/basic/response-url.js: Added.
+        (checkResponseURL):
+        * web-platform-tests/fetch/api/basic/w3c-import.log:
+        * web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt:
+        * web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt:
+        * web-platform-tests/fetch/api/cors/cors-preflight-expected.txt:
+        * web-platform-tests/fetch/api/cors/cors-preflight-worker-expected.txt:
+        * web-platform-tests/fetch/api/cors/cors-preflight.js:
+        (corsPreflight):
+        * web-platform-tests/fetch/api/cors/cors-redirect-credentials-worker-expected.txt:
+        * web-platform-tests/fetch/api/credentials/authentication-basic-worker-expected.txt:
+        * web-platform-tests/fetch/api/credentials/cookies-worker-expected.txt:
+        * web-platform-tests/fetch/api/policies/referrer-origin-worker-expected.txt:
+        * web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt:
+        * web-platform-tests/fetch/api/redirect/redirect-mode-worker-expected.txt:
+        * web-platform-tests/fetch/api/request/request-init-002.html:
+        * web-platform-tests/fetch/api/request/request-init-003.sub-expected.txt:
+        * web-platform-tests/fetch/api/request/request-init-003.sub.html:
+        * web-platform-tests/html/dom/interfaces.html:
+        * web-platform-tests/html/dom/interfaces-expected.txt:
+        * web-platform-tests/html/semantics/document-metadata/the-base-element/base_about_blank-expected.txt: Added.
+        * web-platform-tests/html/semantics/document-metadata/the-base-element/base_about_blank.html: Added.
+        * web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_invalid-expected.txt: Added.
+        * web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_invalid.html: Added.
+        * web-platform-tests/html/semantics/document-metadata/the-base-element/base_srcdoc-expected.txt: Added.
+        * web-platform-tests/html/semantics/document-metadata/the-base-element/base_srcdoc.html: Added.
+        * web-platform-tests/html/semantics/document-metadata/the-link-element/document-without-browsing-context-expected.txt: Added.
+        * web-platform-tests/html/semantics/document-metadata/the-link-element/document-without-browsing-context.html: Added.
+        * web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01-expected.txt:
+        * web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01.html:
+        * web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet.py: Added.
+        (main):
+        * web-platform-tests/html/semantics/document-metadata/the-link-element/w3c-import.log:
+        * web-platform-tests/html/semantics/embedded-content/media-elements/video_008-expected.txt: Added.
+        * web-platform-tests/html/semantics/embedded-content/media-elements/video_008.htm: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-canvas-element/historical-expected.txt: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-canvas-element/historical.html: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-expected.txt: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-subdocument.html: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback.html: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_child.html: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_grandchild.html: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_parentage-expected.txt: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_parentage.html: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_child.html: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_grandchild.html: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_parentage-expected.txt: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_parentage.html: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen-expected.txt: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen.html: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-load-event-expected.txt: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-load-event.html: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_harness.js: Added.
+        (get_test_results.):
+        (get_test_results):
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-expected.txt: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper.html: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-expected.txt: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_child.html: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_grandchild.html: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_parentage-expected.txt: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_parentage.html: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-iframe-element/stash.py: Added.
+        (main):
+        * web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt:
+        * web-platform-tests/html/semantics/embedded-content/the-img-element/invalid-src-expected.txt: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-img-element/invalid-src.html: Added.
+        * web-platform-tests/html/semantics/embedded-content/the-img-element/w3c-import.log:
+        * web-platform-tests/html/semantics/forms/form-submission-0/submit-entity-body-expected.txt: Added.
+        * web-platform-tests/html/semantics/forms/form-submission-0/submit-entity-body.html: Added.
+        * web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange-expected.txt:
+        * web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange.html:
+        * web-platform-tests/html/semantics/forms/the-form-element/form-indexed-element-expected.txt: Added.
+        * web-platform-tests/html/semantics/forms/the-form-element/form-indexed-element.html: Added.
+        * web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown-child.html: Added.
+        * web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown-expected.txt: Added.
+        * web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown.html: Added.
+        * web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown.js: Added.
+        * web-platform-tests/html/semantics/scripting-1/the-script-element/scripting-enabled-expected.txt: Added.
+        * web-platform-tests/html/semantics/scripting-1/the-script-element/scripting-enabled.html: Added.
+        * web-platform-tests/html/semantics/scripting-1/the-script-element/w3c-import.log:
+        * web-platform-tests/lint.whitelist:
+        * web-platform-tests/streams/readable-streams/bad-strategies.https-expected.txt:
+        * web-platform-tests/streams/readable-streams/bad-strategies.js:
+        (get string_appeared_here):
+        (promise_test): Deleted.
+
</ins><span class="cx"> 2016-07-13  Youenn Fablet  &lt;youenn@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [Fetch API] Response should not become disturbed on the ReadableStream creation
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cresourcesImportExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/resources/ImportExpectations (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/resources/ImportExpectations        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/resources/ImportExpectations        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -76,9 +76,11 @@
</span><span class="cx"> web-platform-tests/XMLHttpRequest/send-entity-body-basic.htm [ Skip ]
</span><span class="cx"> web-platform-tests/XMLHttpRequest/send-network-error-async-events.sub.htm [ Skip ]
</span><span class="cx"> web-platform-tests/ambient-light [ Skip ]
</span><ins>+web-platform-tests/annotation-model [ Skip ]
</ins><span class="cx"> web-platform-tests/animation-timing [ Skip ]
</span><span class="cx"> web-platform-tests/app-uri [ Skip ]
</span><span class="cx"> web-platform-tests/battery-status [ Skip ]
</span><ins>+web-platform-tests/browser-payment-api [ Skip ]
</ins><span class="cx"> web-platform-tests/compat [ Skip ]
</span><span class="cx"> web-platform-tests/content-security-policy [ Skip ]
</span><span class="cx"> web-platform-tests/cookies [Skip]
</span><span class="lines">@@ -218,6 +220,7 @@
</span><span class="cx"> web-platform-tests/selectors [ Skip ]
</span><span class="cx"> web-platform-tests/selectors-api [ Skip ]
</span><span class="cx"> #web-platform-tests/service-workers [ Import ]
</span><ins>+web-platform-tests/service-workers/service-worker [ Skip ]
</ins><span class="cx"> web-platform-tests/shadow-dom [ Skip ]
</span><span class="cx"> web-platform-tests/subresource-integrity [ Skip ]
</span><span class="cx"> web-platform-tests/svg [ Skip ]
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cresourcesTestRepositories"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/resources/TestRepositories (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/resources/TestRepositories        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/resources/TestRepositories        2016-07-13 16:30:38 UTC (rev 203164)
</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;03916af&quot;,
</del><ins>+        &quot;revision&quot;: &quot;c875b42&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 (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/resources/web-platform-tests-modules.json        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/resources/web-platform-tests-modules.json        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -3,8 +3,8 @@
</span><span class="cx">         &quot;path&quot;: [
</span><span class="cx">             &quot;resources&quot;
</span><span class="cx">         ], 
</span><del>-        &quot;url&quot;: &quot;https://github.com/w3c/testharness.js/archive/dee0f92b957973785097af3e1b1a5ded9b1e7a94.tar.gz&quot;, 
-        &quot;url_subpath&quot;: &quot;testharness.js-dee0f92b957973785097af3e1b1a5ded9b1e7a94&quot;
</del><ins>+        &quot;url&quot;: &quot;https://github.com/w3c/testharness.js/archive/8550cfecab28e680545486a85887334a3757fd49.tar.gz&quot;, 
+        &quot;url_subpath&quot;: &quot;testharness.js-8550cfecab28e680545486a85887334a3757fd49&quot;
</ins><span class="cx">     }, 
</span><span class="cx">     {
</span><span class="cx">         &quot;path&quot;: [
</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/2f2503955023732d6432cd9c9a7fe03fbdfc6d38.tar.gz&quot;, 
-        &quot;url_subpath&quot;: &quot;wpt-tools-2f2503955023732d6432cd9c9a7fe03fbdfc6d38&quot;
</del><ins>+        &quot;url&quot;: &quot;https://github.com/w3c/wpt-tools/archive/09258ba099c2cd0f7c107a5d4e8b5f458c209a47.tar.gz&quot;, 
+        &quot;url_subpath&quot;: &quot;wpt-tools-09258ba099c2cd0f7c107a5d4e8b5f458c209a47&quot;
</ins><span class="cx">     }, 
</span><span class="cx">     {
</span><span class="cx">         &quot;path&quot;: [
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestopenurlmultiwindow6expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/open-url-multi-window-6-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/open-url-multi-window-6-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/open-url-multi-window-6-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL XMLHttpRequest: open() in document that is not fully active (but may be active) should throw assert_throws: function &quot;function () { client.open(&quot;GET&quot;, &quot;...&quot;) }&quot; did not throw
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestopenurlmultiwindow6htm"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/open-url-multi-window-6.htm (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/open-url-multi-window-6.htm                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/open-url-multi-window-6.htm        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,41 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;title&gt;XMLHttpRequest: open() in document that is not fully active (but may be active) should throw&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;link rel=&quot;help&quot; href=&quot;https://xhr.spec.whatwg.org/#the-open()-method&quot;&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div id=&quot;log&quot;&gt;&lt;/div&gt;
+    &lt;script&gt;
+      var test = async_test(),
+          client,
+          count = 0,
+          win = window.open(&quot;resources/init.htm&quot;);
+      test.add_cleanup(function() { win.close(); });
+      function init() {
+        test.step(function() {
+          if(0 == count) {
+            var doc = win.document;
+            var ifr = document.createElement(&quot;iframe&quot;);
+            ifr.onload = function() {
+              // Again, do things async so we're not doing loads from inside
+              // load events.
+              setTimeout(function() {
+                client = new ifr.contentWindow.XMLHttpRequest();
+                count++;
+                // Important to do a normal navigation, not a reload.
+                win.location.href = &quot;resources/init.htm&quot;;
+              }, 100);
+            }
+            doc.body.appendChild(ifr);
+          } else if(1 == count) {
+            assert_throws(&quot;InvalidStateError&quot;, function() { client.open(&quot;GET&quot;, &quot;...&quot;) })
+            test.done()
+          }
+        })
+      }
+    &lt;/script&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresponsexmlbasicexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-basic-expected.txt (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-basic-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-basic-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><span class="cx"> 
</span><del>-FAIL XMLHttpRequest: responseXML basic test assert_equals: getElementById(&quot;n2&quot;) expected null but got Element node &lt;p xmlns=&quot;namespacesarejuststrings&quot; id=&quot;n2&quot;&gt;2&lt;/p&gt;
</del><ins>+FAIL XMLHttpRequest: responseXML basic test undefined is not an object (evaluating 'client.responseXML.documentElement.childrenNodes')
</ins><span class="cx"> PASS responseXML on empty response documents 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresponsexmlbasichtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-basic.htm (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-basic.htm        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-basic.htm        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -19,7 +19,7 @@
</span><span class="cx">         assert_equals(client.responseXML.documentElement.localName, &quot;html&quot;, 'localName is html')
</span><span class="cx">         assert_equals(client.responseXML.documentElement.childNodes.length, 5, 'childNodes is 5')
</span><span class="cx">         assert_equals(client.responseXML.getElementById(&quot;n1&quot;).localName, client.responseXML.documentElement.childNodes[1].localName)
</span><del>-        assert_equals(client.responseXML.getElementById(&quot;n2&quot;), null, 'getElementById(&quot;n2&quot;)')
</del><ins>+        assert_equals(client.responseXML.getElementById(&quot;n2&quot;), client.responseXML.documentElement.childrenNodes[3], 'getElementById(&quot;n2&quot;)')
</ins><span class="cx">         assert_equals(client.responseXML.getElementsByTagName(&quot;p&quot;)[1].namespaceURI, &quot;namespacesarejuststrings&quot;, 'namespaceURI')
</span><span class="cx">       })
</span><span class="cx">       test(function() {
</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 (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</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 1467730108000 but got 1467737203000
</del><ins>+FAIL lastModified set to related HTTP header if provided assert_equals: expected 1468404072000 but got 1468410886000
</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="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendredirectpostuploadexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-post-upload-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-post-upload-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-post-upload-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+
+PASS XMLHttpRequest: The send() method: POSTing to URL that redirects (301) 
+PASS XMLHttpRequest: The send() method: POSTing to URL that redirects (302) 
+PASS XMLHttpRequest: The send() method: POSTing to URL that redirects (303) 
+PASS XMLHttpRequest: The send() method: POSTing to URL that redirects (307) 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendredirectpostuploadhtm"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-post-upload.htm (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-post-upload.htm                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-post-upload.htm        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,124 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+&lt;head&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://xhr.spec.whatwg.org/#handler-xhr-onprogress&quot; data-tested-assertations=&quot;../..&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://xhr.spec.whatwg.org/#event-xhr-progress&quot; data-tested-assertations=&quot;../..&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://xhr.spec.whatwg.org/#the-send()-method&quot; data-tested-assertations=&quot;following::dt[@id=&quot;dom-xmlhttprequest-send-bodyinit&quot;]/following::dd[1]/p[2] following::ol[1]/li[9]//li[1] following::ol[1]/li[9]//li[2]&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://fetch.spec.whatwg.org/#http-fetch&quot; data-tested-assertations=&quot;following::ol[1]/li[6]/dl/dd[1]//dd[3]&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://fetch.spec.whatwg.org/#concept-http-redirect-fetch&quot; data-tested-assertations=&quot;following::li[16]&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;title&gt;XMLHttpRequest: The send() method: POSTing to URL that redirects&lt;/title&gt;
+&lt;/head&gt;
+
+&lt;body&gt;
+    &lt;div id=&quot;log&quot;&gt;&lt;/div&gt;
+
+    &lt;script type=&quot;text/javascript&quot;&gt;
+    function testRedirectPost(code, shouldResendPost) {
+        var test = async_test(document.title + &quot; (&quot; + code + &quot;)&quot;);
+        var actual = [];
+        // We check upload.onprogress with a boolean because it *might* fire more than once
+        var progressFiredReadyState1 = false;
+
+        var expectedHeaders, expectedEvents;
+
+        // 307 redirects should resend the POST data, and events and headers will be a little different..
+        if(shouldResendPost) {
+            expectedHeaders = { 
+                &quot;X-Request-Content-Length&quot;: &quot;11988&quot;,
+                &quot;X-Request-Content-Type&quot;: &quot;text/plain;charset=UTF-8&quot;,
+                &quot;X-Request-Method&quot;: &quot;POST&quot;,
+                &quot;X-Request-Query&quot;: &quot;NO&quot;,
+                &quot;Content-Length&quot;: &quot;11988&quot;
+            }
+            expectedEvents = [
+                &quot;xhr onreadystatechange 1&quot;,
+                &quot;xhr loadstart 1&quot;,
+                &quot;upload loadstart 1&quot;,
+                &quot;upload loadend 1&quot;,
+                &quot;xhr onreadystatechange 2&quot;,
+                &quot;xhr onreadystatechange 3&quot;,
+                &quot;xhr onreadystatechange 4&quot;,
+                &quot;xhr load 4&quot;,
+                &quot;xhr loadend 4&quot;
+            ];
+        } else {
+            // setting the right expectations for POST resent as GET without request body
+            expectedHeaders = { 
+                &quot;X-Request-Content-Length&quot;: &quot;NO&quot;,
+                &quot;X-Request-Content-Type&quot;: &quot;NO&quot;,
+                &quot;X-Request-Method&quot;: &quot;GET&quot;,
+                &quot;X-Request-Query&quot;: &quot;NO&quot;
+            }            
+            expectedEvents = [
+                &quot;xhr onreadystatechange 1&quot;,
+                &quot;xhr loadstart 1&quot;,
+                &quot;upload loadstart 1&quot;,
+                &quot;upload loadend 1&quot;,
+                &quot;xhr onreadystatechange 2&quot;,
+                /* we expect no onreadystatechange readyState=3 event because there is no loading content */
+                &quot;xhr onreadystatechange 4&quot;,
+                &quot;xhr load 4&quot;,
+                &quot;xhr loadend 4&quot;
+            ];
+        }
+        test.step(function()
+        {
+            var xhr = new XMLHttpRequest();
+
+            xhr.upload.onloadstart = test.step_func(function(e) {
+                actual.push(&quot;upload loadstart &quot; + xhr.readyState);
+            });
+            xhr.upload.onprogress = test.step_func(function(e) {
+                // events every 50ms, one final when uploading is done
+                if(xhr.readyState &gt;= xhr.HEADERS_RECEIVED) {
+                    assert_equals(xhr.status, 200, &quot;JS never gets to see the 30x status code&quot;);
+                }
+                progressFiredReadyState1 = xhr.readyState === xhr.OPENED;
+            });
+            xhr.upload.onloadend = test.step_func(function() {
+                actual.push(&quot;upload loadend &quot; + xhr.readyState);
+            });
+            xhr.onloadstart = test.step_func(function() {
+                actual.push(&quot;xhr loadstart &quot; + xhr.readyState);
+            });
+            xhr.onreadystatechange = test.step_func(function() {
+                if(xhr.readyState &gt;= xhr.HEADERS_RECEIVED) {
+                    assert_equals(xhr.status, 200, &quot;JS never gets to see the 30x status code&quot;);
+                }
+                actual.push(&quot;xhr onreadystatechange &quot; + xhr.readyState);
+            });
+            xhr.onload = test.step_func(function(e)
+            {
+                actual.push(&quot;xhr load &quot; + xhr.readyState);
+            });
+            xhr.onloadend = test.step_func(function(e)
+            {
+                actual.push(&quot;xhr loadend &quot; + xhr.readyState);
+
+                assert_true(progressFiredReadyState1, &quot;One progress event should fire on xhr.upload when readyState is 1&quot;);
+
+                // Headers will tell us if data was sent when expected
+                for(var header in expectedHeaders) {
+                    assert_equals(xhr.getResponseHeader(header), expectedHeaders[header], header);
+                }
+
+                assert_array_equals(actual, expectedEvents, &quot;events firing in expected order and states&quot;);
+                test.done();
+            });
+
+            xhr.open(&quot;POST&quot;, &quot;./resources/redirect.py?location=content.py&amp;code=&quot; + code, true);
+            xhr.send((new Array(1000)).join(&quot;Test Message&quot;));
+        });
+    }
+
+
+    testRedirectPost(301, false);
+    testRedirectPost(302, false);
+    testRedirectPost(303, false);
+    testRedirectPost(307, true);
+
+    &lt;/script&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtests__init__py"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/__init__.py (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/__init__.py        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/__init__.py        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -1 +1 @@
</span><del>-# This file is required for Python to search this directory for modules.
</del><ins>+# This file is required for Python to search this directory for modules.
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsCustomEventexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/CustomEvent-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/CustomEvent-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/CustomEvent-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS CustomEvent 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsCustomEventhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/CustomEvent.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/CustomEvent.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/CustomEvent.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;title&gt;CustomEvent&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;div id=&quot;log&quot;&gt;&lt;/div&gt;
+&lt;script&gt;
+test(function() {
+  var type = &quot;foo&quot;;
+
+  var target = document.createElement(&quot;div&quot;);
+  target.addEventListener(type, this.step_func(function(evt) {
+    assert_equals(evt.type, type);
+  }), true);
+
+  var fooEvent = document.createEvent(&quot;CustomEvent&quot;);
+  fooEvent.initEvent(type, true, true);
+  target.dispatchEvent(fooEvent);
+});
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchbubblestrueexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-true-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-true-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-true-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+
+PASS In window.document with click event 
+PASS In window.document with load event 
+FAIL In window.document.cloneNode(true) assert_array_equals: targets lengths differ, expected 14 got 0
+FAIL In new Document() assert_array_equals: targets lengths differ, expected 14 got 0
+FAIL In DOMImplementation.createHTMLDocument() assert_array_equals: targets lengths differ, expected 14 got 0
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchbubblestruehtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-true.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-true.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-true.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,108 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;meta charset=utf-8&gt;
+&lt;title&gt; Event.bubbles attribute is set to false &lt;/title&gt;
+&lt;link rel=&quot;help&quot; href=&quot;https://dom.spec.whatwg.org/#dom-event-initevent&quot;&gt;
+&lt;link rel=&quot;help&quot; href=&quot;https://dom.spec.whatwg.org/#concept-event-dispatch&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=log&gt;&lt;/div&gt;
+&lt;table id=&quot;table&quot; border=&quot;1&quot; style=&quot;display: none&quot;&gt;
+    &lt;tbody id=&quot;table-body&quot;&gt;
+    &lt;tr id=&quot;table-row&quot;&gt;
+        &lt;td id=&quot;table-cell&quot;&gt;Shady Grove&lt;/td&gt;
+        &lt;td&gt;Aeolian&lt;/td&gt;
+    &lt;/tr&gt;
+    &lt;tr id=&quot;parent&quot;&gt;
+        &lt;td id=&quot;target&quot;&gt;Over the river, Charlie&lt;/td&gt;
+        &lt;td&gt;Dorian&lt;/td&gt;
+    &lt;/tr&gt;
+    &lt;/tbody&gt;
+&lt;/table&gt;
+&lt;script&gt;
+function concatReverse(a) {
+    return a.concat(a.map(function(x) { return x }).reverse());
+}
+
+function targetsForDocumentChain(document) {
+    return [
+        document,
+        document.documentElement,
+        document.getElementsByTagName(&quot;body&quot;)[0],
+        document.getElementById(&quot;table&quot;),
+        document.getElementById(&quot;table-body&quot;),
+        document.getElementById(&quot;parent&quot;)
+    ];
+}
+
+function testChain(document, targetParents, phases, event_type) {
+    var target = document.getElementById(&quot;target&quot;);
+    var targets = targetParents.concat(target);
+    var expected_targets = concatReverse(targets);
+
+    var actual_targets = [], actual_phases = [];
+    var test_event = function(evt) {
+        actual_targets.push(evt.currentTarget);
+        actual_phases.push(evt.eventPhase);
+    }
+
+    for (var i = 0; i &lt; targets.length; i++) {
+        targets[i].addEventListener(event_type, test_event, true);
+        targets[i].addEventListener(event_type, test_event, false);
+    }
+
+    var evt = document.createEvent(&quot;Event&quot;);
+    evt.initEvent(event_type, true, true);
+
+    target.dispatchEvent(evt);
+
+    assert_array_equals(actual_targets, expected_targets, &quot;targets&quot;);
+    assert_array_equals(actual_phases, phases, &quot;phases&quot;);
+}
+
+var phasesForDocumentChain = [
+    Event.CAPTURING_PHASE,
+    Event.CAPTURING_PHASE,
+    Event.CAPTURING_PHASE,
+    Event.CAPTURING_PHASE,
+    Event.CAPTURING_PHASE,
+    Event.CAPTURING_PHASE,
+    Event.AT_TARGET,
+    Event.AT_TARGET,
+    Event.BUBBLING_PHASE,
+    Event.BUBBLING_PHASE,
+    Event.BUBBLING_PHASE,
+    Event.BUBBLING_PHASE,
+    Event.BUBBLING_PHASE,
+    Event.BUBBLING_PHASE,
+];
+
+test(function () {
+    var chainWithWindow = [window].concat(targetsForDocumentChain(document));
+    var phases = [Event.CAPTURING_PHASE].concat(phasesForDocumentChain, Event.BUBBLING_PHASE);
+    testChain(document, chainWithWindow, phases, &quot;click&quot;);
+}, &quot;In window.document with click event&quot;);
+
+test(function () {
+    testChain(document, targetsForDocumentChain(document), phasesForDocumentChain, &quot;load&quot;);
+}, &quot;In window.document with load event&quot;)
+
+test(function () {
+    var documentClone = document.cloneNode(true);
+    testChain(
+        documentClone, targetsForDocumentChain(documentClone), phasesForDocumentChain, &quot;click&quot;);
+}, &quot;In window.document.cloneNode(true)&quot;);
+
+test(function () {
+    var newDocument = new Document();
+    newDocument.appendChild(document.documentElement.cloneNode(true));
+    testChain(
+        newDocument, targetsForDocumentChain(newDocument), phasesForDocumentChain, &quot;click&quot;);
+}, &quot;In new Document()&quot;);
+
+test(function () {
+    var HTMLDocument = document.implementation.createHTMLDocument();
+    HTMLDocument.body.appendChild(document.getElementById(&quot;table&quot;).cloneNode(true));
+    testChain(
+        HTMLDocument, targetsForDocumentChain(HTMLDocument), phasesForDocumentChain, &quot;click&quot;);
+}, &quot;In DOMImplementation.createHTMLDocument()&quot;);
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchdetachedclickexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-detached-click-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-detached-click-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-detached-click-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+PASS Click event on an element not in the document 
+PASS Click event can be dispatched to an element that is not in the document. 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchdetachedclickhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-detached-click.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-detached-click.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-detached-click.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;title&gt;Click event on an element not in the document&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;div id=log&gt;&lt;/div&gt;
+&lt;script&gt;
+test(function() {
+  var EVENT = &quot;click&quot;;
+  var TARGET = document.createElement(&quot;somerandomelement&quot;);
+  var t = async_test(&quot;Click event can be dispatched to an element that is not in the document.&quot;)
+  TARGET.addEventListener(EVENT, t.step_func(function(evt) {
+    assert_equals(evt.target, TARGET);
+    t.done();
+  }), true);
+  var e = document.createEvent(&quot;Event&quot;);
+  e.initEvent(EVENT, true, true);
+  TARGET.dispatchEvent(e);
+});
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchmultiplestopPropagationexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL  Multiple dispatchEvent() and stopPropagation()  assert_array_equals: lengths differ, expected 1 got 0
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchmultiplestopPropagationhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,51 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;title&gt; Multiple dispatchEvent() and stopPropagation() &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;div id=log&gt;&lt;/div&gt;
+
+&lt;div id=&quot;parent&quot; style=&quot;display: none&quot;&gt;
+    &lt;input id=&quot;target&quot; type=&quot;hidden&quot; value=&quot;&quot;/&gt;
+&lt;/div&gt;
+
+&lt;script&gt;
+test(function() {
+    var event_type = &quot;foo&quot;;
+    var target = document.getElementById(&quot;target&quot;);
+    var parent = document.getElementById(&quot;parent&quot;);
+    var actual_result;
+    var test_event = function(evt) {
+        actual_result.push(evt.currentTarget);
+
+        if (parent == evt.currentTarget) {
+            evt.stopPropagation();
+        }
+    };
+
+    var evt = document.createEvent(&quot;Event&quot;);
+    evt.initEvent(event_type, true, true);
+
+    target.addEventListener(event_type, test_event, false);
+    parent.addEventListener(event_type, test_event, false);
+    document.addEventListener(event_type, test_event, false);
+    window.addEventListener(event_type, test_event, false);
+
+    actual_result = [];
+    target.dispatchEvent(evt);
+    assert_array_equals(actual_result, [target, parent]);
+
+    actual_result = [];
+    parent.dispatchEvent(evt);
+    assert_array_equals(actual_result, [parent]);
+
+    actual_result = [];
+    document.dispatchEvent(evt);
+    assert_array_equals(actual_result, [document, window]);
+});
+&lt;/script&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchorderexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-order-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-order-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-order-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Event phases order 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchorderhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-order.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-order.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-order.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,26 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;title&gt;Event phases order&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;div id=&quot;log&quot;&gt;&lt;/div&gt;
+&lt;script&gt;
+async_test(function() {
+    document.addEventListener('DOMContentLoaded', this.step_func_done(function() {
+        var parent = document.getElementById('parent');
+        var child = document.getElementById('child');
+
+        var order = [];
+
+        parent.addEventListener('click', this.step_func(function(){ order.push(1) }), true);
+        child.addEventListener('click', this.step_func(function(){ order.push(2) }), false);
+        parent.addEventListener('click', this.step_func(function(){ order.push(3) }), false);
+
+        child.dispatchEvent(new Event('click', {bubbles: true}));
+
+        assert_array_equals(order, [1, 2, 3]);
+    }));
+}, &quot;Event phases order&quot;);
+&lt;/script&gt;
+&lt;div id=&quot;parent&quot;&gt;
+    &lt;div id=&quot;child&quot;&gt;&lt;/div&gt;
+&lt;/div&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchthrowingexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-throwing-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-throwing-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-throwing-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+CONSOLE MESSAGE: line 20: Error: Error from only listener
+CONSOLE MESSAGE: line 40: Error: Error from first listener
+
+PASS Throwing in event listener with a single listeners 
+PASS Throwing in event listener with multiple listeners 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchthrowinghtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-throwing.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-throwing.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-throwing.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,51 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;meta charset=&quot;UTF-8&quot;&gt;
+&lt;title&gt;Throwing in event listeners&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;div id=&quot;log&quot;&gt;&lt;/div&gt;
+&lt;script&gt;
+setup({allow_uncaught_exception:true})
+
+test(function() {
+    var errorEvents = 0;
+    window.onerror = this.step_func(function(e) {
+        assert_equals(typeof e, 'string');
+        ++errorEvents;
+    });
+
+    var element = document.createElement('div');
+
+    element.addEventListener('click', function() {
+        throw new Error('Error from only listener');
+    });
+
+    element.dispatchEvent(new Event('click'));
+
+    assert_equals(errorEvents, 1);
+}, &quot;Throwing in event listener with a single listeners&quot;);
+
+test(function() {
+    var errorEvents = 0;
+    window.onerror = this.step_func(function(e) {
+        assert_equals(typeof e, 'string');
+        ++errorEvents;
+    });
+
+    var element = document.createElement('div');
+
+    var secondCalled = false;
+
+    element.addEventListener('click', function() {
+        throw new Error('Error from first listener');
+    });
+    element.addEventListener('click', this.step_func(function() {
+        secondCalled = true;
+    }), false);
+
+    element.dispatchEvent(new Event('click'));
+
+    assert_equals(errorEvents, 1);
+    assert_true(secondCalled);
+}, &quot;Throwing in event listener with multiple listeners&quot;);
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventinitwhiledispatchingexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-init-while-dispatching-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-init-while-dispatching-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-init-while-dispatching-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+
+FAIL Calling initKeyboardEvent while dispatching. assert_equals: initKeyboardEvent key setter should short-circuit expected (string) &quot;A&quot; but got (undefined) undefined
+PASS Calling initMouseEvent while dispatching. 
+PASS Calling initCustomEvent while dispatching. 
+PASS Calling initUIEvent while dispatching. 
+PASS Calling initEvent while dispatching. 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventinitwhiledispatchinghtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-init-while-dispatching.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-init-while-dispatching.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-init-while-dispatching.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,83 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;meta charset=&quot;utf-8&quot;&gt;
+&lt;title&gt;Re-initializing events while dispatching them&lt;/title&gt;
+&lt;link rel=&quot;author&quot; title=&quot;Josh Matthews&quot; href=&quot;mailto:josh@joshmatthews.net&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;
+var events = {
+  'KeyboardEvent': {
+    'constructor': function() { return new KeyboardEvent(&quot;type&quot;, {key: &quot;A&quot;}); },
+    'init': function(ev) { ev.initKeyboardEvent(&quot;type2&quot;, true, true, null, &quot;a&quot;, 1, &quot;&quot;, true, &quot;&quot;) },
+    'check': function(ev) {
+       assert_equals(ev.key, &quot;A&quot;, &quot;initKeyboardEvent key setter should short-circuit&quot;);
+       assert_false(ev.repeat, &quot;initKeyboardEvent repeat setter should short-circuit&quot;);
+       assert_equals(ev.location, 0, &quot;initKeyboardEvent location setter should short-circuit&quot;);
+     }
+  },
+  'MouseEvent': {
+    'constructor': function() { return new MouseEvent(&quot;type&quot;); },
+    'init': function(ev) { ev.initMouseEvent(&quot;type2&quot;, true, true, null, 0, 1, 1, 1, 1, true, true, true, true, 1, null) },
+    'check': function(ev) {
+      assert_equals(ev.screenX, 0, &quot;initMouseEvent screenX setter should short-circuit&quot;);
+      assert_equals(ev.screenY, 0, &quot;initMouseEvent screenY setter should short-circuit&quot;);
+      assert_equals(ev.clientX, 0, &quot;initMouseEvent clientX setter should short-circuit&quot;);
+      assert_equals(ev.clientY, 0, &quot;initMouseEvent clientY setter should short-circuit&quot;);
+      assert_false(ev.ctrlKey, &quot;initMouseEvent ctrlKey setter should short-circuit&quot;);
+      assert_false(ev.altKey, &quot;initMouseEvent altKey setter should short-circuit&quot;);
+      assert_false(ev.shiftKey, &quot;initMouseEvent shiftKey setter should short-circuit&quot;);
+      assert_false(ev.metaKey, &quot;initMouseEvent metaKey setter should short-circuit&quot;);
+      assert_equals(ev.button, 0, &quot;initMouseEvent button setter should short-circuit&quot;);
+    }
+  },
+  'CustomEvent': {
+    'constructor': function() { return new CustomEvent(&quot;type&quot;) },
+    'init': function(ev) { ev.initCustomEvent(&quot;type2&quot;, true, true, 1) },
+    'check': function(ev) {
+      assert_equals(ev.detail, null, &quot;initCustomEvent detail setter should short-circuit&quot;);
+    }
+  },
+  'UIEvent': {
+    'constructor': function() { return new UIEvent(&quot;type&quot;) },
+    'init': function(ev) { ev.initUIEvent(&quot;type2&quot;, true, true, window, 1) },
+    'check': function(ev) {
+      assert_equals(ev.view, null, &quot;initUIEvent view setter should short-circuit&quot;);
+      assert_equals(ev.detail, 0, &quot;initUIEvent detail setter should short-circuit&quot;);
+    }
+  },
+  'Event': {
+    'constructor': function() { return new Event(&quot;type&quot;) },
+    'init': function(ev) { ev.initEvent(&quot;type2&quot;, true, true) },
+    'check': function(ev) {
+      assert_equals(ev.bubbles, false, &quot;initEvent bubbles setter should short-circuit&quot;);
+      assert_equals(ev.cancelable, false, &quot;initEvent cancelable setter should short-circuit&quot;);
+      assert_equals(ev.type, &quot;type&quot;, &quot;initEvent type setter should short-circuit&quot;);
+    }
+  }
+};
+
+var names = Object.keys(events);
+for (var i = 0; i &lt; names.length; i++) {
+  var t = async_test(&quot;Calling init&quot; + names[i] + &quot; while dispatching.&quot;);
+  t.step(function() {
+    var e = events[names[i]].constructor();
+
+    var target = document.createElement(&quot;div&quot;)
+    target.addEventListener(&quot;type&quot;, t.step_func(function() {
+      events[names[i]].init(e);
+
+      var o = e;
+      while ((o = Object.getPrototypeOf(o))) {
+        if (!(o.constructor.name in events)) {
+          break;
+        }
+        events[o.constructor.name].check(e);
+      }
+    }), false);
+
+    assert_equals(target.dispatchEvent(e), true, &quot;dispatchEvent must return true&quot;)
+  });
+  t.done();
+}
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventsubclassesconstructorsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-subclasses-constructors-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-subclasses-constructors-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-subclasses-constructors-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,47 @@
</span><ins>+
+PASS Event constructor (no argument) 
+PASS Event constructor (undefined argument) 
+PASS Event constructor (null argument) 
+PASS Event constructor (empty argument) 
+PASS Event constructor (argument with default values) 
+PASS Event constructor (argument with non-default values) 
+PASS UIEvent constructor (no argument) 
+PASS UIEvent constructor (undefined argument) 
+PASS UIEvent constructor (null argument) 
+PASS UIEvent constructor (empty argument) 
+PASS UIEvent constructor (argument with default values) 
+PASS UIEvent constructor (argument with non-default values) 
+PASS FocusEvent constructor (no argument) 
+PASS FocusEvent constructor (undefined argument) 
+PASS FocusEvent constructor (null argument) 
+PASS FocusEvent constructor (empty argument) 
+PASS FocusEvent constructor (argument with default values) 
+PASS FocusEvent constructor (argument with non-default values) 
+FAIL MouseEvent constructor (no argument) assert_true: Event object &quot;[object MouseEvent]&quot; should have a buttons property expected true got false
+FAIL MouseEvent constructor (undefined argument) assert_true: Event object &quot;[object MouseEvent]&quot; should have a buttons property expected true got false
+FAIL MouseEvent constructor (null argument) assert_true: Event object &quot;[object MouseEvent]&quot; should have a buttons property expected true got false
+FAIL MouseEvent constructor (empty argument) assert_true: Event object &quot;[object MouseEvent]&quot; should have a buttons property expected true got false
+FAIL MouseEvent constructor (argument with default values) assert_true: Event object &quot;[object MouseEvent]&quot; should have a buttons property expected true got false
+FAIL MouseEvent constructor (argument with non-default values) assert_true: Event object &quot;[object MouseEvent]&quot; should have a buttons property expected true got false
+FAIL WheelEvent constructor (no argument) assert_true: Event object &quot;[object WheelEvent]&quot; should have a buttons property expected true got false
+FAIL WheelEvent constructor (undefined argument) assert_true: Event object &quot;[object WheelEvent]&quot; should have a buttons property expected true got false
+FAIL WheelEvent constructor (null argument) assert_true: Event object &quot;[object WheelEvent]&quot; should have a buttons property expected true got false
+FAIL WheelEvent constructor (empty argument) assert_true: Event object &quot;[object WheelEvent]&quot; should have a buttons property expected true got false
+FAIL WheelEvent constructor (argument with default values) assert_true: Event object &quot;[object WheelEvent]&quot; should have a buttons property expected true got false
+FAIL WheelEvent constructor (argument with non-default values) assert_true: Event object &quot;[object WheelEvent]&quot; should have a buttons property expected true got false
+FAIL KeyboardEvent constructor (no argument) assert_true: Event object &quot;[object KeyboardEvent]&quot; should have a key property expected true got false
+FAIL KeyboardEvent constructor (undefined argument) assert_true: Event object &quot;[object KeyboardEvent]&quot; should have a key property expected true got false
+FAIL KeyboardEvent constructor (null argument) assert_true: Event object &quot;[object KeyboardEvent]&quot; should have a key property expected true got false
+FAIL KeyboardEvent constructor (empty argument) assert_true: Event object &quot;[object KeyboardEvent]&quot; should have a key property expected true got false
+FAIL KeyboardEvent constructor (argument with default values) assert_true: Event object &quot;[object KeyboardEvent]&quot; should have a key property expected true got false
+FAIL KeyboardEvent constructor (argument with non-default values) assert_true: Event object &quot;[object KeyboardEvent]&quot; should have a key property expected true got false
+PASS CompositionEvent constructor (no argument) 
+PASS CompositionEvent constructor (undefined argument) 
+PASS CompositionEvent constructor (null argument) 
+PASS CompositionEvent constructor (empty argument) 
+PASS CompositionEvent constructor (argument with default values) 
+PASS CompositionEvent constructor (argument with non-default values) 
+FAIL UIEvent constructor (view argument with wrong type) assert_throws: function &quot;function () {
+    new UIEvent(&quot;x&quot;, { view: 7 })
+  }&quot; did not throw
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventsubclassesconstructorshtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-subclasses-constructors.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-subclasses-constructors.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-subclasses-constructors.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,153 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;meta charset=&quot;utf-8&quot;&gt;
+&lt;title&gt;Event constructors&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;div id=&quot;log&quot;&gt;&lt;/div&gt;
+&lt;script&gt;
+function assert_props(iface, event, defaults) {
+  assert_true(event instanceof self[iface]);
+  expected[iface].properties.forEach(function(p) {
+    var property = p[0], value = p[defaults ? 1 : 2];
+    assert_true(property in event,
+                &quot;Event &quot; + format_value(event) + &quot; should have a &quot; +
+                property + &quot; property&quot;);
+    assert_equals(event[property], value,
+                  &quot;The value of the &quot; + property + &quot; property should be &quot; +
+                  format_value(value));
+  });
+  if (&quot;parent&quot; in expected[iface]) {
+    assert_props(expected[iface].parent, event, defaults);
+  }
+}
+
+var EventModifierInit = [
+  [&quot;ctrlKey&quot;, false, true],
+  [&quot;shiftKey&quot;, false, true],
+  [&quot;altKey&quot;, false, true],
+  [&quot;metaKey&quot;, false, true],
+];
+var expected = {
+  &quot;Event&quot;: {
+    &quot;properties&quot;: [
+      [&quot;bubbles&quot;, false, true],
+      [&quot;cancelable&quot;, false, true],
+    ],
+  },
+
+  &quot;UIEvent&quot;: {
+    &quot;parent&quot;: &quot;Event&quot;,
+    &quot;properties&quot;: [
+      [&quot;view&quot;, null, window],
+      [&quot;detail&quot;, 0, 7],
+    ],
+  },
+
+  &quot;FocusEvent&quot;: {
+    &quot;parent&quot;: &quot;UIEvent&quot;,
+    &quot;properties&quot;: [
+      [&quot;relatedTarget&quot;, null, document],
+    ],
+  },
+
+  &quot;MouseEvent&quot;: {
+    &quot;parent&quot;: &quot;UIEvent&quot;,
+    &quot;properties&quot;: EventModifierInit.concat([
+      [&quot;screenX&quot;, 0, 40],
+      [&quot;screenY&quot;, 0, 40],
+      [&quot;clientX&quot;, 0, 40],
+      [&quot;clientY&quot;, 0, 40],
+      [&quot;button&quot;, 0, 40],
+      [&quot;buttons&quot;, 0, 40],
+      [&quot;relatedTarget&quot;, null, document],
+    ]),
+  },
+
+  &quot;WheelEvent&quot;: {
+    &quot;parent&quot;: &quot;MouseEvent&quot;,
+    &quot;properties&quot;: [
+      [&quot;deltaX&quot;, 0.0, 3.1],
+      [&quot;deltaY&quot;, 0.0, 3.1],
+      [&quot;deltaZ&quot;, 0.0, 3.1],
+      [&quot;deltaMode&quot;, 0, 40],
+    ],
+  },
+
+  &quot;KeyboardEvent&quot;: {
+    &quot;parent&quot;: &quot;UIEvent&quot;,
+    &quot;properties&quot;: EventModifierInit.concat([
+      [&quot;key&quot;, &quot;&quot;, &quot;string&quot;],
+      [&quot;code&quot;, &quot;&quot;, &quot;string&quot;],
+      [&quot;location&quot;, 0, 7],
+      [&quot;repeat&quot;, false, true],
+      [&quot;isComposing&quot;, false, true],
+      [&quot;charCode&quot;, 0, 7],
+      [&quot;keyCode&quot;, 0, 7],
+      [&quot;which&quot;, 0, 7],
+    ]),
+  },
+
+  &quot;CompositionEvent&quot;: {
+    &quot;parent&quot;: &quot;UIEvent&quot;,
+    &quot;properties&quot;: [
+      [&quot;data&quot;, &quot;&quot;, &quot;string&quot;],
+    ],
+  },
+};
+
+Object.keys(expected).forEach(function(iface) {
+  test(function() {
+    var event = new self[iface](&quot;type&quot;);
+    assert_props(iface, event, true);
+  }, iface + &quot; constructor (no argument)&quot;);
+
+  test(function() {
+    var event = new self[iface](&quot;type&quot;, undefined);
+    assert_props(iface, event, true);
+  }, iface + &quot; constructor (undefined argument)&quot;);
+
+  test(function() {
+    var event = new self[iface](&quot;type&quot;, null);
+    assert_props(iface, event, true);
+  }, iface + &quot; constructor (null argument)&quot;);
+
+  test(function() {
+    var event = new self[iface](&quot;type&quot;, {});
+    assert_props(iface, event, true);
+  }, iface + &quot; constructor (empty argument)&quot;);
+
+  test(function() {
+    var dictionary = {};
+    expected[iface].properties.forEach(function(p) {
+      var property = p[0], value = p[1];
+      dictionary[property] = value;
+    });
+    var event = new self[iface](&quot;type&quot;, dictionary);
+    assert_props(iface, event, true);
+  }, iface + &quot; constructor (argument with default values)&quot;);
+
+  test(function() {
+    function fill_in(iface, dictionary) {
+      if (&quot;parent&quot; in expected[iface]) {
+        fill_in(expected[iface].parent, dictionary)
+      }
+      expected[iface].properties.forEach(function(p) {
+        var property = p[0], value = p[2];
+        dictionary[property] = value;
+      });
+    }
+
+    var dictionary = {};
+    fill_in(iface, dictionary);
+
+    var event = new self[iface](&quot;type&quot;, dictionary);
+    assert_props(iface, event, false);
+  }, iface + &quot; constructor (argument with non-default values)&quot;);
+});
+
+test(function () {
+  assert_throws(new TypeError(), function() {
+    new UIEvent(&quot;x&quot;, { view: 7 })
+  });
+}, &quot;UIEvent constructor (view argument with wrong type)&quot;)
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventListenerhandleEventexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-handleEvent-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-handleEvent-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-handleEvent-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS EventListener::handleEvent() 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventListenerhandleEventhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-handleEvent.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-handleEvent.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-handleEvent.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,41 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;meta charset=utf-8&gt;
+&lt;title&gt;EventListener::handleEvent()&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;div id=log&gt;&lt;/div&gt;
+&lt;table id=&quot;table&quot; border=&quot;1&quot; style=&quot;display: none&quot;&gt;
+    &lt;tbody id=&quot;table-body&quot;&gt;
+    &lt;tr id=&quot;table-row&quot;&gt;
+        &lt;td id=&quot;table-cell&quot;&gt;Shady Grove&lt;/td&gt;
+        &lt;td&gt;Aeolian&lt;/td&gt;
+    &lt;/tr&gt;
+    &lt;tr id=&quot;parent&quot;&gt;
+        &lt;td id=&quot;target&quot;&gt;Over the river, Charlie&lt;/td&gt;
+        &lt;td&gt;Dorian&lt;/td&gt;
+    &lt;/tr&gt;
+    &lt;/tbody&gt;
+&lt;/table&gt;
+&lt;script&gt;
+test(function(t) {
+    var event = &quot;foo&quot;;
+    var target = document.getElementById(&quot;target&quot;);
+
+    var event_listener = {
+        &quot;handleEvent&quot;: function(evt) {
+            var that = this;
+            t.step(function() {
+                assert_equals(evt.type, event);
+                assert_equals(evt.target, target);
+                assert_equals(that, event_listener);
+            });
+        }
+    };
+
+    var evt = document.createEvent(&quot;Event&quot;);
+    evt.initEvent(event, true, true);
+
+    target.addEventListener(event, event_listener, true);
+    target.dispatchEvent(evt);
+});
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventListenerincumbentglobal1subexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-1.sub-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-1.sub-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-1.sub-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+Blocked access to external URL http://www1.localhost:8800/dom/events/EventListener-incumbent-global-subframe-1.sub.html
+
+
+Harness Error (TIMEOUT), message = null
+
+TIMEOUT Check the incumbent global EventListeners  are called with Test timed out
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventListenerincumbentglobal1subhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-1.sub.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-1.sub.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-1.sub.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,20 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=utf-8&gt;
+&lt;title&gt;&lt;/title&gt;
+&lt;script src=/resources/testharness.js&gt;&lt;/script&gt;
+&lt;script src=/resources/testharnessreport.js&gt;&lt;/script&gt;
+&lt;iframe src=&quot;{{location[scheme]}}://{{domains[www1]}}:{{ports[http][0]}}{{location[path]}}/../EventListener-incumbent-global-subframe-1.sub.html&quot;&gt;&lt;/iframe&gt;
+&lt;script&gt;
+
+var t = async_test(&quot;Check the incumbent global EventListeners  are called with&quot;);
+
+onload = t.step_func(function() {
+  onmessage = t.step_func_done(function(e) {
+    var d = e.data;
+    assert_equals(d.actual, d.expected, d.reason);
+  });
+
+  frames[0].postMessage(&quot;start&quot;, &quot;*&quot;);
+});
+
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventListenerincumbentglobal2subexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-2.sub-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-2.sub-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-2.sub-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+Blocked access to external URL http://www1.localhost:8800/dom/events/EventListener-incumbent-global-subframe-2.sub.html
+
+
+Harness Error (TIMEOUT), message = null
+
+TIMEOUT Check the incumbent global EventListeners  are called with Test timed out
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventListenerincumbentglobal2subhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-2.sub.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-2.sub.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-2.sub.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,20 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=utf-8&gt;
+&lt;title&gt;&lt;/title&gt;
+&lt;script src=/resources/testharness.js&gt;&lt;/script&gt;
+&lt;script src=/resources/testharnessreport.js&gt;&lt;/script&gt;
+&lt;iframe src=&quot;{{location[scheme]}}://{{domains[www1]}}:{{ports[http][0]}}{{location[path]}}/../EventListener-incumbent-global-subframe-2.sub.html&quot;&gt;&lt;/iframe&gt;
+&lt;script&gt;
+
+var t = async_test(&quot;Check the incumbent global EventListeners  are called with&quot;);
+
+onload = t.step_func(function() {
+  onmessage = t.step_func_done(function(e) {
+    var d = e.data;
+    assert_equals(d.actual, d.expected, d.reason);
+  });
+
+  frames[0].postMessage(&quot;start&quot;, &quot;*&quot;);
+});
+
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventListenerincumbentglobalsubframe1subhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-subframe-1.sub.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-subframe-1.sub.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-subframe-1.sub.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;iframe src=&quot;{{location[scheme]}}://{{domains[www2]}}:{{ports[http][0]}}{{location[path]}}/../EventListener-incumbent-global-subsubframe.sub.html&quot;&gt;&lt;/iframe&gt;
+&lt;script&gt;
+  document.domain = &quot;{{host}}&quot;;
+  onmessage = function(e) {
+    if (e.data == &quot;start&quot;) {
+      frames[0].document.body.addEventListener(&quot;click&quot;, frames[0].postMessage.bind(frames[0], &quot;respond&quot;, &quot;*&quot;, undefined));
+      frames[0].postMessage(&quot;sendclick&quot;, &quot;*&quot;);
+    } else {
+      parent.postMessage(e.data, &quot;*&quot;);
+    }
+  }
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventListenerincumbentglobalsubframe2subhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-subframe-2.sub.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-subframe-2.sub.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-subframe-2.sub.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;iframe src=&quot;{{location[scheme]}}://{{domains[www2]}}:{{ports[http][0]}}{{location[path]}}/../EventListener-incumbent-global-subsubframe.sub.html&quot;&gt;&lt;/iframe&gt;
+&lt;script&gt;
+  document.domain = &quot;{{host}}&quot;;
+  onmessage = function(e) {
+    if (e.data == &quot;start&quot;) {
+      frames[0].document.body.addEventListener(&quot;click&quot;, frames[0].getTheListener());
+      frames[0].postMessage(&quot;sendclick&quot;, &quot;*&quot;);
+    } else {
+      parent.postMessage(e.data, &quot;*&quot;);
+    }
+  }
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventListenerincumbentglobalsubsubframesubhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-subsubframe.sub.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-subsubframe.sub.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-subsubframe.sub.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,20 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;script&gt;
+  function getTheListener() {
+    return postMessage.bind(this, &quot;respond&quot;, &quot;*&quot;, undefined)
+  }
+  document.domain = &quot;{{host}}&quot;;
+  onmessage = function (e) {
+    if (e.data == &quot;sendclick&quot;) {
+      document.body.click();
+    } else {
+      parent.postMessage(
+        {
+          actual: e.origin,
+          expected: &quot;{{location[scheme]}}://{{domains[www1]}}:{{ports[http][0]}}&quot;,
+          reason: &quot;Incumbent should have been the caller of addEventListener()&quot;
+        },
+        &quot;*&quot;)
+    };
+  }
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomlistsDOMTokenListcoverageforattributesexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-coverage-for-attributes-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-coverage-for-attributes-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-coverage-for-attributes-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,212 @@
</span><ins>+
+PASS a.classList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. 
+PASS area.classList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. 
+PASS link.classList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. 
+PASS iframe.classList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. 
+PASS output.classList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. 
+PASS td.classList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. 
+PASS th.classList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. 
+PASS a.classList in http://www.w3.org/2000/svg namespace should be DOMTokenList. 
+PASS area.classList in http://www.w3.org/2000/svg namespace should be DOMTokenList. 
+PASS link.classList in http://www.w3.org/2000/svg namespace should be DOMTokenList. 
+PASS iframe.classList in http://www.w3.org/2000/svg namespace should be DOMTokenList. 
+PASS output.classList in http://www.w3.org/2000/svg namespace should be DOMTokenList. 
+PASS td.classList in http://www.w3.org/2000/svg namespace should be DOMTokenList. 
+PASS th.classList in http://www.w3.org/2000/svg namespace should be DOMTokenList. 
+PASS a.classList in http://www.w3.org/1998/Math/MathML namespace should be DOMTokenList. 
+PASS area.classList in http://www.w3.org/1998/Math/MathML namespace should be DOMTokenList. 
+PASS link.classList in http://www.w3.org/1998/Math/MathML namespace should be DOMTokenList. 
+PASS iframe.classList in http://www.w3.org/1998/Math/MathML namespace should be DOMTokenList. 
+PASS output.classList in http://www.w3.org/1998/Math/MathML namespace should be DOMTokenList. 
+PASS td.classList in http://www.w3.org/1998/Math/MathML namespace should be DOMTokenList. 
+PASS th.classList in http://www.w3.org/1998/Math/MathML namespace should be DOMTokenList. 
+PASS a.classList in http://example.com/ namespace should be DOMTokenList. 
+PASS area.classList in http://example.com/ namespace should be DOMTokenList. 
+PASS link.classList in http://example.com/ namespace should be DOMTokenList. 
+PASS iframe.classList in http://example.com/ namespace should be DOMTokenList. 
+PASS output.classList in http://example.com/ namespace should be DOMTokenList. 
+PASS td.classList in http://example.com/ namespace should be DOMTokenList. 
+PASS th.classList in http://example.com/ namespace should be DOMTokenList. 
+PASS a.classList in null namespace should be DOMTokenList. 
+PASS area.classList in null namespace should be DOMTokenList. 
+PASS link.classList in null namespace should be DOMTokenList. 
+PASS iframe.classList in null namespace should be DOMTokenList. 
+PASS output.classList in null namespace should be DOMTokenList. 
+PASS td.classList in null namespace should be DOMTokenList. 
+PASS th.classList in null namespace should be DOMTokenList. 
+FAIL a.dropzone in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. assert_equals: expected &quot;[object DOMTokenList]&quot; but got &quot;[object Undefined]&quot;
+FAIL area.dropzone in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. assert_equals: expected &quot;[object DOMTokenList]&quot; but got &quot;[object Undefined]&quot;
+FAIL link.dropzone in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. assert_equals: expected &quot;[object DOMTokenList]&quot; but got &quot;[object Undefined]&quot;
+FAIL iframe.dropzone in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. assert_equals: expected &quot;[object DOMTokenList]&quot; but got &quot;[object Undefined]&quot;
+FAIL output.dropzone in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. assert_equals: expected &quot;[object DOMTokenList]&quot; but got &quot;[object Undefined]&quot;
+FAIL td.dropzone in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. assert_equals: expected &quot;[object DOMTokenList]&quot; but got &quot;[object Undefined]&quot;
+FAIL th.dropzone in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. assert_equals: expected &quot;[object DOMTokenList]&quot; but got &quot;[object Undefined]&quot;
+PASS a.dropzone in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS area.dropzone in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS link.dropzone in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS iframe.dropzone in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS output.dropzone in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS td.dropzone in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS th.dropzone in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS a.dropzone in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS area.dropzone in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS link.dropzone in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS iframe.dropzone in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS output.dropzone in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS td.dropzone in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS th.dropzone in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS a.dropzone in http://example.com/ namespace should be undefined. 
+PASS area.dropzone in http://example.com/ namespace should be undefined. 
+PASS link.dropzone in http://example.com/ namespace should be undefined. 
+PASS iframe.dropzone in http://example.com/ namespace should be undefined. 
+PASS output.dropzone in http://example.com/ namespace should be undefined. 
+PASS td.dropzone in http://example.com/ namespace should be undefined. 
+PASS th.dropzone in http://example.com/ namespace should be undefined. 
+PASS a.dropzone in null namespace should be undefined. 
+PASS area.dropzone in null namespace should be undefined. 
+PASS link.dropzone in null namespace should be undefined. 
+PASS iframe.dropzone in null namespace should be undefined. 
+PASS output.dropzone in null namespace should be undefined. 
+PASS td.dropzone in null namespace should be undefined. 
+PASS th.dropzone in null namespace should be undefined. 
+PASS a.htmlFor in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS area.htmlFor in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS link.htmlFor in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS iframe.htmlFor in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS output.htmlFor in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. 
+PASS td.htmlFor in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS th.htmlFor in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS a.htmlFor in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS area.htmlFor in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS link.htmlFor in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS iframe.htmlFor in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS output.htmlFor in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS td.htmlFor in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS th.htmlFor in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS a.htmlFor in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS area.htmlFor in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS link.htmlFor in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS iframe.htmlFor in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS output.htmlFor in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS td.htmlFor in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS th.htmlFor in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS a.htmlFor in http://example.com/ namespace should be undefined. 
+PASS area.htmlFor in http://example.com/ namespace should be undefined. 
+PASS link.htmlFor in http://example.com/ namespace should be undefined. 
+PASS iframe.htmlFor in http://example.com/ namespace should be undefined. 
+PASS output.htmlFor in http://example.com/ namespace should be undefined. 
+PASS td.htmlFor in http://example.com/ namespace should be undefined. 
+PASS th.htmlFor in http://example.com/ namespace should be undefined. 
+PASS a.htmlFor in null namespace should be undefined. 
+PASS area.htmlFor in null namespace should be undefined. 
+PASS link.htmlFor in null namespace should be undefined. 
+PASS iframe.htmlFor in null namespace should be undefined. 
+PASS output.htmlFor in null namespace should be undefined. 
+PASS td.htmlFor in null namespace should be undefined. 
+PASS th.htmlFor in null namespace should be undefined. 
+PASS a.relList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. 
+PASS area.relList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. 
+PASS link.relList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. 
+PASS iframe.relList in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS output.relList in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS td.relList in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS th.relList in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS a.relList in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS area.relList in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS link.relList in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS iframe.relList in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS output.relList in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS td.relList in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS th.relList in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS a.relList in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS area.relList in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS link.relList in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS iframe.relList in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS output.relList in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS td.relList in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS th.relList in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS a.relList in http://example.com/ namespace should be undefined. 
+PASS area.relList in http://example.com/ namespace should be undefined. 
+PASS link.relList in http://example.com/ namespace should be undefined. 
+PASS iframe.relList in http://example.com/ namespace should be undefined. 
+PASS output.relList in http://example.com/ namespace should be undefined. 
+PASS td.relList in http://example.com/ namespace should be undefined. 
+PASS th.relList in http://example.com/ namespace should be undefined. 
+PASS a.relList in null namespace should be undefined. 
+PASS area.relList in null namespace should be undefined. 
+PASS link.relList in null namespace should be undefined. 
+PASS iframe.relList in null namespace should be undefined. 
+PASS output.relList in null namespace should be undefined. 
+PASS td.relList in null namespace should be undefined. 
+PASS th.relList in null namespace should be undefined. 
+PASS a.sandbox in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS area.sandbox in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS link.sandbox in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS iframe.sandbox in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. 
+PASS output.sandbox in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS td.sandbox in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS th.sandbox in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS a.sandbox in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS area.sandbox in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS link.sandbox in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS iframe.sandbox in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS output.sandbox in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS td.sandbox in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS th.sandbox in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS a.sandbox in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS area.sandbox in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS link.sandbox in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS iframe.sandbox in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS output.sandbox in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS td.sandbox in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS th.sandbox in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS a.sandbox in http://example.com/ namespace should be undefined. 
+PASS area.sandbox in http://example.com/ namespace should be undefined. 
+PASS link.sandbox in http://example.com/ namespace should be undefined. 
+PASS iframe.sandbox in http://example.com/ namespace should be undefined. 
+PASS output.sandbox in http://example.com/ namespace should be undefined. 
+PASS td.sandbox in http://example.com/ namespace should be undefined. 
+PASS th.sandbox in http://example.com/ namespace should be undefined. 
+PASS a.sandbox in null namespace should be undefined. 
+PASS area.sandbox in null namespace should be undefined. 
+PASS link.sandbox in null namespace should be undefined. 
+PASS iframe.sandbox in null namespace should be undefined. 
+PASS output.sandbox in null namespace should be undefined. 
+PASS td.sandbox in null namespace should be undefined. 
+PASS th.sandbox in null namespace should be undefined. 
+PASS a.sizes in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS area.sizes in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS link.sizes in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. 
+PASS iframe.sizes in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS output.sizes in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS td.sizes in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS th.sizes in http://www.w3.org/1999/xhtml namespace should be undefined. 
+PASS a.sizes in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS area.sizes in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS link.sizes in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS iframe.sizes in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS output.sizes in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS td.sizes in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS th.sizes in http://www.w3.org/2000/svg namespace should be undefined. 
+PASS a.sizes in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS area.sizes in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS link.sizes in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS iframe.sizes in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS output.sizes in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS td.sizes in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS th.sizes in http://www.w3.org/1998/Math/MathML namespace should be undefined. 
+PASS a.sizes in http://example.com/ namespace should be undefined. 
+PASS area.sizes in http://example.com/ namespace should be undefined. 
+PASS link.sizes in http://example.com/ namespace should be undefined. 
+PASS iframe.sizes in http://example.com/ namespace should be undefined. 
+PASS output.sizes in http://example.com/ namespace should be undefined. 
+PASS td.sizes in http://example.com/ namespace should be undefined. 
+PASS th.sizes in http://example.com/ namespace should be undefined. 
+PASS a.sizes in null namespace should be undefined. 
+PASS area.sizes in null namespace should be undefined. 
+PASS link.sizes in null namespace should be undefined. 
+PASS iframe.sizes in null namespace should be undefined. 
+PASS output.sizes in null namespace should be undefined. 
+PASS td.sizes in null namespace should be undefined. 
+PASS th.sizes in null namespace should be undefined. 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomlistsDOMTokenListcoverageforattributeshtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-coverage-for-attributes.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-coverage-for-attributes.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-coverage-for-attributes.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,51 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;meta charset=&quot;utf-8&quot;&gt;
+&lt;title&gt;DOMTokenList coverage for attributes&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;div id=log&gt;&lt;/div&gt;
+&lt;script&gt;
+&quot;use strict&quot;;
+
+var pairs = [
+  // Defined in DOM
+  {attr: &quot;classList&quot;, sup: [&quot;anyElement&quot;]},
+  // Defined in HTML
+  {attr: &quot;dropzone&quot;, sup: [&quot;anyHTMLElement&quot;]},
+  {attr: &quot;htmlFor&quot;, sup: [&quot;output&quot;]},
+  {attr: &quot;relList&quot;, sup: [&quot;a&quot;, &quot;area&quot;, &quot;link&quot;]},
+  {attr: &quot;sandbox&quot;, sup: [&quot;iframe&quot;]},
+  {attr: &quot;sizes&quot;, sup: [&quot;link&quot;]}
+];
+var namespaces = [
+  &quot;http://www.w3.org/1999/xhtml&quot;,
+  &quot;http://www.w3.org/2000/svg&quot;,
+  &quot;http://www.w3.org/1998/Math/MathML&quot;,
+  &quot;http://example.com/&quot;,
+  &quot;&quot;
+];
+
+var elements = [&quot;a&quot;, &quot;area&quot;, &quot;link&quot;, &quot;iframe&quot;, &quot;output&quot;, &quot;td&quot;, &quot;th&quot;];
+function testAttr(pair, new_el){
+  return (pair.attr === &quot;classList&quot; || (new_el.namespaceURI === &quot;http://www.w3.org/1999/xhtml&quot; &amp;&amp; (pair.attr === &quot;dropzone&quot; || pair.sup.indexOf(new_el.localName) != -1)));
+}
+
+pairs.forEach(function(pair) {
+  namespaces.forEach(function(ns) {
+    elements.forEach(function(el) {
+      var new_el = document.createElementNS(ns, el);
+      if (testAttr(pair, new_el)) {
+        test(function() {
+          assert_class_string(new_el[pair.attr], &quot;DOMTokenList&quot;);
+        }, new_el.localName + &quot;.&quot; + pair.attr + &quot; in &quot; + new_el.namespaceURI + &quot; namespace should be DOMTokenList.&quot;);
+      }
+      else {
+        test(function() {
+          assert_equals(new_el[pair.attr], undefined);
+       }, new_el.localName + &quot;.&quot; + pair.attr + &quot; in &quot; + new_el.namespaceURI + &quot; namespace should be undefined.&quot;);
+      }
+    });
+  });
+});
+
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcreateElementnamespaceexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-expected.txt (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -10,10 +10,10 @@
</span><span class="cx"> PASS Created element's namespace in created XML document by DOMParser ('application/xml') 
</span><span class="cx"> PASS Created element's namespace in created XHTML document by DOMParser ('application/xhtml+xml') 
</span><span class="cx"> PASS Created element's namespace in created SVG document by DOMParser ('image/svg+xml') 
</span><del>-FAIL Created element's namespace in empty.html assert_equals: Wrong MIME type returned from doc.contentType expected &quot;text/html&quot; but got &quot;application/json&quot;
-FAIL Created element's namespace in empty.xhtml assert_equals: Wrong MIME type returned from doc.contentType expected &quot;application/xhtml+xml&quot; but got &quot;application/json&quot;
-FAIL Created element's namespace in empty.xml assert_equals: Wrong MIME type returned from doc.contentType expected &quot;application/xml&quot; but got &quot;application/json&quot;
-FAIL Created element's namespace in empty.svg assert_equals: Wrong MIME type returned from doc.contentType expected &quot;image/svg+xml&quot; but got &quot;application/json&quot;
</del><ins>+PASS Created element's namespace in empty.html 
+PASS Created element's namespace in empty.xhtml 
+PASS Created element's namespace in empty.xml 
+PASS Created element's namespace in empty.svg 
</ins><span class="cx"> PASS Created element's namespace in minimal_html.html 
</span><span class="cx"> PASS Created element's namespace in minimal_html.xhtml 
</span><span class="cx"> PASS Created element's namespace in minimal_html.xml 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesProcessingInstructionescapes1expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ProcessingInstruction-escapes-1-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ProcessingInstruction-escapes-1-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ProcessingInstruction-escapes-1-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS ProcessingInstruction numeric escapes 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesProcessingInstructionescapes1xhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ProcessingInstruction-escapes-1.xhtml (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ProcessingInstruction-escapes-1.xhtml                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ProcessingInstruction-escapes-1.xhtml        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;?xml-stylesheet href=&quot;support/style.css&quot; type=&quot;text/css&quot;?&gt;
+&lt;?xml-stylesheet href=&quot;data:text/css,&amp;#x41;&amp;amp;&amp;apos;&quot; type=&quot;text/css&quot;?&gt;
+&lt;?xml-stylesheet href=&quot;data:text/css,&amp;#65;&amp;amp;&amp;apos;&quot; type=&quot;text/css&quot;?&gt;
+&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
+&lt;head&gt;
+&lt;title&gt;ProcessingInstruction numeric escapes&lt;/title&gt;
+&lt;link rel=&quot;help&quot; href=&quot;https://dom.spec.whatwg.org/#dom-processinginstruction-target&quot;/&gt;
+&lt;link rel=&quot;help&quot; href=&quot;https://dom.spec.whatwg.org/#dom-characterdata-data&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;div id=&quot;log&quot;/&gt;
+&lt;script&gt;
+&lt;![CDATA[
+test(function() {
+  var pienc = document.firstChild.nextSibling;
+  assert_true(pienc instanceof ProcessingInstruction)
+  assert_equals(pienc.target, &quot;xml-stylesheet&quot;)
+  assert_equals(pienc.data, 'href=&quot;data:text/css,&amp;#x41;&amp;amp;&amp;apos;&quot; type=&quot;text/css&quot;')
+  assert_equals(pienc.sheet.href, &quot;data:text/css,A&amp;'&quot;);
+
+  pienc = pienc.nextSibling;
+  assert_true(pienc instanceof ProcessingInstruction)
+  assert_equals(pienc.target, &quot;xml-stylesheet&quot;)
+  assert_equals(pienc.data, 'href=&quot;data:text/css,&amp;#65;&amp;amp;&amp;apos;&quot; type=&quot;text/css&quot;')
+  assert_equals(pienc.sheet.href, &quot;data:text/css,A&amp;'&quot;);
+})
+]]&gt;
+&lt;/script&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsingDOMParserparseFromStringhtmlexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/DOMParser-parseFromString-html-expected.txt (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/DOMParser-parseFromString-html-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/DOMParser-parseFromString-html-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -5,6 +5,7 @@
</span><span class="cx"> PASS inputEncoding 
</span><span class="cx"> PASS charset 
</span><span class="cx"> FAIL URL value assert_equals: The document must have a URL value equal to the URL of the active document. expected &quot;http://localhost:8800/domparsing/DOMParser-parseFromString-html.html&quot; but got &quot;about:blank&quot;
</span><ins>+FAIL baseURI value assert_equals: expected (string) &quot;http://localhost:8800/domparsing/DOMParser-parseFromString-html.html&quot; but got (object) null
</ins><span class="cx"> PASS Location value 
</span><span class="cx"> PASS DOMParser parses HTML tag soup with no problems 
</span><span class="cx"> PASS DOMParser throws on an invalid enum value 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsingDOMParserparseFromStringhtmlhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/DOMParser-parseFromString-html.html (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/DOMParser-parseFromString-html.html        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/DOMParser-parseFromString-html.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -51,6 +51,10 @@
</span><span class="cx"> }, 'URL value');
</span><span class="cx"> 
</span><span class="cx"> test(function() {
</span><ins>+    assert_equals(doc.baseURI, document.URL);
+}, 'baseURI value');
+
+test(function() {
</ins><span class="cx">     assert_equals(doc.location, null,
</span><span class="cx">                   'The document must have a location value of null.');
</span><span class="cx"> }, 'Location value');
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsingcreateContextualFragmentexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/createContextualFragment-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/createContextualFragment-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/createContextualFragment-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+
+PASS Must not throw INVALID_STATE_ERR for a detached node. 
+FAIL Must throw TypeError when calling without arguments assert_throws: function &quot;function () {
+                range.createContextualFragm...&quot; did not throw
+PASS Simple test with paragraphs 
+PASS Don't auto-create &lt;body&gt; when applied to &lt;html&gt; 
+PASS &lt;script&gt;s should be run when appended to the document (but not before) 
+PASS &lt;html&gt; and &lt;body&gt; must work the same, 1 
+PASS &lt;html&gt; and &lt;body&gt; must work the same, 2 
+PASS Implicit &lt;body&gt; creation 
+FAIL Namespace generally shouldn't matter NotSupportedError: DOM Exception 9
+FAIL &lt;html&gt; in a different namespace shouldn't be special NotSupportedError: DOM Exception 9
+PASS null should be stringified 
+PASS undefined should be stringified 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsingcreateContextualFragmenthtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/createContextualFragment.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/createContextualFragment.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/createContextualFragment.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,131 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;title&gt;createContextualFragment() tests&lt;/title&gt;
+&lt;div id=log&gt;&lt;/div&gt;
+&lt;script src=/resources/testharness.js&gt;&lt;/script&gt;
+&lt;script src=/resources/testharnessreport.js&gt;&lt;/script&gt;
+&lt;script&gt;
+// We are not testing XML documents here, because apparently it's not clear
+// what we want to happen there.  We also aren't testing the HTML parser in any
+// depth, just some basic sanity checks.
+
+// Exception-throwing
+test(function() {
+        var range = document.createRange();
+        range.detach();
+        range.createContextualFragment(&quot;&quot;);
+}, &quot;Must not throw INVALID_STATE_ERR for a detached node.&quot;);
+
+test(function() {
+        var range = document.createRange();
+        assert_throws(new TypeError(), function() {
+                range.createContextualFragment();
+        });
+}, &quot;Must throw TypeError when calling without arguments&quot;);
+
+test(function() {
+        // Simple test
+        var range = document.createRange();
+        range.selectNodeContents(document.body);
+
+        var fragment = &quot;&lt;p CLaSs=testclass&gt; Hi! &lt;p&gt;Hi!&quot;;
+        var expected = document.createDocumentFragment();
+        var tmpNode = document.createElement(&quot;p&quot;);
+        tmpNode.setAttribute(&quot;class&quot;, &quot;testclass&quot;);
+        tmpNode.appendChild(document.createTextNode(&quot; Hi! &quot;));
+        expected.appendChild(tmpNode);
+
+        tmpNode = document.createElement(&quot;p&quot;);
+        tmpNode.appendChild(document.createTextNode(&quot;Hi!&quot;));
+        expected.appendChild(tmpNode);
+
+        var result = range.createContextualFragment(fragment);
+        assert_true(expected.isEqualNode(result),
+                &quot;Unexpected result (collapsed Range)&quot;);
+
+        // Token test that the end node makes no difference
+        range.setEnd(document.body.getElementsByTagName(&quot;script&quot;)[0], 0);
+        result = range.createContextualFragment(fragment);
+        assert_true(expected.isEqualNode(result),
+                &quot;Unexpected result (Range ends in &lt;script&gt;)&quot;);
+}, &quot;Simple test with paragraphs&quot;);
+
+test(function() {
+        // This test based on https://bugzilla.mozilla.org/show_bug.cgi?id=585819,
+        // from a real-world compat bug
+        var range = document.createRange();
+        range.selectNodeContents(document.documentElement);
+        var fragment = &quot;&lt;span&gt;Hello world&lt;/span&gt;&quot;;
+        var expected = document.createDocumentFragment();
+        var tmpNode = document.createElement(&quot;span&quot;);
+        tmpNode.appendChild(document.createTextNode(&quot;Hello world&quot;));
+        expected.appendChild(tmpNode);
+
+        var result = range.createContextualFragment(fragment);
+        assert_true(expected.isEqualNode(result),
+                &quot;Unexpected result (collapsed Range)&quot;);
+
+        // Another token test that the end node makes no difference
+        range.setEnd(document.head, 0);
+        result = range.createContextualFragment(fragment);
+        assert_true(expected.isEqualNode(result),
+                &quot;Unexpected result (Range ends in &lt;head&gt;)&quot;);
+}, &quot;Don't auto-create &lt;body&gt; when applied to &lt;html&gt;&quot;);
+
+// Scripts should be run if inserted (that's what the &quot;Unmark all scripts
+// . . .&quot; line means, I'm told)
+var passed = false;
+test(function() {
+        assert_false(passed, &quot;Sanity check&quot;);
+        var range = document.createRange();
+        range.selectNodeContents(document.documentElement);
+        var fragment = range.createContextualFragment(&quot;&lt;script&gt;passed = true&lt;/s&quot; + &quot;cript&gt;&quot;);
+        assert_false(passed, &quot;Fragment created but not yet added to document, should not have run&quot;);
+        document.body.appendChild(fragment);
+        assert_true(passed, &quot;Fragment created and added to document, should run&quot;);
+}, &quot;&lt;script&gt;s should be run when appended to the document (but not before)&quot;);
+
+// Now that we've established basic sanity, let's do equivalence tests.  Those
+// are easier to write anyway.
+function testEquivalence(element1, fragment1, element2, fragment2) {
+        var range1 = element1.ownerDocument.createRange();
+        range1.selectNodeContents(element1);
+        var range2 = element2.ownerDocument.createRange();
+        range2.selectNodeContents(element2);
+
+        var result1 = range1.createContextualFragment(fragment1);
+        var result2 = range2.createContextualFragment(fragment2);
+
+        assert_true(result1.isEqualNode(result2), &quot;Results are supposed to be equivalent&quot;);
+
+        // Throw in partial ownerDocument tests on the side, since the algorithm
+        // does specify that and we don't want to completely not test it.
+        if (result1.firstChild != null) {
+                assert_equals(result1.firstChild.ownerDocument, element1.ownerDocument,
+                        &quot;ownerDocument must be set to that of the reference node&quot;);
+        }
+        if (result2.firstChild != null) {
+                assert_equals(result2.firstChild.ownerDocument, element2.ownerDocument,
+                        &quot;ownerDocument must be set to that of the reference node&quot;);
+        }
+}
+
+var tests = [
+        [&quot;&lt;html&gt; and &lt;body&gt; must work the same, 1&quot;, document.documentElement, &quot;&lt;span&gt;Hello world&lt;/span&gt;&quot;, document.body, &quot;&lt;span&gt;Hello world&lt;/span&gt;&quot;],
+        [&quot;&lt;html&gt; and &lt;body&gt; must work the same, 2&quot;, document.documentElement, &quot;&lt;body&gt;&lt;p&gt;Hello world&quot;, document.body, &quot;&lt;body&gt;&lt;p&gt;Hello world&quot;],
+        [&quot;Implicit &lt;body&gt; creation&quot;, document.documentElement, &quot;&lt;body&gt;&lt;p&gt;&quot;, document.documentElement, &quot;&lt;p&gt;&quot;],
+        [&quot;Namespace generally shouldn't matter&quot;,
+                document.createElementNS(&quot;http://fake-namespace&quot;, &quot;div&quot;), &quot;&lt;body&gt;&lt;p&gt;&lt;span&gt;Foo&quot;,
+                document.createElement(&quot;div&quot;), &quot;&lt;body&gt;&lt;p&gt;&lt;span&gt;Foo&quot;],
+        [&quot;&lt;html&gt; in a different namespace shouldn't be special&quot;,
+                document.createElementNS(&quot;http://fake-namespace&quot;, &quot;html&quot;), &quot;&lt;body&gt;&lt;p&gt;&quot;,
+                document.createElement(&quot;div&quot;), &quot;&lt;body&gt;&lt;p&gt;&quot;],
+        [&quot;null should be stringified&quot;, document.createElement(&quot;span&quot;), null, document.createElement(&quot;span&quot;), &quot;null&quot;],
+        [&quot;undefined should be stringified&quot;, document.createElement(&quot;span&quot;), undefined, document.createElement(&quot;span&quot;), &quot;undefined&quot;]/*,
+        // FIXME: Spec doesn't say what to do about non-Elements!
+        [&quot;Text nodes?&quot;,
+                document.createTextNode(&quot;?&quot;), &quot;&lt;span&gt;&quot;,
+                document.createTextNode(&quot;?&quot;), &quot;&lt;span&gt;&quot;]*/
+];
+
+generate_tests(testEquivalence, tests);
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml01expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-01-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-01-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-01-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+
+FAIL innerHTML in XHTML: getting while the document is in an invalid state assert_throws: getting element with &quot;:&quot; in its local name function &quot;function () {
+    document.documentElement.innerHTML;
+  }&quot; did not throw
+FAIL innerHTML in XHTML: getting while the document is in an invalid state 1 assert_throws: Getting a Text node whose data contains characters that are not matched by the XML Char production function &quot;function () {
+    document.getElementsByTagName(&quot;title&quot;)[...&quot; did not throw
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml01xhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-01.xhtml (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-01.xhtml                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-01.xhtml        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,28 @@
</span><ins>+&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
+&lt;head&gt;
+&lt;title&gt;innerHTML in XHTML: getting while the document is in an invalid state&lt;/title&gt;
+&lt;link rel=&quot;author&quot; title=&quot;Ms2ger&quot; href=&quot;mailto:ms2ger@gmail.com&quot;/&gt;
+&lt;link rel=&quot;help&quot; href=&quot;https://w3c.github.io/DOM-Parsing/#widl-Element-innerHTML&quot;/&gt;
+&lt;link rel=&quot;help&quot; href=&quot;http://www.whatwg.org/html5/#xml-fragment-serialization-algorithm&quot;/&gt;
+&lt;link rel=&quot;help&quot; href=&quot;http://www.whatwg.org/html5/#document.title&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;div id=&quot;log&quot;&gt;&lt;/div&gt;
+&lt;script&gt;
+test(function() {
+  document.documentElement.appendChild(document.createElement(&quot;test:test&quot;));
+  assert_throws(&quot;INVALID_STATE_ERR&quot;, function() {
+    document.documentElement.innerHTML;
+  }, &quot;getting element with \&quot;:\&quot; in its local name&quot;);
+});
+test(function() {
+  document.title = &quot;\f&quot;;
+  assert_throws(&quot;INVALID_STATE_ERR&quot;, function() {
+    document.getElementsByTagName(&quot;title&quot;)[0].innerHTML;
+  }, &quot;Getting a Text node whose data contains characters that are not matched by the XML Char production&quot;);
+});
+&lt;/script&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml03expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-03-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-03-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-03-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+
+PASS innerHTML in XHTML 
+PASS innerHTML in XHTML 1 
+PASS innerHTML in XHTML 2 
+PASS innerHTML in XHTML 3 
+PASS innerHTML in XHTML 4 
+PASS innerHTML in XHTML 5 
+PASS innerHTML in XHTML 6 
+PASS innerHTML in XHTML 7 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml03xhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-03.xhtml (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-03.xhtml                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-03.xhtml        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;
+&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
+&lt;head&gt;
+&lt;title&gt;innerHTML in XHTML&lt;/title&gt;
+&lt;link rel=&quot;author&quot; title=&quot;Ms2ger&quot; href=&quot;mailto:ms2ger@gmail.com&quot;/&gt;
+&lt;link rel=&quot;help&quot; href=&quot;http://html5.org/specs/dom-parsing.html#dom-innerhtml&quot;/&gt;
+&lt;link rel=&quot;help&quot; href=&quot;http://www.whatwg.org/html5/#xml-fragment-serialization-algorithm&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;div id=&quot;log&quot;&gt;&lt;/div&gt;
+&lt;script&gt;&lt;![CDATA[
+test(function() {
+  var el = document.createElement(&quot;div&quot;);
+  el.appendChild(document.createElement(&quot;xmp&quot;))
+    .appendChild(document.createElement(&quot;span&quot;))
+    .appendChild(document.createTextNode(&quot;&lt;&quot;));
+  assert_equals(el.innerHTML, &quot;&lt;xmp xmlns=\&quot;http://www.w3.org/1999/xhtml\&quot;&gt;&lt;span&gt;&amp;lt;&lt;\/span&gt;&lt;\/xmp&gt;&quot;);
+})
+test(function() {
+  var el = document.createElement(&quot;xmp&quot;);
+  el.appendChild(document.createElement(&quot;span&quot;))
+    .appendChild(document.createTextNode(&quot;&lt;&quot;));
+  assert_equals(el.innerHTML, &quot;&lt;span xmlns=\&quot;http://www.w3.org/1999/xhtml\&quot;&gt;&amp;lt;&lt;\/span&gt;&quot;);
+})
+test(function() {
+  var el = document.createElement(&quot;xmp&quot;);
+  el.appendChild(document.createTextNode(&quot;&lt;&quot;));
+  assert_equals(el.innerHTML, &quot;&amp;lt;&quot;);
+})
+test(function() {
+  var el = document.createElement(&quot;div&quot;);
+  el.appendChild(document.createElement(&quot;br&quot;));
+  assert_equals(el.innerHTML, &quot;&lt;br xmlns=\&quot;http://www.w3.org/1999/xhtml\&quot; /&gt;&quot;);
+})
+test(function() {
+  var el = document.createElement(&quot;div&quot;);
+  el.appendChild(document.createElementNS(&quot;http://www.w3.org/1999/xhtml&quot;, &quot;html:br&quot;));
+  assert_equals(el.innerHTML, &quot;&lt;html:br xmlns:html=\&quot;http://www.w3.org/1999/xhtml\&quot; /&gt;&quot;);
+})
+test(function() {
+  var el = document.createElement(&quot;div&quot;);
+  el.appendChild(document.createTextNode(&quot;&lt;&gt;\&quot;'&amp;&quot;));
+  assert_equals(el.innerHTML, &quot;&amp;lt;&amp;gt;\&quot;'&amp;amp;&quot;);
+})
+test(function() {
+  var el = document.createElement(&quot;div&quot;);
+  el.appendChild(document.createTextNode(&quot;&amp;lt;&amp;gt;&amp;quot;&amp;apos;&amp;amp;&quot;));
+  assert_equals(el.innerHTML, &quot;&amp;amp;lt;&amp;amp;gt;&amp;amp;quot;&amp;amp;apos;&amp;amp;amp;&quot;);
+})
+test(function() {
+  var el = document.createElement(&quot;div&quot;);
+  el.appendChild(document.createTextNode(&quot;àו…\u00A0&quot;));
+  assert_equals(el.innerHTML, &quot;àו…\u00A0&quot;);
+})
+]]&gt;&lt;/script&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml04expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-04-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-04-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-04-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS innerHTML should leave the removed children alone. 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml04html"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-04.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-04.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-04.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;title&gt;innerHTML in HTML&lt;/title&gt;
+&lt;link rel=&quot;author&quot; title=&quot;Ms2ger&quot; href=&quot;mailto:ms2ger@gmail.com&quot;&gt;
+&lt;link rel=&quot;help&quot; href=&quot;https://w3c.github.io/DOM-Parsing/#widl-Element-innerHTML&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;
+function testIsChild(p, c) {
+  assert_equals(p.firstChild, c);
+  assert_equals(c.parentNode, p);
+}
+test(function() {
+  var p = document.createElement('p');
+  var b = p.appendChild(document.createElement('b'));
+  var t = b.appendChild(document.createTextNode(&quot;foo&quot;));
+  testIsChild(p, b);
+  testIsChild(b, t);
+  assert_equals(t.data, &quot;foo&quot;);
+  p.innerHTML = &quot;&quot;;
+  testIsChild(b, t);
+  assert_equals(t.data, &quot;foo&quot;);
+}, &quot;innerHTML should leave the removed children alone.&quot;)
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml05expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-05-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-05-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-05-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+CONSOLE MESSAGE: line 1380: Blocked a frame with origin &quot;http://localhost:8800&quot; from accessing a frame with origin &quot;null&quot;.  The frame requesting access has a protocol of &quot;http&quot;, the frame being accessed has a protocol of &quot;data&quot;. Protocols must match.
+
+
+
+FAIL innerHTML in XHTML undefined is not an object (evaluating 'window[0].document.documentElement')
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml05xhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-05.xhtml (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-05.xhtml                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-05.xhtml        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,26 @@
</span><ins>+&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
+&lt;head&gt;
+&lt;title&gt;innerHTML in XHTML&lt;/title&gt;
+&lt;link rel=&quot;author&quot; title=&quot;Simon Pieters&quot; href=&quot;mailto:simonp@opera.com&quot;/&gt;
+&lt;link rel=&quot;author&quot; title=&quot;Ms2ger&quot; href=&quot;mailto:ms2ger@gmail.com&quot;/&gt;
+&lt;link rel=&quot;help&quot; href=&quot;http://html5.org/specs/dom-parsing.html#dom-innerhtml&quot;/&gt;
+&lt;link rel=&quot;help&quot; href=&quot;http://www.whatwg.org/html5/#xml-fragment-serialization-algorithm&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;div id=&quot;log&quot;&gt;&lt;/div&gt;
+&lt;iframe src=&quot;data:text/xml,&amp;lt;html xmlns='http://www.w3.org/1999/xhtml'&gt;&amp;lt;foo--/&gt;&amp;lt;/html&gt;&quot;&gt;&lt;/iframe&gt;
+&lt;script&gt;&lt;![CDATA[
+var t = async_test();
+window.onload = t.step_func(function() {
+  var foo = window[0].document.documentElement.firstChild;
+  assert_throws('SyntaxError', function() {
+    foo.innerHTML = 'x&lt;\/foo--&gt;&lt;\!--y';
+    // This is ridiculous.
+  });
+  t.done();
+});
+]]&gt;&lt;/script&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml06expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-06-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-06-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-06-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+math in html: innerHTML
+
+
+PASS innerHTML defined on math. 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml06html"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-06.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-06.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-06.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;title&gt;math in html: innerHTML&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;h1&gt;math in html: innerHTML&lt;/h1&gt;
+&lt;div id=&quot;log&quot;&gt;&lt;/div&gt;
+&lt;div style=&quot;display:none&quot;&gt;
+&lt;div id=&quot;d1&quot;&gt;&lt;math&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/math&gt;&lt;/div&gt;
+&lt;/div&gt;
+&lt;script&gt;
+test(function() {
+  var math = document.getElementById(&quot;d1&quot;).firstChild;
+  assert_equals(math.innerHTML, &quot;&lt;mi&gt;x&lt;/mi&gt;&quot;);
+},&quot;innerHTML defined on math.&quot;);
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml07expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-07-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-07-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-07-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+
+PASS innerHTML and string conversion: null. 
+PASS innerHTML and string conversion: undefined. 
+PASS innerHTML and string conversion: number. 
+PASS innerHTML and string conversion: toString. 
+PASS innerHTML and string conversion: valueOf. 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginnerhtml07html"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-07.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-07.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-07.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,49 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;title&gt;innerHTML and string conversion&lt;/title&gt;
+&lt;link rel=&quot;author&quot; title=&quot;Ms2ger&quot; href=&quot;mailto:ms2ger@gmail.com&quot;&gt;
+&lt;link rel=&quot;help&quot; href=&quot;http://domparsing.spec.whatwg.org/#extensions-to-the-element-interface&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 p = document.createElement(&quot;p&quot;);
+  p.innerHTML = null;
+  assert_equals(p.innerHTML, &quot;&quot;);
+  assert_equals(p.textContent, &quot;&quot;);
+}, &quot;innerHTML and string conversion: null.&quot;)
+
+test(function() {
+  var p = document.createElement(&quot;p&quot;);
+  p.innerHTML = undefined;
+  assert_equals(p.innerHTML, &quot;undefined&quot;);
+  assert_equals(p.textContent, &quot;undefined&quot;);
+}, &quot;innerHTML and string conversion: undefined.&quot;)
+
+test(function() {
+  var p = document.createElement(&quot;p&quot;);
+  p.innerHTML = 42;
+  assert_equals(p.innerHTML, &quot;42&quot;);
+  assert_equals(p.textContent, &quot;42&quot;);
+}, &quot;innerHTML and string conversion: number.&quot;)
+
+test(function() {
+  var p = document.createElement(&quot;p&quot;);
+  p.innerHTML = {
+    toString: function() { return &quot;pass&quot;; },
+    valueOf: function() { return &quot;fail&quot;; }
+  };
+  assert_equals(p.innerHTML, &quot;pass&quot;);
+  assert_equals(p.textContent, &quot;pass&quot;);
+}, &quot;innerHTML and string conversion: toString.&quot;)
+
+test(function() {
+  var p = document.createElement(&quot;p&quot;);
+  p.innerHTML = {
+    toString: undefined,
+    valueOf: function() { return &quot;pass&quot;; }
+  };
+  assert_equals(p.innerHTML, &quot;pass&quot;);
+  assert_equals(p.textContent, &quot;pass&quot;);
+}, &quot;innerHTML and string conversion: valueOf.&quot;)
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginsert_adjacent_htmlexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/insert_adjacent_html-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/insert_adjacent_html-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/insert_adjacent_html-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,32 @@
</span><ins>+
+PASS beforeBegin content without next sibling 
+PASS Afterbegin content without next sibling 
+PASS BeforeEnd content without next sibling 
+PASS afterend content without next sibling 
+PASS beforeBegin content again, with next sibling 
+PASS Afterbegin content again, with next sibling 
+PASS BeforeEnd content again, with next sibling 
+PASS afterend content again, with next sibling 
+PASS Should throw when inserting with invalid position string 
+FAIL When the parent node is null, insertAdjacentHTML should throw for beforebegin and afterend (text) assert_throws: function &quot;function () { element.insertAdjacentHTML(&quot;afterend&quot;, &quot;&quot;) }&quot; did not throw
+FAIL When the parent node is null, insertAdjacentHTML should throw for beforebegin and afterend (comments) assert_throws: function &quot;function () { element.insertAdjacentHTML(&quot;afterend&quot;, &quot;&lt;!-...&quot; did not throw
+FAIL When the parent node is null, insertAdjacentHTML should throw for beforebegin and afterend (elements) assert_throws: function &quot;function () { element.insertAdjacentHTML(&quot;afterend&quot;, &quot;&lt;di...&quot; did not throw
+PASS When the parent node is a document, insertAdjacentHTML should throw for beforebegin and afterend (text) 
+PASS When the parent node is a document, insertAdjacentHTML should throw for beforebegin and afterend (comments) 
+PASS When the parent node is a document, insertAdjacentHTML should throw for beforebegin and afterend (elements) 
+PASS Inserting after being and before end should order things correctly 
+PASS beforeBegin child node not in tree but has parent 
+PASS Afterbegin child node not in tree but has parent 
+PASS BeforeEnd child node not in tree but has parent 
+PASS afterend child node not in tree but has parent 
+PASS Should not run script when appending things which have descendant &lt;script&gt; inserted via insertAdjacentHTML 
+PASS beforeBegin content2 without next sibling 
+PASS Afterbegin content2 without next sibling 
+PASS BeforeEnd content2 without next sibling 
+PASS afterend content2 without next sibling 
+PASS beforeBegin content2 test again, now that there's a next sibling 
+PASS Afterbegin content2 test again, now that there's a next sibling 
+PASS BeforeEnd content2 test again, now that there's a next sibling 
+PASS afterend content2 test again, now that there's a next sibling 
+FAIL Inserting kids of the &lt;html&gt; element should not do weird things with implied &lt;body&gt;/&lt;head&gt; tags assert_equals: Should still have one head expected 1 but got 3
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginsert_adjacent_htmlhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/insert_adjacent_html.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/insert_adjacent_html.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/insert_adjacent_html.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,94 @@
</span><ins>+&lt;!DOCTYPE HTML&gt;
+&lt;html&gt;
+&lt;head&gt;
+  &lt;title&gt;insertAdjacentHTML in HTML&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=&quot;insert_adjacent_html.js&quot;&gt;&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;p id=&quot;display&quot;&gt;&lt;/p&gt;&lt;div id=&quot;content&quot; style=&quot;display: none&quot;&gt;&lt;/div&gt;&lt;div id=&quot;content2&quot; style=&quot;display: none&quot;&gt;&lt;/div&gt;
+&lt;script&gt;
+var script_ran = false;
+
+function testPositions(node, testDesc) {
+  test(function() {
+    script_ran = false;
+    node.insertAdjacentHTML(&quot;beforeBegin&quot;, &quot;\u003Cscript&gt;script_ran = true;\u003C/script&gt;&lt;i&gt;&lt;/i&gt;&quot;);
+    assert_equals(node.previousSibling.localName, &quot;i&quot;, &quot;Should have had &lt;i&gt; as previous sibling&quot;);
+    assert_equals(node.previousSibling.previousSibling.localName, &quot;script&quot;, &quot;Should have had &lt;script&gt; as second previous child&quot;);
+    assert_false(script_ran, &quot;script should not have run&quot;);
+  }, &quot;beforeBegin &quot; + node.id + &quot; &quot; + testDesc)
+
+  test(function() {
+    script_ran = false;
+    node.insertAdjacentHTML(&quot;Afterbegin&quot;, &quot;&lt;b&gt;&lt;/b&gt;\u003Cscript&gt;script_ran = true;\u003C/script&gt;&quot;);
+    assert_equals(node.firstChild.localName, &quot;b&quot;, &quot;Should have had &lt;b&gt; as first child&quot;);
+    assert_equals(node.firstChild.nextSibling.localName, &quot;script&quot;, &quot;Should have had &lt;script&gt; as second child&quot;);
+    assert_false(script_ran, &quot;script should not have run&quot;);
+  }, &quot;Afterbegin &quot; + node.id + &quot; &quot; + testDesc);
+
+  test(function() {
+    script_ran = false;
+    node.insertAdjacentHTML(&quot;BeforeEnd&quot;, &quot;\u003Cscript&gt;script_ran = true;\u003C/script&gt;&lt;u&gt;&lt;/u&gt;&quot;);
+    assert_equals(node.lastChild.localName, &quot;u&quot;, &quot;Should have had &lt;u&gt; as last child&quot;);
+    assert_equals(node.lastChild.previousSibling.localName, &quot;script&quot;, &quot;Should have had &lt;script&gt; as penultimate child&quot;);
+    assert_false(script_ran, &quot;script should not have run&quot;);
+  }, &quot;BeforeEnd &quot; + node.id + &quot; &quot; + testDesc)
+
+  test(function() {
+    script_ran = false;
+    node.insertAdjacentHTML(&quot;afterend&quot;, &quot;&lt;a&gt;&lt;/a&gt;\u003Cscript&gt;script_ran = true;\u003C/script&gt;&quot;);
+    assert_equals(node.nextSibling.localName, &quot;a&quot;, &quot;Should have had &lt;a&gt; as next sibling&quot;);
+    assert_equals(node.nextSibling.nextSibling.localName, &quot;script&quot;, &quot;Should have had &lt;script&gt; as second next sibling&quot;);
+    assert_false(script_ran, &quot;script should not have run&quot;);
+  }, &quot;afterend &quot; + node.id + &quot; &quot; + testDesc)
+}
+
+var content = document.getElementById(&quot;content&quot;);
+testPositions(content, &quot;without next sibling&quot;);
+testPositions(content, &quot;again, with next sibling&quot;);
+
+test(function() {
+  assert_throws(&quot;SYNTAX_ERR&quot;, function() {content.insertAdjacentHTML(&quot;bar&quot;, &quot;foo&quot;)});
+  assert_throws(&quot;SYNTAX_ERR&quot;, function() {content.insertAdjacentHTML(&quot;beforebegÄ°n&quot;, &quot;foo&quot;)});
+  assert_throws(&quot;SYNTAX_ERR&quot;, function() {content.insertAdjacentHTML(&quot;beforebegın&quot;, &quot;foo&quot;)});
+}, &quot;Should throw when inserting with invalid position string&quot;);
+
+var parentElement = document.createElement(&quot;div&quot;);
+var child = document.createElement(&quot;div&quot;);
+child.id = &quot;child&quot;;
+
+testThrowingNoParent(child, &quot;null&quot;);
+testThrowingNoParent(document.documentElement, &quot;a document&quot;);
+
+test(function() {
+  child.insertAdjacentHTML(&quot;afterBegin&quot;, &quot;foo&quot;);
+  child.insertAdjacentHTML(&quot;beforeend&quot;, &quot;bar&quot;);
+  assert_equals(child.textContent, &quot;foobar&quot;);
+  parentElement.appendChild(child);
+}, &quot;Inserting after being and before end should order things correctly&quot;);
+
+testPositions(child, &quot;node not in tree but has parent&quot;);
+
+test(function() {
+  script_ran = false;
+  content.appendChild(parentElement); // must not run scripts
+  assert_false(script_ran, &quot;script should not have run&quot;);
+}, &quot;Should not run script when appending things which have descendant &lt;script&gt; inserted via insertAdjacentHTML&quot;);
+
+var content2 = document.getElementById(&quot;content2&quot;);
+testPositions(content2, &quot;without next sibling&quot;);
+testPositions(content2, &quot;test again, now that there's a next sibling&quot;);
+
+// HTML only
+test(function() {
+  document.body.insertAdjacentHTML(&quot;afterend&quot;, &quot;&lt;p&gt;&quot;);
+  document.head.insertAdjacentHTML(&quot;beforebegin&quot;, &quot;&lt;p&gt;&quot;);
+  assert_equals(document.getElementsByTagName(&quot;head&quot;).length, 1, &quot;Should still have one head&quot;);
+  assert_equals(document.getElementsByTagName(&quot;body&quot;).length, 1, &quot;Should still have one body&quot;);
+}, &quot;Inserting kids of the &lt;html&gt; element should not do weird things with implied &lt;body&gt;/&lt;head&gt; tags&quot;)
+&lt;/script&gt;
+&lt;div id=&quot;log&quot;&gt;&lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsinginsert_adjacent_htmljs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/insert_adjacent_html.js (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/insert_adjacent_html.js                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/insert_adjacent_html.js        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+function testThrowingNoParent(element, desc) {
+  test(function() {
+    assert_throws(&quot;NO_MODIFICATION_ALLOWED_ERR&quot;,
+      function() { element.insertAdjacentHTML(&quot;afterend&quot;, &quot;&quot;) }
+    );
+    assert_throws(&quot;NO_MODIFICATION_ALLOWED_ERR&quot;,
+      function() { element.insertAdjacentHTML(&quot;beforebegin&quot;, &quot;&quot;) }
+    );
+    assert_throws(&quot;NO_MODIFICATION_ALLOWED_ERR&quot;,
+      function() { element.insertAdjacentHTML(&quot;afterend&quot;, &quot;foo&quot;) }
+    );
+    assert_throws(&quot;NO_MODIFICATION_ALLOWED_ERR&quot;,
+      function() { element.insertAdjacentHTML(&quot;beforebegin&quot;, &quot;foo&quot;) }
+    );
+  }, &quot;When the parent node is &quot; + desc + &quot;, insertAdjacentHTML should throw for beforebegin and afterend (text)&quot;);
+  test(function() {
+    assert_throws(&quot;NO_MODIFICATION_ALLOWED_ERR&quot;,
+      function() { element.insertAdjacentHTML(&quot;afterend&quot;, &quot;&lt;!-- fail --&gt;&quot;) }
+    );
+    assert_throws(&quot;NO_MODIFICATION_ALLOWED_ERR&quot;,
+      function() { element.insertAdjacentHTML(&quot;beforebegin&quot;, &quot;&lt;!-- fail --&gt;&quot;) }
+    );
+  }, &quot;When the parent node is &quot; + desc + &quot;, insertAdjacentHTML should throw for beforebegin and afterend (comments)&quot;);
+  test(function() {
+    assert_throws(&quot;NO_MODIFICATION_ALLOWED_ERR&quot;,
+      function() { element.insertAdjacentHTML(&quot;afterend&quot;, &quot;&lt;div&gt;&lt;/div&gt;&quot;) }
+    );
+    assert_throws(&quot;NO_MODIFICATION_ALLOWED_ERR&quot;,
+      function() { element.insertAdjacentHTML(&quot;beforebegin&quot;, &quot;&lt;div&gt;&lt;/div&gt;&quot;) }
+    );
+  }, &quot;When the parent node is &quot; + desc + &quot;, insertAdjacentHTML should throw for beforebegin and afterend (elements)&quot;);
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsingouterhtml01expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/outerhtml-01-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/outerhtml-01-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/outerhtml-01-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS outerHTML: child of #document 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsingouterhtml01html"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/outerhtml-01.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/outerhtml-01.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/outerhtml-01.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;title&gt;outerHTML: child of #document&lt;/title&gt;
+&lt;link rel=&quot;author&quot; title=&quot;Ms2ger&quot; href=&quot;mailto:ms2ger@gmail.com&quot;&gt;
+&lt;link rel=&quot;help&quot; href=&quot;http://html5.org/specs/dom-parsing.html#outerhtml&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() {
+  assert_throws(&quot;NO_MODIFICATION_ALLOWED_ERR&quot;, function() {
+    document.documentElement.outerHTML = &quot;&lt;html&gt;&lt;p&gt;FAIL: Should have thrown an error&lt;\/p&gt;&lt;\/html&gt;&quot;;
+  })
+});
+&lt;/script&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsingouterhtml02expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/outerhtml-02-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/outerhtml-02-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/outerhtml-02-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+
+PASS outerHTML and string conversion: null. 
+PASS outerHTML and string conversion: undefined. 
+PASS outerHTML and string conversion: number. 
+PASS outerHTML and string conversion: toString. 
+PASS outerHTML and string conversion: valueOf. 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsingouterhtml02html"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/outerhtml-02.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/outerhtml-02.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/outerhtml-02.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,54 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;title&gt;outerHTML and string conversion&lt;/title&gt;
+&lt;link rel=&quot;author&quot; title=&quot;Ms2ger&quot; href=&quot;mailto:ms2ger@gmail.com&quot;&gt;
+&lt;link rel=&quot;help&quot; href=&quot;http://domparsing.spec.whatwg.org/#extensions-to-the-element-interface&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 div = document.createElement(&quot;div&quot;);
+  var p = div.appendChild(document.createElement(&quot;p&quot;));
+  p.outerHTML = null;
+  assert_equals(div.innerHTML, &quot;&quot;);
+  assert_equals(div.textContent, &quot;&quot;);
+}, &quot;outerHTML and string conversion: null.&quot;)
+
+test(function() {
+  var div = document.createElement(&quot;div&quot;);
+  var p = div.appendChild(document.createElement(&quot;p&quot;));
+  p.outerHTML = undefined;
+  assert_equals(div.innerHTML, &quot;undefined&quot;);
+  assert_equals(div.textContent, &quot;undefined&quot;);
+}, &quot;outerHTML and string conversion: undefined.&quot;)
+
+test(function() {
+  var div = document.createElement(&quot;div&quot;);
+  var p = div.appendChild(document.createElement(&quot;p&quot;));
+  p.outerHTML = 42;
+  assert_equals(div.innerHTML, &quot;42&quot;);
+  assert_equals(div.textContent, &quot;42&quot;);
+}, &quot;outerHTML and string conversion: number.&quot;)
+
+test(function() {
+  var div = document.createElement(&quot;div&quot;);
+  var p = div.appendChild(document.createElement(&quot;p&quot;));
+  p.outerHTML = {
+    toString: function() { return &quot;pass&quot;; },
+    valueOf: function() { return &quot;fail&quot;; }
+  };
+  assert_equals(div.innerHTML, &quot;pass&quot;);
+  assert_equals(div.textContent, &quot;pass&quot;);
+}, &quot;outerHTML and string conversion: toString.&quot;)
+
+test(function() {
+  var div = document.createElement(&quot;div&quot;);
+  var p = div.appendChild(document.createElement(&quot;p&quot;));
+  p.outerHTML = {
+    toString: undefined,
+    valueOf: function() { return &quot;pass&quot;; }
+  };
+  assert_equals(div.innerHTML, &quot;pass&quot;);
+  assert_equals(div.textContent, &quot;pass&quot;);
+}, &quot;outerHTML and string conversion: valueOf.&quot;)
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsingxmlserializationexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/xml-serialization-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/xml-serialization-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/xml-serialization-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+
+PASS Comment: containing -- 
+PASS Comment: starting with - 
+PASS Comment: ending with - 
+PASS Comment: containing --&gt; 
+FAIL DocumentType: empty public and system id assert_equals: expected &quot;&lt;!DOCTYPE html&gt;&quot; but got &quot;&lt;!DOCTYPE html PUBLIC \&quot;\&quot; \&quot;\&quot;&gt;&quot;
+FAIL DocumentType: empty system id assert_equals: expected &quot;&lt;!DOCTYPE html PUBLIC \&quot;a\&quot;&gt;&quot; but got &quot;&lt;!DOCTYPE html PUBLIC \&quot;a\&quot; \&quot;\&quot;&gt;&quot;
+FAIL DocumentType: empty public id assert_equals: expected &quot;&lt;!DOCTYPE html SYSTEM \&quot;a\&quot;&gt;&quot; but got &quot;&lt;!DOCTYPE html PUBLIC \&quot;\&quot; \&quot;a\&quot;&gt;&quot;
+PASS DocumentType: non-empty public and system id 
+PASS DocumentType: 'APOSTROPHE' (U+0027) 
+PASS DocumentType: 'QUOTATION MARK' (U+0022) 
+PASS DocumentType: 'APOSTROPHE' (U+0027) and 'QUOTATION MARK' (U+0022) 
+PASS ProcessingInstruction: empty data 
+PASS ProcessingInstruction: non-empty data 
+PASS ProcessingInstruction: target contains xml 
+PASS ProcessingInstruction: target contains a 'COLON' (U+003A) 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsingxmlserializationxhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/xml-serialization.xhtml (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/xml-serialization.xhtml                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/xml-serialization.xhtml        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,91 @@
</span><ins>+&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
+&lt;head&gt;
+  &lt;title&gt;XML serialization&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;div id=&quot;log&quot;&gt;&lt;/div&gt;
+&lt;script&gt;&lt;![CDATA[
+function serialize(node) {
+  var serializer = new XMLSerializer();
+  return serializer.serializeToString(node);
+}
+
+test(function() {
+  var dt = document.createComment(&quot;--&quot;);
+  assert_equals(serialize(dt), '&lt;!------&gt;');
+}, &quot;Comment: containing --&quot;);
+
+test(function() {
+  var dt = document.createComment(&quot;- x&quot;);
+  assert_equals(serialize(dt), '&lt;!--- x--&gt;');
+}, &quot;Comment: starting with -&quot;);
+
+test(function() {
+  var dt = document.createComment(&quot;x -&quot;);
+  assert_equals(serialize(dt), '&lt;!--x ---&gt;');
+}, &quot;Comment: ending with -&quot;);
+
+test(function() {
+  var dt = document.createComment(&quot;--&gt;&quot;);
+  assert_equals(serialize(dt), '&lt;!----&gt;--&gt;');
+}, &quot;Comment: containing --&gt;&quot;);
+
+test(function() {
+  var dt = document.implementation.createDocumentType(&quot;html&quot;, &quot;&quot;, &quot;&quot;);
+  assert_equals(serialize(dt), '&lt;!DOCTYPE html&gt;');
+}, &quot;DocumentType: empty public and system id&quot;);
+
+test(function() {
+  var dt = document.implementation.createDocumentType(&quot;html&quot;, &quot;a&quot;, &quot;&quot;);
+  assert_equals(serialize(dt), '&lt;!DOCTYPE html PUBLIC &quot;a&quot;&gt;');
+}, &quot;DocumentType: empty system id&quot;);
+
+test(function() {
+  var dt = document.implementation.createDocumentType(&quot;html&quot;, &quot;&quot;, &quot;a&quot;);
+  assert_equals(serialize(dt), '&lt;!DOCTYPE html SYSTEM &quot;a&quot;&gt;');
+}, &quot;DocumentType: empty public id&quot;);
+
+test(function() {
+  var dt = document.implementation.createDocumentType(&quot;html&quot;, &quot;a&quot;, &quot;b&quot;);
+  assert_equals(serialize(dt), '&lt;!DOCTYPE html PUBLIC &quot;a&quot; &quot;b&quot;&gt;');
+}, &quot;DocumentType: non-empty public and system id&quot;);
+
+test(function() {
+  var dt = document.implementation.createDocumentType(&quot;html&quot;, &quot;'&quot;, &quot;'&quot;);
+  assert_equals(serialize(dt), &quot;&lt;!DOCTYPE html PUBLIC \&quot;'\&quot; \&quot;'\&quot;&gt;&quot;);
+}, &quot;DocumentType: 'APOSTROPHE' (U+0027)&quot;);
+
+test(function() {
+  var dt = document.implementation.createDocumentType(&quot;html&quot;, '&quot;', '&quot;');
+  assert_equals(serialize(dt), '&lt;!DOCTYPE html PUBLIC &quot;&quot;&quot; &quot;&quot;&quot;&gt;');
+}, &quot;DocumentType: 'QUOTATION MARK' (U+0022)&quot;);
+
+test(function() {
+  var dt = document.implementation.createDocumentType(&quot;html&quot;, '&quot;\'', '\'&quot;');
+  assert_equals(serialize(dt), '&lt;!DOCTYPE html PUBLIC &quot;&quot;\'&quot; &quot;\'&quot;&quot;&gt;');
+}, &quot;DocumentType: 'APOSTROPHE' (U+0027) and 'QUOTATION MARK' (U+0022)&quot;);
+
+test(function() {
+  var pi = document.createProcessingInstruction(&quot;a&quot;, &quot;&quot;);
+  assert_equals(serialize(pi), &quot;&lt;?a ?&gt;&quot;);
+}, &quot;ProcessingInstruction: empty data&quot;);
+
+test(function() {
+  var pi = document.createProcessingInstruction(&quot;a&quot;, &quot;b&quot;);
+  assert_equals(serialize(pi), &quot;&lt;?a b?&gt;&quot;);
+}, &quot;ProcessingInstruction: non-empty data&quot;);
+
+test(function() {
+  var pi = document.createProcessingInstruction(&quot;xml&quot;, &quot;b&quot;);
+  assert_equals(serialize(pi), &quot;&lt;?xml b?&gt;&quot;);
+}, &quot;ProcessingInstruction: target contains xml&quot;);
+
+test(function() {
+  var pi = document.createProcessingInstruction(&quot;x:y&quot;, &quot;b&quot;);
+  assert_equals(serialize(pi), &quot;&lt;?x:y b?&gt;&quot;);
+}, &quot;ProcessingInstruction: target contains a 'COLON' (U+003A)&quot;);
+]]&gt;&lt;/script&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestheadexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Fetch with HEAD with body 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestheadworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head-worker-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head-worker-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head-worker-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Fetch with HEAD with body 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestheadworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head-worker.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head-worker.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head-worker.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,14 @@
</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: HEAD method&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&gt;
+      fetch_tests_from_worker(new Worker(&quot;request-head.js&quot;));
+    &lt;/script&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestheadhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot;&gt;
+    &lt;title&gt;Fetch: HEAD method&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;request-head.js&quot;&gt;&lt;/script&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicrequestheadjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head.js (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head.js                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head.js        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+if (this.document === undefined) {
+  importScripts(&quot;/resources/testharness.js&quot;);
+}
+
+promise_test(function(test) {
+  var requestInit = {&quot;method&quot;: &quot;HEAD&quot;, &quot;body&quot;: &quot;test&quot;};
+  return promise_rejects(test, new TypeError(), fetch(&quot;.&quot;, requestInit));
+}, &quot;Fetch with HEAD with body&quot;);
+
+done();
</ins></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 (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -1,7 +1,6 @@
</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><del>-FAIL Fetch with HEAD with body promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><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 (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-worker-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-worker-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -1,7 +1,6 @@
</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><del>-FAIL Fetch with HEAD with body promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><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 (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.js        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.js        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -24,7 +24,6 @@
</span><span class="cx"> 
</span><span class="cx"> requestHeaders(&quot;Fetch with GET&quot;, url, &quot;GET&quot;, null, location.origin, null);
</span><span class="cx"> requestHeaders(&quot;Fetch with HEAD&quot;, url, &quot;HEAD&quot;, null, location.origin, &quot;0&quot;);
</span><del>-requestHeaders(&quot;Fetch with HEAD with body&quot;, url, &quot;HEAD&quot;, &quot;Request's body&quot;, location.origin, &quot;14&quot;);
</del><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="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicresponseurlexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+
+PASS Testing response url getter with http://localhost:8800/ada 
+FAIL Testing response url getter with http://localhost:8800/# assert_equals: expected &quot;http://localhost:8800/&quot; but got &quot;http://localhost:8800/#&quot;
+FAIL Testing response url getter with http://localhost:8800/#ada assert_equals: expected &quot;http://localhost:8800/&quot; but got &quot;http://localhost:8800/#ada&quot;
+FAIL Testing response url getter with http://localhost:8800#ada assert_equals: expected &quot;http://localhost:8800/&quot; but got &quot;http://localhost:8800/#ada&quot;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicresponseurlworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url-worker-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url-worker-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url-worker-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+
+PASS Testing response url getter with http://localhost:8800/ada 
+FAIL Testing response url getter with http://localhost:8800/# assert_equals: expected &quot;http://localhost:8800/&quot; but got &quot;http://localhost:8800/#&quot;
+FAIL Testing response url getter with http://localhost:8800/#ada assert_equals: expected &quot;http://localhost:8800/&quot; but got &quot;http://localhost:8800/#ada&quot;
+FAIL Testing response url getter with http://localhost:8800#ada assert_equals: expected &quot;http://localhost:8800/&quot; but got &quot;http://localhost:8800/#ada&quot;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicresponseurlworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url-worker.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url-worker.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url-worker.html        2016-07-13 16:30:38 UTC (rev 203164)
</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 in worker: response url getter&lt;/title&gt;
+    &lt;meta name=&quot;help&quot; href=&quot;https://fetch.spec.whatwg.org/#response-class&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;response-url.js?pipe=sub&quot;));
+    &lt;/script&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicresponseurlhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url.html        2016-07-13 16:30:38 UTC (rev 203164)
</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: response url getter&lt;/title&gt;
+    &lt;meta name=&quot;help&quot; href=&quot;https://fetch.spec.whatwg.org/#response-class&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;response-url.js?pipe=sub&quot;&gt;&lt;/script&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicresponseurljs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url.js (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url.js                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url.js        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,21 @@
</span><ins>+if (this.document === undefined) {
+  importScripts(&quot;/resources/testharness.js&quot;);
+}
+
+function checkResponseURL(fetchedURL, expectedURL)
+{
+    promise_test(function() {
+        return fetch(fetchedURL).then(function(response) {
+            assert_equals(response.url, expectedURL);
+        });
+    }, &quot;Testing response url getter with &quot; +fetchedURL);
+}
+
+var baseURL = &quot;http://{{host}}:{{ports[http][0]}}&quot;;
+checkResponseURL(baseURL + &quot;/ada&quot;, baseURL + &quot;/ada&quot;);
+checkResponseURL(baseURL + &quot;/#&quot;, baseURL + &quot;/&quot;);
+checkResponseURL(baseURL + &quot;/#ada&quot;, baseURL + &quot;/&quot;);
+checkResponseURL(baseURL + &quot;#ada&quot;, baseURL + &quot;/&quot;);
+
+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 (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/w3c-import.log        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/w3c-import.log        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -30,9 +30,15 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-forbidden-headers-worker.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-forbidden-headers.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-forbidden-headers.js
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head-worker.html
+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head.html
+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/request-head.js
</ins><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/response-url-worker.html
+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url.html
+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/response-url.js
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about-worker.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about.js
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsbasicworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -1,10 +1,13 @@
</span><span class="cx"> 
</span><ins>+FAIL Same domain different port [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+PASS Same domain different port [server forbid CORS] 
+FAIL Same domain different port [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+PASS Same domain different protocol different port [server forbid CORS] 
+FAIL Same domain different protocol different port [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</ins><span class="cx"> FAIL Cross domain basic usage [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</span><span class="cx"> PASS Cross domain basic usage [server forbid CORS] 
</span><span class="cx"> FAIL Cross domain basic usage [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</span><del>-FAIL Same domain different port [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-PASS Same domain different port [server forbid CORS] 
-FAIL Same domain different port [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><span class="cx"> FAIL Cross domain different port [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</span><span class="cx"> PASS Cross domain different port [server forbid CORS] 
</span><span class="cx"> FAIL Cross domain different port [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</span><span class="lines">@@ -11,7 +14,4 @@
</span><span class="cx"> FAIL Cross domain different protocol [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</span><span class="cx"> PASS Cross domain different protocol [server forbid CORS] 
</span><span class="cx"> FAIL Cross domain different protocol [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</span><del>-FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-PASS Same domain different protocol different port [server forbid CORS] 
-FAIL Same domain different protocol different port [cors mode] promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorscookiesworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-worker-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -1,8 +1,8 @@
</span><span class="cx"> 
</span><ins>+FAIL Omit mode: no cookie sent assert_false: Request should have no cookie expected false got true
</ins><span class="cx"> FAIL Include mode: 1 cookie promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</span><span class="cx"> FAIL Include mode: local cookies are not sent with remote request promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</span><span class="cx"> FAIL Include mode: remote cookies are not sent with local request promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</span><span class="cx"> FAIL Include mode: remote cookies are not sent with other remote request promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</span><span class="cx"> FAIL Same-origin mode: cookies are discarded in cors request promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</span><del>-FAIL Omit mode: no cookie sent assert_false: Request should have no cookie expected false got true
</del><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorspreflightexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-expected.txt (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -1,8 +1,18 @@
</span><span class="cx"> 
</span><del>-PASS CORS [DELETE], server refuses 
-PASS CORS [PUT], server refuses 
-FAIL CORS [PATCH], server allows promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
-PASS CORS [PATCH], server refuses 
</del><ins>+Harness Error (TIMEOUT), message = null
+
</ins><span class="cx"> FAIL CORS [DELETE], server allows promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</span><del>-FAIL CORS [PUT], server allows promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+TIMEOUT CORS [DELETE], server refuses Test timed out
+TIMEOUT CORS [PUT], server allows Test timed out
+TIMEOUT CORS [PUT], server refuses Test timed out
+TIMEOUT CORS [PATCH], server allows Test timed out
+TIMEOUT CORS [PATCH], server refuses Test timed out
+TIMEOUT CORS [NEW], server allows Test timed out
+TIMEOUT CORS [NEW], server refuses Test timed out
+TIMEOUT CORS [GET] [x-test-header: allowed], server allows Test timed out
+TIMEOUT CORS [GET] [x-test-header: refused], server refuses Test timed out
+TIMEOUT CORS [GET] [several headers], server allows Test timed out
+TIMEOUT CORS [GET] [several headers], server refuses Test timed out
+TIMEOUT CORS [PUT] [several headers], server allows Test timed out
+TIMEOUT CORS [PUT] [several headers], server refuses Test timed out
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorspreflightworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-worker-expected.txt (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-worker-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-worker-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -1,3 +1,18 @@
</span><span class="cx"> 
</span><del>-PASS Untitled 
</del><ins>+Harness Error (TIMEOUT), message = null
</ins><span class="cx"> 
</span><ins>+FAIL CORS [DELETE], server allows promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
+TIMEOUT CORS [DELETE], server refuses Test timed out
+TIMEOUT CORS [PUT], server allows Test timed out
+TIMEOUT CORS [PUT], server refuses Test timed out
+TIMEOUT CORS [PATCH], server allows Test timed out
+TIMEOUT CORS [PATCH], server refuses Test timed out
+TIMEOUT CORS [NEW], server allows Test timed out
+TIMEOUT CORS [NEW], server refuses Test timed out
+TIMEOUT CORS [GET] [x-test-header: allowed], server allows Test timed out
+TIMEOUT CORS [GET] [x-test-header: refused], server refuses Test timed out
+TIMEOUT CORS [GET] [several headers], server allows Test timed out
+TIMEOUT CORS [GET] [several headers], server refuses Test timed out
+TIMEOUT CORS [PUT] [several headers], server allows Test timed out
+TIMEOUT CORS [PUT] [several headers], server refuses Test timed out
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorspreflightjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight.js (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight.js        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight.js        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -10,29 +10,25 @@
</span><span class="cx">   Check control access headers added by UA (for method and headers)
</span><span class="cx"> */
</span><span class="cx"> function corsPreflight(desc, corsUrl, method, allowed, headers) {
</span><del>-  var uuid_token = token();
-  fetch(RESOURCES_DIR + &quot;clean-stash.py?token=&quot; + uuid_token).then(function(response) {
</del><ins>+  return promise_test(function(test) {
+    var uuid_token = token();
+    return fetch(RESOURCES_DIR + &quot;clean-stash.py?token=&quot; + uuid_token).then(function(response) {
+      var url = corsUrl;
+      var urlParameters = &quot;?token=&quot; + uuid_token + &quot;&amp;max_age=0&quot;;
+      var requestInit = {&quot;mode&quot;: &quot;cors&quot;, &quot;method&quot;: method};
+      if (headers)
+        requestInit[&quot;headers&quot;] = headers;
</ins><span class="cx"> 
</span><del>-    var url = corsUrl;
-    var urlParameters = &quot;?token=&quot; + uuid_token + &quot;&amp;max_age=0&quot;;
-    var requestInit = {&quot;mode&quot;: &quot;cors&quot;, &quot;method&quot;: method};
-    if (headers)
-      requestInit[&quot;headers&quot;] = headers;
-
-    if (allowed) {
-      urlParameters += &quot;&amp;allow_methods=&quot; + method;
-      if (headers) {
-        //Let's check prefligh request.
-        //Server will send back headers from Access-Control-Request-Headers in x-control-request-headers
-        urlParameters += &quot;&amp;control_request_headers&quot;
-        //Make the server allow the headers
-        urlParameters += &quot;&amp;allow_headers=&quot;
-        urlParameters += headers.map(function (x) { return x[0]; }).join(&quot;%2C%20&quot;);
-      }
-      promise_test(function(test) {
-        test.add_cleanup(function() {
-          fetch(RESOURCES_DIR + &quot;clean-stash.py?token=&quot; + uuid_token);
-        });
</del><ins>+      if (allowed) {
+        urlParameters += &quot;&amp;allow_methods=&quot; + method;
+        if (headers) {
+          //Let's check prefligh request.
+          //Server will send back headers from Access-Control-Request-Headers in x-control-request-headers
+          urlParameters += &quot;&amp;control_request_headers&quot;
+          //Make the server allow the headers
+          urlParameters += &quot;&amp;allow_headers=&quot;
+          urlParameters += headers.map(function (x) { return x[0]; }).join(&quot;%2C%20&quot;);
+        }
</ins><span class="cx">         return fetch(url + urlParameters, requestInit).then(function(resp) {
</span><span class="cx">           assert_equals(resp.status, 200, &quot;Response's status is 200&quot;);
</span><span class="cx">           assert_equals(resp.headers.get(&quot;x-did-preflight&quot;), &quot;1&quot;, &quot;Preflight request has been made&quot;);
</span><span class="lines">@@ -43,20 +39,18 @@
</span><span class="cx">             for (var header of headers)
</span><span class="cx">               assert_in_array(header[0], actualHeaders, &quot;Preflight asked permission for header: &quot; + header);
</span><span class="cx">           }
</span><ins>+          return fetch(RESOURCES_DIR + &quot;clean-stash.py?token=&quot; + uuid_token);
</ins><span class="cx">         });
</span><del>-      }, desc);
-    } else {
-      promise_test(function(test) {
-        test.add_cleanup(function() {
-          fetch(RESOURCES_DIR + &quot;clean-stash.py?token=&quot; + uuid_token);
</del><ins>+      } else {
+        return promise_rejects(test, new TypeError(), fetch(url + urlParameters, requestInit)).then(function(){
+          return fetch(RESOURCES_DIR + &quot;clean-stash.py?token=&quot; + uuid_token);
</ins><span class="cx">         });
</span><del>-        return promise_rejects(test, new TypeError(), fetch(url + urlParameters, requestInit));
-      }, desc);
-    }
-  });
</del><ins>+      }
+    });
+  }, desc);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-var corsUrl = &quot;http://www1.{{host}}:{{ports[http][0]}}&quot; + dirname(location.pathname) + RESOURCES_DIR + &quot;preflight.py&quot;;
</del><ins>+var corsUrl = &quot;http://{{host}}:{{ports[http][1]}}&quot; + dirname(location.pathname) + RESOURCES_DIR + &quot;preflight.py&quot;;
</ins><span class="cx"> 
</span><span class="cx"> corsPreflight(&quot;CORS [DELETE], server allows&quot;, corsUrl, &quot;DELETE&quot;, true);
</span><span class="cx"> corsPreflight(&quot;CORS [DELETE], server refuses&quot;, corsUrl, &quot;DELETE&quot;, false);
</span><span class="lines">@@ -77,3 +71,5 @@
</span><span class="cx"> corsPreflight(&quot;CORS [GET] [several headers], server refuses&quot;, corsUrl, &quot;GET&quot;, false, headers);
</span><span class="cx"> corsPreflight(&quot;CORS [PUT] [several headers], server allows&quot;, corsUrl, &quot;PUT&quot;, true, headers);
</span><span class="cx"> corsPreflight(&quot;CORS [PUT] [several headers], server refuses&quot;, corsUrl, &quot;PUT&quot;, false, headers);
</span><ins>+
+done();
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsredirectcredentialsworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-worker-expected.txt (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-worker-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-worker-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -5,12 +5,12 @@
</span><span class="cx"> PASS Redirect 301 from remote to same origin with user and password 
</span><span class="cx"> PASS Redirect 301 from remote to same origin with user 
</span><span class="cx"> PASS Redirect 301 from remote to same origin with password 
</span><ins>+PASS Redirect 301 from remote to same remote with user and password 
+PASS Redirect 301 from remote to same remote with user 
+PASS Redirect 301 from remote to same remote with password 
</ins><span class="cx"> PASS Redirect 301 from remote to another remote with user and password 
</span><span class="cx"> PASS Redirect 301 from remote to another remote with user 
</span><span class="cx"> PASS Redirect 301 from remote to another remote with password 
</span><del>-PASS Redirect 301 from remote to same remote with user and password 
-PASS Redirect 301 from remote to same remote with user 
-PASS Redirect 301 from remote to same remote with password 
</del><span class="cx"> PASS Redirect 302 from same origin to remote with user and password 
</span><span class="cx"> PASS Redirect 302 from same origin to remote with user 
</span><span class="cx"> PASS Redirect 302 from same origin to remote with password 
</span><span class="lines">@@ -17,12 +17,12 @@
</span><span class="cx"> PASS Redirect 302 from remote to same origin with user and password 
</span><span class="cx"> PASS Redirect 302 from remote to same origin with user 
</span><span class="cx"> PASS Redirect 302 from remote to same origin with password 
</span><ins>+PASS Redirect 302 from remote to same remote with user and password 
+PASS Redirect 302 from remote to same remote with user 
+PASS Redirect 302 from remote to same remote with password 
</ins><span class="cx"> PASS Redirect 302 from remote to another remote with user and password 
</span><span class="cx"> PASS Redirect 302 from remote to another remote with user 
</span><span class="cx"> PASS Redirect 302 from remote to another remote with password 
</span><del>-PASS Redirect 302 from remote to same remote with user and password 
-PASS Redirect 302 from remote to same remote with user 
-PASS Redirect 302 from remote to same remote with password 
</del><span class="cx"> PASS Redirect 303 from same origin to remote with user and password 
</span><span class="cx"> PASS Redirect 303 from same origin to remote with user 
</span><span class="cx"> PASS Redirect 303 from same origin to remote with password 
</span><span class="lines">@@ -29,12 +29,12 @@
</span><span class="cx"> PASS Redirect 303 from remote to same origin with user and password 
</span><span class="cx"> PASS Redirect 303 from remote to same origin with user 
</span><span class="cx"> PASS Redirect 303 from remote to same origin with password 
</span><ins>+PASS Redirect 303 from remote to same remote with user and password 
+PASS Redirect 303 from remote to same remote with user 
+PASS Redirect 303 from remote to same remote with password 
</ins><span class="cx"> PASS Redirect 303 from remote to another remote with user and password 
</span><span class="cx"> PASS Redirect 303 from remote to another remote with user 
</span><span class="cx"> PASS Redirect 303 from remote to another remote with password 
</span><del>-PASS Redirect 303 from remote to same remote with user and password 
-PASS Redirect 303 from remote to same remote with user 
-PASS Redirect 303 from remote to same remote with password 
</del><span class="cx"> PASS Redirect 307 from same origin to remote with user and password 
</span><span class="cx"> PASS Redirect 307 from same origin to remote with user 
</span><span class="cx"> PASS Redirect 307 from same origin to remote with password 
</span><span class="lines">@@ -41,12 +41,12 @@
</span><span class="cx"> PASS Redirect 307 from remote to same origin with user and password 
</span><span class="cx"> PASS Redirect 307 from remote to same origin with user 
</span><span class="cx"> PASS Redirect 307 from remote to same origin with password 
</span><ins>+PASS Redirect 307 from remote to same remote with user and password 
+PASS Redirect 307 from remote to same remote with user 
+PASS Redirect 307 from remote to same remote with password 
</ins><span class="cx"> PASS Redirect 307 from remote to another remote with user and password 
</span><span class="cx"> PASS Redirect 307 from remote to another remote with user 
</span><span class="cx"> PASS Redirect 307 from remote to another remote with password 
</span><del>-PASS Redirect 307 from remote to same remote with user and password 
-PASS Redirect 307 from remote to same remote with user 
-PASS Redirect 307 from remote to same remote with password 
</del><span class="cx"> PASS Redirect 308 from same origin to remote with user and password 
</span><span class="cx"> PASS Redirect 308 from same origin to remote with user 
</span><span class="cx"> PASS Redirect 308 from same origin to remote with password 
</span><span class="lines">@@ -53,10 +53,10 @@
</span><span class="cx"> PASS Redirect 308 from remote to same origin with user and password 
</span><span class="cx"> PASS Redirect 308 from remote to same origin with user 
</span><span class="cx"> PASS Redirect 308 from remote to same origin with password 
</span><ins>+PASS Redirect 308 from remote to same remote with user and password 
+PASS Redirect 308 from remote to same remote with user 
+PASS Redirect 308 from remote to same remote with password 
</ins><span class="cx"> PASS Redirect 308 from remote to another remote with user and password 
</span><span class="cx"> PASS Redirect 308 from remote to another remote with user 
</span><span class="cx"> PASS Redirect 308 from remote to another remote with password 
</span><del>-PASS Redirect 308 from remote to same remote with user and password 
-PASS Redirect 308 from remote to same remote with user 
-PASS Redirect 308 from remote to same remote with password 
</del><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicredentialsauthenticationbasicworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/authentication-basic-worker-expected.txt (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/authentication-basic-worker-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/authentication-basic-worker-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -1,5 +1,8 @@
</span><ins>+localhost:8800 - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
+localhost:8800 - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
+localhost:8800 - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
</ins><span class="cx"> 
</span><del>-FAIL User-added Authorization header with include mode Can't find variable: btoa
-FAIL User-added Authorization header with same-origin mode Can't find variable: btoa
-FAIL User-added Authorization header with omit mode Can't find variable: btoa
</del><ins>+FAIL User-added Authorization header with include mode assert_equals: HTTP status is 200 expected 200 but got 401
+FAIL User-added Authorization header with same-origin mode assert_equals: HTTP status is 200 expected 200 but got 401
+FAIL User-added Authorization header with omit mode assert_equals: HTTP status is 200 expected 200 but got 401
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicredentialscookiesworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/cookies-worker-expected.txt (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/cookies-worker-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/cookies-worker-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -1,9 +1,9 @@
</span><span class="cx"> 
</span><span class="cx"> PASS Include mode: 1 cookie 
</span><span class="cx"> PASS Include mode: 2 cookies 
</span><del>-PASS Omit mode: discard cookies 
-PASS Omit mode: no cookie is stored 
-PASS Omit mode: no cookie is sent 
</del><ins>+FAIL Omit mode: discard cookies assert_false: Request does not have cookie(s) expected false got true
+FAIL Omit mode: no cookie is stored assert_false: Request does not have cookie(s) expected false got true
+FAIL Omit mode: no cookie is sent assert_false: Request does not have cookie(s) expected false got true
</ins><span class="cx"> PASS Same-origin mode: 1 cookie 
</span><span class="cx"> PASS Same-origin mode: 2 cookies 
</span><span class="cx"> 
</span></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 (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-worker-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-worker-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> CONSOLE MESSAGE: Unrecognized Content-Security-Policy directive 'referrer'.
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-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;
</del><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.js?pipe=sub&quot;
</ins><span class="cx"> PASS Throw a TypeError referrer is not same-origin with origin 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapiredirectredirectlocationworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -4,29 +4,29 @@
</span><span class="cx"> PASS Redirect 301 in &quot;follow&quot; mode with invalid location 
</span><span class="cx"> PASS Redirect 301 in &quot;manual&quot; mode with invalid location 
</span><span class="cx"> PASS Redirect 301 in &quot;follow&quot; mode with data location 
</span><del>-FAIL Redirect 301 in &quot;manual&quot; mode with data location promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+PASS Redirect 301 in &quot;manual&quot; mode with data location 
</ins><span class="cx"> PASS Redirect 302 in &quot;follow&quot; mode without location 
</span><span class="cx"> PASS Redirect 302 in &quot;manual&quot; mode without location 
</span><span class="cx"> PASS Redirect 302 in &quot;follow&quot; mode with invalid location 
</span><span class="cx"> PASS Redirect 302 in &quot;manual&quot; mode with invalid location 
</span><span class="cx"> PASS Redirect 302 in &quot;follow&quot; mode with data location 
</span><del>-FAIL Redirect 302 in &quot;manual&quot; mode with data location promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+PASS Redirect 302 in &quot;manual&quot; mode with data location 
</ins><span class="cx"> PASS Redirect 303 in &quot;follow&quot; mode without location 
</span><span class="cx"> PASS Redirect 303 in &quot;manual&quot; mode without location 
</span><span class="cx"> PASS Redirect 303 in &quot;follow&quot; mode with invalid location 
</span><span class="cx"> PASS Redirect 303 in &quot;manual&quot; mode with invalid location 
</span><span class="cx"> PASS Redirect 303 in &quot;follow&quot; mode with data location 
</span><del>-FAIL Redirect 303 in &quot;manual&quot; mode with data location promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+PASS Redirect 303 in &quot;manual&quot; mode with data location 
</ins><span class="cx"> PASS Redirect 307 in &quot;follow&quot; mode without location 
</span><span class="cx"> PASS Redirect 307 in &quot;manual&quot; mode without location 
</span><span class="cx"> PASS Redirect 307 in &quot;follow&quot; mode with invalid location 
</span><span class="cx"> PASS Redirect 307 in &quot;manual&quot; mode with invalid location 
</span><span class="cx"> PASS Redirect 307 in &quot;follow&quot; mode with data location 
</span><del>-FAIL Redirect 307 in &quot;manual&quot; mode with data location promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+PASS Redirect 307 in &quot;manual&quot; mode with data location 
</ins><span class="cx"> PASS Redirect 308 in &quot;follow&quot; mode without location 
</span><span class="cx"> PASS Redirect 308 in &quot;manual&quot; mode without location 
</span><span class="cx"> PASS Redirect 308 in &quot;follow&quot; mode with invalid location 
</span><span class="cx"> PASS Redirect 308 in &quot;manual&quot; mode with invalid location 
</span><span class="cx"> PASS Redirect 308 in &quot;follow&quot; mode with data location 
</span><del>-FAIL Redirect 308 in &quot;manual&quot; mode with data location promise_test: Unhandled rejection with value: object &quot;TypeError: Type error&quot;
</del><ins>+PASS Redirect 308 in &quot;manual&quot; mode with data location 
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapiredirectredirectmodeworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-mode-worker-expected.txt (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-mode-worker-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-mode-worker-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -1,17 +1,17 @@
</span><span class="cx"> 
</span><del>-FAIL Redirect 301 in &quot;error&quot; mode  assert_unreached: Should have rejected. Reached unreachable code
</del><ins>+PASS Redirect 301 in &quot;error&quot; mode  
</ins><span class="cx"> PASS Redirect 301 in &quot;follow&quot; mode  
</span><del>-FAIL Redirect 301 in &quot;manual&quot; mode  assert_equals: Response's status is 0 expected 0 but got 200
-FAIL Redirect 302 in &quot;error&quot; mode  assert_unreached: Should have rejected. Reached unreachable code
</del><ins>+PASS Redirect 301 in &quot;manual&quot; mode  
+PASS Redirect 302 in &quot;error&quot; mode  
</ins><span class="cx"> PASS Redirect 302 in &quot;follow&quot; mode  
</span><del>-FAIL Redirect 302 in &quot;manual&quot; mode  assert_equals: Response's status is 0 expected 0 but got 200
-FAIL Redirect 303 in &quot;error&quot; mode  assert_unreached: Should have rejected. Reached unreachable code
</del><ins>+PASS Redirect 302 in &quot;manual&quot; mode  
+PASS Redirect 303 in &quot;error&quot; mode  
</ins><span class="cx"> PASS Redirect 303 in &quot;follow&quot; mode  
</span><del>-FAIL Redirect 303 in &quot;manual&quot; mode  assert_equals: Response's status is 0 expected 0 but got 200
-FAIL Redirect 307 in &quot;error&quot; mode  assert_unreached: Should have rejected. Reached unreachable code
</del><ins>+PASS Redirect 303 in &quot;manual&quot; mode  
+PASS Redirect 307 in &quot;error&quot; mode  
</ins><span class="cx"> PASS Redirect 307 in &quot;follow&quot; mode  
</span><del>-FAIL Redirect 307 in &quot;manual&quot; mode  assert_equals: Response's status is 0 expected 0 but got 200
-FAIL Redirect 308 in &quot;error&quot; mode  assert_unreached: Should have rejected. Reached unreachable code
</del><ins>+PASS Redirect 307 in &quot;manual&quot; mode  
+PASS Redirect 308 in &quot;error&quot; mode  
</ins><span class="cx"> PASS Redirect 308 in &quot;follow&quot; mode  
</span><del>-FAIL Redirect 308 in &quot;manual&quot; mode  assert_equals: Response's status is 0 expected 0 but got 200
</del><ins>+PASS Redirect 308 in &quot;manual&quot; mode  
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapirequestrequestinit002html"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-init-002.html (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-init-002.html        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-init-002.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -31,9 +31,8 @@
</span><span class="cx">         promise_test(function(test) {
</span><span class="cx">           var request = new Request(&quot;&quot;, makeRequestInit(body, &quot;POST&quot;));
</span><span class="cx">           if (body) {
</span><del>-            assert_throws(new TypeError(),
-                          function() { new Request(&quot;&quot;, makeRequestInit(body, &quot;GET&quot;)); }
-            );
</del><ins>+            assert_throws(new TypeError(), function() { new Request(&quot;&quot;, makeRequestInit(body, &quot;GET&quot;)); });
+            assert_throws(new TypeError(), function() { new Request(&quot;&quot;, makeRequestInit(body, &quot;HEAD&quot;)); });
</ins><span class="cx">           } else {
</span><span class="cx">             new Request(&quot;&quot;, makeRequestInit(body, &quot;GET&quot;)); // should not throw
</span><span class="cx">           }
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapirequestrequestinit003subexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-init-003.sub-expected.txt (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-init-003.sub-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-init-003.sub-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> 
</span><span class="cx"> PASS Check request values when initialized from Request 
</span><span class="cx"> PASS Check request values when initialized from Request and init values 
</span><del>-FAIL Check request values when initialized from url string assert_equals: Check url attribute expected &quot;http://url.test:1234/path/subpath?query=true&quot; but got &quot;http://url.test:1234/path/subpath?query=true#fragment&quot;
-FAIL Check request values when initialized from url and init values assert_equals: Check url attribute expected &quot;http://url.test:1234/path/subpath?query=true&quot; but got &quot;http://url.test:1234/path/subpath?query=true#fragment&quot;
</del><ins>+FAIL Check request values when initialized from url string assert_equals: Check referrer attribute expected &quot;http://localhost:8800/&quot; but got &quot;about:client&quot;
+PASS Check request values when initialized from url and init values 
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapirequestrequestinit003subhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-init-003.sub.html (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-init-003.sub.html        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-init-003.sub.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -66,8 +66,8 @@
</span><span class="cx"> 
</span><span class="cx">       test(function() {
</span><span class="cx">         var url = &quot;http://url.test:1234/path/subpath?query=true&quot;;
</span><ins>+        url += &quot;#fragment&quot;;
</ins><span class="cx">         expectedDefault[&quot;url&quot;] = url;
</span><del>-        url += &quot;#fragment&quot;;
</del><span class="cx">         var requestToCheck = new Request(url);
</span><span class="cx">         checkRequest(requestToCheck, expectedDefault);
</span><span class="cx">       }, &quot;Check request values when initialized from url string&quot;);
</span><span class="lines">@@ -74,8 +74,8 @@
</span><span class="cx"> 
</span><span class="cx">       test(function() {
</span><span class="cx">         var url = &quot;http://url.test:1234/path/subpath?query=true&quot;;
</span><ins>+        url += &quot;#fragment&quot;;
</ins><span class="cx">         expectedInitialized[&quot;url&quot;] = url;
</span><del>-        url += &quot;#fragment&quot;;
</del><span class="cx">         var requestToCheck = new Request(url , initValuesDict);
</span><span class="cx">         checkRequest(requestToCheck, expectedInitialized);
</span><span class="cx">       }, &quot;Check request values when initialized from url and init values&quot;);
</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 (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -2568,27 +2568,29 @@
</span><span class="cx"> PASS TrackEvent interface: existence and properties of interface prototype object 
</span><span class="cx"> PASS TrackEvent interface: existence and properties of interface prototype object's &quot;constructor&quot; property 
</span><span class="cx"> PASS TrackEvent interface: attribute track 
</span><del>-FAIL TrackEvent must be primary interface of new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL Stringification of new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL TrackEvent interface: new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;track&quot; with the proper type (0) assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL Event interface: new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;type&quot; with the proper type (0) assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL Event interface: new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;target&quot; with the proper type (1) assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL Event interface: new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;currentTarget&quot; with the proper type (2) assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL Event interface: new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;NONE&quot; with the proper type (3) assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL Event interface: new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;CAPTURING_PHASE&quot; with the proper type (4) assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL Event interface: new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;AT_TARGET&quot; with the proper type (5) assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL Event interface: new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;BUBBLING_PHASE&quot; with the proper type (6) assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL Event interface: new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;eventPhase&quot; with the proper type (7) assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL Event interface: new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;stopPropagation&quot; with the proper type (8) assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL Event interface: new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;stopImmediatePropagation&quot; with the proper type (9) assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL Event interface: new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;bubbles&quot; with the proper type (10) assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL Event interface: new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;cancelable&quot; with the proper type (11) assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL Event interface: new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;preventDefault&quot; with the proper type (12) assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL Event interface: new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;defaultPrevented&quot; with the proper type (13) assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL Event interface: new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) must have own property &quot;isTrusted&quot; assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL Event interface: new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;timeStamp&quot; with the proper type (15) assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL Event interface: new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;initEvent&quot; with the proper type (16) assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
-FAIL Event interface: calling initEvent(DOMString,boolean,boolean) on new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track}) with too few arguments must throw TypeError assert_equals: Unexpected exception when evaluating object expected null but got object &quot;SyntaxError: Unexpected token ';'. Expected ')' to end an...&quot;
</del><ins>+PASS TrackEvent must be primary interface of new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) 
+PASS Stringification of new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) 
+FAIL TrackEvent interface: new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;track&quot; with the proper type (0) Unrecognized type [object Object],[object Object],[object Object]
+PASS Event interface: new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;type&quot; with the proper type (0) 
+PASS Event interface: new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;target&quot; with the proper type (1) 
+PASS Event interface: new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;currentTarget&quot; with the proper type (2) 
+PASS Event interface: new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;NONE&quot; with the proper type (3) 
+PASS Event interface: new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;CAPTURING_PHASE&quot; with the proper type (4) 
+PASS Event interface: new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;AT_TARGET&quot; with the proper type (5) 
+PASS Event interface: new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;BUBBLING_PHASE&quot; with the proper type (6) 
+PASS Event interface: new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;eventPhase&quot; with the proper type (7) 
+PASS Event interface: new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;stopPropagation&quot; with the proper type (8) 
+PASS Event interface: new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;stopImmediatePropagation&quot; with the proper type (9) 
+PASS Event interface: new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;bubbles&quot; with the proper type (10) 
+PASS Event interface: new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;cancelable&quot; with the proper type (11) 
+PASS Event interface: new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;preventDefault&quot; with the proper type (12) 
+PASS Event interface: new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;defaultPrevented&quot; with the proper type (13) 
+PASS Event interface: new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) must have own property &quot;isTrusted&quot; 
+PASS Event interface: new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;timeStamp&quot; with the proper type (15) 
+PASS Event interface: new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) must inherit property &quot;initEvent&quot; with the proper type (16) 
+FAIL Event interface: calling initEvent(DOMString,boolean,boolean) on new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track}) with too few arguments must throw TypeError assert_throws: Called with 0 arguments function &quot;function () {
+            fn.apply(obj, args);
+        }&quot; did not throw
</ins><span class="cx"> PASS HTMLMapElement interface: existence and properties of interface object 
</span><span class="cx"> PASS HTMLMapElement interface object length 
</span><span class="cx"> PASS HTMLMapElement interface object name 
</span><span class="lines">@@ -6150,44 +6152,9 @@
</span><span class="cx"> FAIL BroadcastChannel interface: operation postMessage(any) assert_own_property: self does not have own property &quot;BroadcastChannel&quot; expected property &quot;BroadcastChannel&quot; missing
</span><span class="cx"> FAIL BroadcastChannel interface: operation close() assert_own_property: self does not have own property &quot;BroadcastChannel&quot; expected property &quot;BroadcastChannel&quot; missing
</span><span class="cx"> FAIL BroadcastChannel interface: attribute onmessage assert_own_property: self does not have own property &quot;BroadcastChannel&quot; expected property &quot;BroadcastChannel&quot; missing
</span><del>-FAIL WorkerGlobalScope interface: existence and properties of interface object assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface object length assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface object name assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: existence and properties of interface prototype object assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: existence and properties of interface prototype object's &quot;constructor&quot; property assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: attribute self assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: attribute location assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: operation close() assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: attribute onerror assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: attribute onlanguagechange assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: attribute onoffline assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: attribute ononline assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: operation importScripts(DOMString) assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: attribute navigator assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: operation createImageBitmap(ImageBitmapSource,long,long,long,long) assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: operation setTimeout(Function,long,any) assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: operation setTimeout(DOMString,long,any) assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: operation clearTimeout(long) assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: operation setInterval(Function,long,any) assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: operation setInterval(DOMString,long,any) assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: operation clearInterval(long) assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: operation btoa(DOMString) assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL WorkerGlobalScope interface: operation atob(DOMString) assert_own_property: self does not have own property &quot;WorkerGlobalScope&quot; expected property &quot;WorkerGlobalScope&quot; missing
-FAIL DedicatedWorkerGlobalScope interface: existence and properties of interface object assert_own_property: self does not have own property &quot;DedicatedWorkerGlobalScope&quot; expected property &quot;DedicatedWorkerGlobalScope&quot; missing
-FAIL DedicatedWorkerGlobalScope interface object length assert_own_property: self does not have own property &quot;DedicatedWorkerGlobalScope&quot; expected property &quot;DedicatedWorkerGlobalScope&quot; missing
-FAIL DedicatedWorkerGlobalScope interface object name assert_own_property: self does not have own property &quot;DedicatedWorkerGlobalScope&quot; expected property &quot;DedicatedWorkerGlobalScope&quot; missing
-FAIL DedicatedWorkerGlobalScope interface: existence and properties of interface prototype object assert_own_property: self does not have own property &quot;DedicatedWorkerGlobalScope&quot; expected property &quot;DedicatedWorkerGlobalScope&quot; missing
-FAIL DedicatedWorkerGlobalScope interface: existence and properties of interface prototype object's &quot;constructor&quot; property assert_own_property: self does not have own property &quot;DedicatedWorkerGlobalScope&quot; expected property &quot;DedicatedWorkerGlobalScope&quot; missing
-FAIL DedicatedWorkerGlobalScope interface: operation postMessage(any,[object Object]) assert_own_property: self does not have own property &quot;DedicatedWorkerGlobalScope&quot; expected property &quot;DedicatedWorkerGlobalScope&quot; missing
-FAIL DedicatedWorkerGlobalScope interface: attribute onmessage assert_own_property: self does not have own property &quot;DedicatedWorkerGlobalScope&quot; expected property &quot;DedicatedWorkerGlobalScope&quot; missing
-FAIL SharedWorkerGlobalScope interface: existence and properties of interface object assert_own_property: self does not have own property &quot;SharedWorkerGlobalScope&quot; expected property &quot;SharedWorkerGlobalScope&quot; missing
-FAIL SharedWorkerGlobalScope interface object length assert_own_property: self does not have own property &quot;SharedWorkerGlobalScope&quot; expected property &quot;SharedWorkerGlobalScope&quot; missing
-FAIL SharedWorkerGlobalScope interface object name assert_own_property: self does not have own property &quot;SharedWorkerGlobalScope&quot; expected property &quot;SharedWorkerGlobalScope&quot; missing
-FAIL SharedWorkerGlobalScope interface: existence and properties of interface prototype object assert_own_property: self does not have own property &quot;SharedWorkerGlobalScope&quot; expected property &quot;SharedWorkerGlobalScope&quot; missing
-FAIL SharedWorkerGlobalScope interface: existence and properties of interface prototype object's &quot;constructor&quot; property assert_own_property: self does not have own property &quot;SharedWorkerGlobalScope&quot; expected property &quot;SharedWorkerGlobalScope&quot; missing
-FAIL SharedWorkerGlobalScope interface: attribute name assert_own_property: self does not have own property &quot;SharedWorkerGlobalScope&quot; expected property &quot;SharedWorkerGlobalScope&quot; missing
-FAIL SharedWorkerGlobalScope interface: attribute applicationCache assert_own_property: self does not have own property &quot;SharedWorkerGlobalScope&quot; expected property &quot;SharedWorkerGlobalScope&quot; missing
-FAIL SharedWorkerGlobalScope interface: attribute onconnect assert_own_property: self does not have own property &quot;SharedWorkerGlobalScope&quot; expected property &quot;SharedWorkerGlobalScope&quot; missing
</del><ins>+PASS WorkerGlobalScope interface: existence and properties of interface object 
+PASS DedicatedWorkerGlobalScope interface: existence and properties of interface object 
+PASS SharedWorkerGlobalScope interface: existence and properties of interface object 
</ins><span class="cx"> PASS Worker interface: existence and properties of interface object 
</span><span class="cx"> PASS Worker interface object length 
</span><span class="cx"> PASS Worker interface object name 
</span><span class="lines">@@ -6204,35 +6171,8 @@
</span><span class="cx"> FAIL SharedWorker interface: existence and properties of interface prototype object's &quot;constructor&quot; property assert_own_property: self does not have own property &quot;SharedWorker&quot; expected property &quot;SharedWorker&quot; missing
</span><span class="cx"> FAIL SharedWorker interface: attribute port assert_own_property: self does not have own property &quot;SharedWorker&quot; expected property &quot;SharedWorker&quot; missing
</span><span class="cx"> FAIL SharedWorker interface: attribute onerror assert_own_property: self does not have own property &quot;SharedWorker&quot; expected property &quot;SharedWorker&quot; missing
</span><del>-FAIL WorkerNavigator interface: existence and properties of interface object assert_own_property: self does not have own property &quot;WorkerNavigator&quot; expected property &quot;WorkerNavigator&quot; missing
-FAIL WorkerNavigator interface object length assert_own_property: self does not have own property &quot;WorkerNavigator&quot; expected property &quot;WorkerNavigator&quot; missing
-FAIL WorkerNavigator interface object name assert_own_property: self does not have own property &quot;WorkerNavigator&quot; expected property &quot;WorkerNavigator&quot; missing
-FAIL WorkerNavigator interface: existence and properties of interface prototype object assert_own_property: self does not have own property &quot;WorkerNavigator&quot; expected property &quot;WorkerNavigator&quot; missing
-FAIL WorkerNavigator interface: existence and properties of interface prototype object's &quot;constructor&quot; property assert_own_property: self does not have own property &quot;WorkerNavigator&quot; expected property &quot;WorkerNavigator&quot; missing
-FAIL WorkerNavigator interface: attribute appCodeName assert_own_property: self does not have own property &quot;WorkerNavigator&quot; expected property &quot;WorkerNavigator&quot; missing
-FAIL WorkerNavigator interface: attribute appName assert_own_property: self does not have own property &quot;WorkerNavigator&quot; expected property &quot;WorkerNavigator&quot; missing
-FAIL WorkerNavigator interface: attribute appVersion assert_own_property: self does not have own property &quot;WorkerNavigator&quot; expected property &quot;WorkerNavigator&quot; missing
-FAIL WorkerNavigator interface: attribute platform assert_own_property: self does not have own property &quot;WorkerNavigator&quot; expected property &quot;WorkerNavigator&quot; missing
-FAIL WorkerNavigator interface: attribute product assert_own_property: self does not have own property &quot;WorkerNavigator&quot; expected property &quot;WorkerNavigator&quot; missing
-FAIL WorkerNavigator interface: operation taintEnabled() assert_own_property: self does not have own property &quot;WorkerNavigator&quot; expected property &quot;WorkerNavigator&quot; missing
-FAIL WorkerNavigator interface: attribute userAgent assert_own_property: self does not have own property &quot;WorkerNavigator&quot; expected property &quot;WorkerNavigator&quot; missing
-FAIL WorkerNavigator interface: attribute language assert_own_property: self does not have own property &quot;WorkerNavigator&quot; expected property &quot;WorkerNavigator&quot; missing
-FAIL WorkerNavigator interface: attribute languages assert_own_property: self does not have own property &quot;WorkerNavigator&quot; expected property &quot;WorkerNavigator&quot; missing
-FAIL WorkerNavigator interface: attribute onLine assert_own_property: self does not have own property &quot;WorkerNavigator&quot; expected property &quot;WorkerNavigator&quot; missing
-FAIL WorkerLocation interface: existence and properties of interface object assert_own_property: self does not have own property &quot;WorkerLocation&quot; expected property &quot;WorkerLocation&quot; missing
-FAIL WorkerLocation interface object length assert_own_property: self does not have own property &quot;WorkerLocation&quot; expected property &quot;WorkerLocation&quot; missing
-FAIL WorkerLocation interface object name assert_own_property: self does not have own property &quot;WorkerLocation&quot; expected property &quot;WorkerLocation&quot; missing
-FAIL WorkerLocation interface: existence and properties of interface prototype object assert_own_property: self does not have own property &quot;WorkerLocation&quot; expected property &quot;WorkerLocation&quot; missing
-FAIL WorkerLocation interface: existence and properties of interface prototype object's &quot;constructor&quot; property assert_own_property: self does not have own property &quot;WorkerLocation&quot; expected property &quot;WorkerLocation&quot; missing
-FAIL WorkerLocation interface: attribute href assert_own_property: self does not have own property &quot;WorkerLocation&quot; expected property &quot;WorkerLocation&quot; missing
-FAIL WorkerLocation interface: attribute origin assert_own_property: self does not have own property &quot;WorkerLocation&quot; expected property &quot;WorkerLocation&quot; missing
-FAIL WorkerLocation interface: attribute protocol assert_own_property: self does not have own property &quot;WorkerLocation&quot; expected property &quot;WorkerLocation&quot; missing
-FAIL WorkerLocation interface: attribute host assert_own_property: self does not have own property &quot;WorkerLocation&quot; expected property &quot;WorkerLocation&quot; missing
-FAIL WorkerLocation interface: attribute hostname assert_own_property: self does not have own property &quot;WorkerLocation&quot; expected property &quot;WorkerLocation&quot; missing
-FAIL WorkerLocation interface: attribute port assert_own_property: self does not have own property &quot;WorkerLocation&quot; expected property &quot;WorkerLocation&quot; missing
-FAIL WorkerLocation interface: attribute pathname assert_own_property: self does not have own property &quot;WorkerLocation&quot; expected property &quot;WorkerLocation&quot; missing
-FAIL WorkerLocation interface: attribute search assert_own_property: self does not have own property &quot;WorkerLocation&quot; expected property &quot;WorkerLocation&quot; missing
-FAIL WorkerLocation interface: attribute hash assert_own_property: self does not have own property &quot;WorkerLocation&quot; expected property &quot;WorkerLocation&quot; missing
</del><ins>+PASS WorkerNavigator interface: existence and properties of interface object 
+PASS WorkerLocation interface: existence and properties of interface object 
</ins><span class="cx"> PASS Storage interface: existence and properties of interface object 
</span><span class="cx"> PASS Storage interface object length 
</span><span class="cx"> PASS Storage 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 (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces.html        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -499,7 +499,7 @@
</span><span class="cx">     boolean getModifierState (DOMString keyArg);
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-dictionary MouseEventInit : SharedKeyboardAndMouseEventInit {
</del><ins>+dictionary MouseEventInit : EventModifierInit {
</ins><span class="cx">     long           screenX = 0;
</span><span class="cx">     long           screenY = 0;
</span><span class="cx">     long           clientX = 0;
</span><span class="lines">@@ -509,7 +509,7 @@
</span><span class="cx">     EventTarget?   relatedTarget = null;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-dictionary SharedKeyboardAndMouseEventInit : UIEventInit {
</del><ins>+dictionary EventModifierInit : UIEventInit {
</ins><span class="cx">     boolean ctrlKey = false;
</span><span class="cx">     boolean shiftKey = false;
</span><span class="cx">     boolean altKey = false;
</span><span class="lines">@@ -2353,7 +2353,7 @@
</span><span class="cx">            attribute DOMString returnValue;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-[Exposed=Window,SharedWorker]
</del><ins>+[Exposed=(Window,SharedWorker)]
</ins><span class="cx"> interface ApplicationCache : EventTarget {
</span><span class="cx"> 
</span><span class="cx">   // update status
</span><span class="lines">@@ -2762,13 +2762,13 @@
</span><span class="cx">   // also has additional members in a partial interface
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-[Global=Worker,DedicatedWorker]
</del><ins>+[Global=(Worker,DedicatedWorker),Exposed=DedicatedWorker]
</ins><span class="cx"> /*sealed*/ interface DedicatedWorkerGlobalScope : WorkerGlobalScope {
</span><span class="cx">   void postMessage(any message, optional sequence&lt;Transferable&gt; transfer);
</span><span class="cx">            attribute EventHandler onmessage;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-[Global=Worker,SharedWorker]
</del><ins>+[Global=(Worker,SharedWorker),Exposed=SharedWorker]
</ins><span class="cx"> /*sealed*/ interface SharedWorkerGlobalScope : WorkerGlobalScope {
</span><span class="cx">   readonly attribute DOMString name;
</span><span class="cx">   readonly attribute ApplicationCache applicationCache;
</span><span class="lines">@@ -2795,7 +2795,6 @@
</span><span class="cx"> };
</span><span class="cx"> SharedWorker implements AbstractWorker;
</span><span class="cx"> 
</span><del>-[Exposed=Worker]
</del><span class="cx"> partial interface WorkerGlobalScope { // not obsolete
</span><span class="cx">   void importScripts(DOMString... urls);
</span><span class="cx">   readonly attribute WorkerNavigator navigator;
</span><span class="lines">@@ -3246,7 +3245,7 @@
</span><span class="cx">     TextTrackCue: [],
</span><span class="cx">     DataCue: [],
</span><span class="cx">     TimeRanges: ['document.createElement(&quot;video&quot;).buffered'],
</span><del>-    TrackEvent: ['new TrackEvent(&quot;addtrack&quot;; {track:document.createElement(&quot;track&quot;).track})'],
</del><ins>+    TrackEvent: ['new TrackEvent(&quot;addtrack&quot;, {track:document.createElement(&quot;track&quot;).track})'],
</ins><span class="cx">     HTMLTemplateElement: ['document.createElement(&quot;template&quot;)'],
</span><span class="cx">     HTMLSlotElement: ['document.createElement(&quot;slot&quot;)'],
</span><span class="cx">     HTMLCanvasElement: ['document.createElement(&quot;canvas&quot;)'],
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathebaseelementbase_about_blankexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_about_blank-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_about_blank-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_about_blank-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+
+FAIL base element in about:blank document should resolve against its fallback base URI assert_equals: expected &quot;http://localhost:8800/html/semantics/document-metadata/the-base-element/test&quot; but got &quot;&quot;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathebaseelementbase_about_blankhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_about_blank.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_about_blank.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_about_blank.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=utf-8&gt;
+&lt;title&gt;base element in about:blank document should resolve against its fallback base URI&lt;/title&gt;
+&lt;script src=/resources/testharness.js&gt;&lt;/script&gt;
+&lt;script src=/resources/testharnessreport.js&gt;&lt;/script&gt;
+&lt;iframe&gt;&lt;/iframe&gt;
+&lt;script&gt;
+var t = async_test();
+addEventListener(&quot;load&quot;, t.step_func_done(function() {
+  var doc = frames[0].document;
+  var b = doc.createElement(&quot;base&quot;);
+  b.setAttribute(&quot;href&quot;, &quot;test&quot;);
+  var newBaseValue = location.href.replace(/\/[^/]*$/, &quot;/&quot;) + &quot;test&quot;;
+  assert_equals(b.href, newBaseValue);
+  assert_equals(doc.baseURI, location.href);
+  doc.head.appendChild(b);
+  assert_equals(doc.baseURI, newBaseValue);
+}));
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathebaseelementbase_href_invalidexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_invalid-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_invalid-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_invalid-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL base element with unparseable href should have .href getter return attr value assert_equals: expected &quot;//test:test&quot; but got &quot;&quot;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathebaseelementbase_href_invalidhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_invalid.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_invalid.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_invalid.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=utf-8&gt;
+&lt;title&gt;base element with unparseable href should have .href getter return attr value&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&gt;
+test(function() {
+  var b = document.createElement(&quot;base&quot;);
+  b.setAttribute(&quot;href&quot;, &quot;//test:test&quot;);
+  assert_equals(b.href, &quot;//test:test&quot;);
+});
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathebaseelementbase_srcdocexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_srcdoc-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_srcdoc-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_srcdoc-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+
+FAIL base element in srcdoc document should resolve against its fallback base URI assert_equals: expected &quot;http://localhost:8800/html/semantics/document-metadata/the-base-element/test&quot; but got &quot;&quot;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathebaseelementbase_srcdochtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_srcdoc.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_srcdoc.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_srcdoc.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=utf-8&gt;
+&lt;title&gt;base element in srcdoc document should resolve against its fallback base URI&lt;/title&gt;
+&lt;script src=/resources/testharness.js&gt;&lt;/script&gt;
+&lt;script src=/resources/testharnessreport.js&gt;&lt;/script&gt;
+&lt;iframe srcdoc=&quot;&quot;&gt;&lt;/iframe&gt;
+&lt;script&gt;
+var t = async_test();
+addEventListener(&quot;load&quot;, t.step_func_done(function() {
+  var doc = frames[0].document;
+  var b = doc.createElement(&quot;base&quot;);
+  b.setAttribute(&quot;href&quot;, &quot;test&quot;);
+  var newBaseValue = location.href.replace(/\/[^/]*$/, &quot;/&quot;) + &quot;test&quot;;
+  assert_equals(b.href, newBaseValue);
+  assert_equals(doc.baseURI, location.href);
+  doc.head.appendChild(b);
+  assert_equals(doc.baseURI, newBaseValue);
+}));
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementdocumentwithoutbrowsingcontextexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/document-without-browsing-context-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/document-without-browsing-context-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/document-without-browsing-context-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,2 @@
</span><ins>+FAIL: Timed out waiting for notifyDone to be called
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementdocumentwithoutbrowsingcontexthtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/document-without-browsing-context.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/document-without-browsing-context.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/document-without-browsing-context.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,35 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=&quot;utf-8&quot;&gt;
+&lt;title&gt;Documents without browsing contexts should not load stylesheets&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=&quot;/common/utils.js&quot;&gt;&lt;/script&gt;
+&lt;body&gt;
+&lt;script&gt;
+  function count(id, t) {
+    var xhr = new XMLHttpRequest();
+    xhr.open('GET', 'stylesheet.py?count=1&amp;id=' + id);
+    xhr.onload = t.step_func_done(function() {
+      assert_equals(xhr.responseText, &quot;1&quot;);
+    });
+    xhr.onerror = t.unreached_func();
+    xhr.send();
+  }
+
+  async_test(function(t) {
+    var id = token();
+    var doc = (new DOMParser()).parseFromString('&lt;link rel=&quot;stylesheet&quot; href=&quot;stylesheet.py?id=' + id + '&quot;&gt;&lt;/link&gt;', 'text/html');
+    var link = doc.querySelector('link');
+    document.head.appendChild(link);
+    t.step_timeout(function() { count(id, t) }, 500);
+  }, 'Create a document, adopt the node');
+
+  async_test(function(t) {
+    var id = token();
+    var d = document.createElement('div');
+    document.body.appendChild(d);
+    d.innerHTML = '&lt;link rel=&quot;stylesheet&quot; href=&quot;stylesheet.py?id=' + id + '&quot;&gt;&lt;/link&gt;';
+    t.step_timeout(function() { count(id, t) }, 500);
+  }, 'Create a stylesheet in innerHTML document');
+&lt;/script&gt;
+&lt;/body&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementlinkstyleerror01expectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01-expected.txt (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -2,5 +2,7 @@
</span><span class="cx"> 
</span><span class="cx"> Harness Error (TIMEOUT), message = null
</span><span class="cx"> 
</span><ins>+PASS Should get an error event for a 404 error. 
+PASS Should get an error event for an unsupported URL. 
</ins><span class="cx"> TIMEOUT Should get an error event for a text/plain response. Test timed out
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementlinkstyleerror01html"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01.html (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01.html        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -7,17 +7,32 @@
</span><span class="cx"> &lt;div id=&quot;log&quot;&gt;&lt;/div&gt;
</span><span class="cx"> &lt;div id=&quot;test&quot;&gt;
</span><span class="cx"> &lt;script&gt;
</span><del>-//var t404 = async_test(&quot;Should get an error event for a 404 error.&quot;)
-//t404.step(function() {
-//  var elt = document.createElement(&quot;link&quot;);
-//  elt.onerror = t404.step_func(function() {
-//    assert_true(true, &quot;Got error event for 404 error.&quot;)
-//    t404.done()
-//  })
-//  elt.rel = &quot;stylesheet&quot;;
-//  elt.href = 404 error;
-//  document.getElementsByTagName(&quot;head&quot;)[0].appendChild(elt);
-//})
</del><ins>+var t404 = async_test(&quot;Should get an error event for a 404 error.&quot;)
+t404.step(function() {
+  var elt = document.createElement(&quot;link&quot;);
+  elt.onerror = t404.step_func(function() {
+    assert_true(true, &quot;Got error event for 404 error.&quot;)
+    t404.step_timeout(function() { t404.done() }, 0);
+  })
+  elt.onload = t404.unreached_func(&quot;load event should not be fired&quot;);
+  elt.rel = &quot;stylesheet&quot;;
+  elt.href = &quot;nonexistent_stylesheet.css&quot;;
+  document.getElementsByTagName(&quot;head&quot;)[0].appendChild(elt);
+})
+
+var tUnsupported = async_test(&quot;Should get an error event for an unsupported URL.&quot;)
+tUnsupported.step(function() {
+  var elt = document.createElement(&quot;link&quot;);
+  elt.onerror = tUnsupported.step_func(function() {
+    assert_true(true, &quot;Got error event for unsupported URL.&quot;)
+    tUnsupported.step_timeout(function() { tUnsupported.done() }, 0);
+  })
+  elt.onload = tUnsupported.unreached_func(&quot;load event should not be fired&quot;);
+  elt.rel = &quot;stylesheet&quot;;
+  elt.href = &quot;nonexistent:stylesheet.css&quot;;
+  document.getElementsByTagName(&quot;head&quot;)[0].appendChild(elt);
+})
+
</ins><span class="cx"> var tText = async_test(&quot;Should get an error event for a text/plain response.&quot;)
</span><span class="cx"> tText.step(function() {
</span><span class="cx">   var elt = document.createElement(&quot;link&quot;);
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementstylesheetpy"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet.py (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet.py                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet.py        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+def main(request, response):
+    try:
+        count = int(request.server.stash.take(request.GET[&quot;id&quot;]))
+    except:
+        count = 0
+    if &quot;count&quot; in request.GET:
+        return str(count)
+    request.server.stash.put(request.GET[&quot;id&quot;], str(count + 1))
+    return 'body { color: red }'
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/w3c-import.log (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/w3c-import.log        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/w3c-import.log        2016-07-13 16:30:38 UTC (rev 203164)
</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/html/semantics/document-metadata/the-link-element/document-without-browsing-context.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-load-event.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-rellist.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01.html
</span><span class="lines">@@ -22,3 +23,4 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet-with-base-expected.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet-with-base.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet.css
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet.py
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentmediaelementsvideo_008expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/video_008-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/video_008-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/video_008-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+
+FAIL HTML5 Media Elements: 'media' attribute assert_true: expected true got false
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentmediaelementsvideo_008htm"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/video_008.htm (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/video_008.htm                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/video_008.htm        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,45 @@
</span><ins>+&lt;!DOCTYPE HTML&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;title&gt;HTML5 Media Elements: 'media' attribute&lt;/title&gt;
+    &lt;meta content=&quot;text/html; charset=UTF-8&quot; http-equiv=&quot;Content-Type&quot;&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Microsoft&quot; href=&quot;http://www.microsoft.com/&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;http://www.w3.org/TR/html5/video.html#the-source-element&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;'media' attribute is 'all' by default.&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;script type=&quot;text/javascript&quot; src=&quot;/common/media.js&quot;&gt;&lt;/script&gt;
+    &lt;script type=&quot;text/javascript&quot;&gt;
+      var videotest = async_test();
+
+      function do_play(event)
+      {
+        videotest.step(function() {
+          var vid = document.getElementById(&quot;video0&quot;);
+          assert_true(vid.currentSrc.indexOf(&quot;movie_300&quot;) &gt; 0);
+        });
+        videotest.done();
+      }
+
+    &lt;/script&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+  &lt;div id='log'&gt;&lt;/div&gt;
+
+  &lt;video id=&quot;video0&quot; autoplay onplay=&quot;do_play(event);&quot;&gt;
+    &lt;script type=&quot;text/javascript&quot;&gt;
+
+      document.write(
+        &quot;&lt;source media='not all' src='&quot; + getVideoURI(&quot;/media/movie_300&quot;) + &quot;'&quot; +
+        &quot; /&gt;&quot;
+      );
+      document.write(
+        &quot;&lt;source src='&quot; + getVideoURI(&quot;/media/movie_5&quot;) + &quot;'&quot; +
+        &quot; media='all' /&gt;&quot;
+      );
+
+    &lt;/script&gt;
+    Your browser does not support media elements.
+  &lt;/video&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementhistoricalexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/historical-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/historical-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/historical-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+PASS Canvas support for supportsContext 
+FAIL Canvas support for probablySupportsContext assert_false: expected false got true
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementhistoricalhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/historical.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/historical.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/historical.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=utf-8&gt;
+&lt;title&gt;Historical canvas features&lt;/title&gt;
+&lt;script src=/resources/testharness.js&gt;&lt;/script&gt;
+&lt;script src=/resources/testharnessreport.js&gt;&lt;/script&gt;
+&lt;div id=log&gt;&lt;/div&gt;
+&lt;script&gt;
+var canvas;
+setup(function() {
+  canvas = document.createElement(&quot;canvas&quot;);
+});
+[&quot;supportsContext&quot;, &quot;probablySupportsContext&quot;].forEach(function(m) {
+  test(function() {
+    assert_false(m in canvas);
+  }, &quot;Canvas support for &quot; + m);
+});
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheembedelementembedinobjectfallbackexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+    
+
+PASS We have the right embed element 
+PASS Check that the right things loaded 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheembedelementembedinobjectfallbacksubdocumenthtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-subdocument.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-subdocument.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-subdocument.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+&lt;script&gt;
+  var varName = location.search.substr(1);
+  parent[varName] = true;
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheembedelementembedinobjectfallbackhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,38 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=utf-8&gt;
+&lt;title&gt;Ensure that embed elements inside object elements load when the objects
+  fall back but not otherwise&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&gt;
+  var child1Loaded = false;
+  var child2Loaded = false;
+  var child3Loaded = false;
+  var parent3Loaded = false;
+&lt;/script&gt;
+&lt;object&gt;
+  &lt;embed src=&quot;embed-in-object-fallback-subdocument.html?child1Loaded&quot;&gt;
+&lt;/object&gt;
+&lt;object&gt;
+  &lt;embed id=&quot;two&quot; src=&quot;embed-in-object-fallback-subdocument.html?child2Loaded&quot;&gt;
+  &lt;!--  Something that forces the embed to be in the tree before the &lt;object&gt;
+       is done parsing  --&gt;
+  &lt;script&gt;
+    test(function() {
+      assert_equals(document.getElementById(&quot;two&quot;).localName,
+                    &quot;embed&quot;);
+    }, &quot;We have the right embed element&quot;);
+  &lt;/script&gt;
+&lt;/object&gt;
+&lt;object data=&quot;embed-in-object-fallback-subdocument.html?parent3Loaded&quot;&gt;
+  &lt;embed src=&quot;embed-in-object-fallback-subdocument.html?child3Loaded&quot;&gt;
+&lt;/object&gt;
+&lt;script&gt;
+  var t = async_test(&quot;Check that the right things loaded&quot;);
+  onload = t.step_func_done(function() {
+    assert_true(child1Loaded, &quot;child 1 should load&quot;);
+    assert_true(child2Loaded, &quot;child 2 should load&quot;);
+    assert_false(child3Loaded, &quot;child 3 should not load&quot;);
+    assert_true(parent3Loaded, &quot;parent 3 should load&quot;);
+  });
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementchange_childhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_child.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_child.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_child.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+&lt;body&gt;
+    Child.
+    &lt;iframe id=&quot;grandchild&quot; src=&quot;change_grandchild.html&quot;&gt;&lt;/iframe&gt;
+&lt;/body&gt;
+&lt;script&gt;
+    var timer = window.setInterval(poll, 100);
+    function poll() {
+        if (document.body.getAttribute(&quot;data-contains-grandchild&quot;)) {
+            var grandchild = document.getElementById(&quot;grandchild&quot;);
+            window.frameElement.parentNode.appendChild(grandchild);
+            window.clearTimeout(timer);
+        }
+    }
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementchange_grandchildhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_grandchild.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_grandchild.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_grandchild.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+&lt;body&gt;Grandchild.&lt;/body&gt;
+&lt;script&gt;
+    window.frameElement.parentNode.setAttribute(&quot;data-contains-grandchild&quot;, true);
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementchange_parentageexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_parentage-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_parentage-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_parentage-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+  
+
+PASS Change the frame heriarchy 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementchange_parentagehtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_parentage.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_parentage.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/change_parentage.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,22 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=&quot;utf-8&quot;&gt;
+&lt;title&gt;Change the frame heriarchy&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;body&gt;
+  &lt;iframe src=&quot;change_child.html&quot;&gt;&lt;/iframe&gt;
+&lt;/body&gt;
+&lt;script&gt;
+    async_test(function(t) {
+        var timer = window.setInterval(t.step_func(poll), 100);
+        function poll() {
+            // We wait for the grandchild's script to set the custom attribtue.
+            // Note that if this test passes, the grandchild's script must have been run twice,
+            // once to trigger the move from the child to here, and once to pass this test.
+            if (document.body.getAttribute(&quot;data-contains-grandchild&quot;)) {
+                window.clearTimeout(timer);
+                t.done();
+            }
+        }
+    });
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementcross_origin_childhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_child.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_child.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_child.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+&lt;script src=&quot;iframe_harness.js&quot;&gt;&lt;/script&gt;
+&lt;body&gt;
+  &lt;iframe src=&quot;cross_origin_grandchild.html&quot;&gt;&lt;/iframe&gt;
+&lt;/body&gt;
+&lt;script&gt;
+    send_test_results({
+        &quot;id&quot;: '79a52de8-4222-427e-92db-caec28e75f8e',
+        &quot;parent&quot;: window.parent !== window,
+        &quot;grandparent&quot;: window.parent.parent === window.parent,
+        &quot;top&quot;: window.top === window.parent,
+    });
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementcross_origin_grandchildhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_grandchild.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_grandchild.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_grandchild.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+&lt;script src=&quot;iframe_harness.js&quot;&gt;&lt;/script&gt;
+&lt;body&gt;
+&lt;/body&gt;
+&lt;script&gt;
+    send_test_results({
+        &quot;id&quot;: '6c8da65d-2c5e-44ef-bb0b-b8b9849aab19',
+        &quot;parent&quot;: window.parent !== window,
+        &quot;grandparent&quot;: window.parent.parent !== window.parent,
+        &quot;top&quot;: window.top === window.parent.parent,
+    });
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementcross_origin_parentageexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_parentage-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_parentage-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_parentage-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+Blocked access to external URL http://www1.web-platform.test:8000/html/semantics/embedded-content/the-iframe-element/cross_origin_child.html
+
+
+FAIL Check the frame heriarchy assert_equals: expected 200 but got 500
+FAIL Check the frame heriarchy 1 assert_equals: expected 200 but got 500
+FAIL Check the frame heriarchy 2 assert_equals: expected 200 but got 500
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementcross_origin_parentagehtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_parentage.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_parentage.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_parentage.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=&quot;utf-8&quot;&gt;
+&lt;title&gt;Check the frame heriarchy&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=&quot;iframe_harness.js&quot;&gt;&lt;/script&gt;
+&lt;body&gt;
+  &lt;iframe src=&quot;http://www1.web-platform.test:8000/html/semantics/embedded-content/the-iframe-element/cross_origin_child.html&quot;&gt;&lt;/iframe&gt;
+&lt;/body&gt;
+&lt;script&gt;
+    get_test_results('bffa23ee-b45a-4e9a-9405-87ab437d5cfa');
+    get_test_results('79a52de8-4222-427e-92db-caec28e75f8e');
+    get_test_results('6c8da65d-2c5e-44ef-bb0b-b8b9849aab19');
+    send_test_results({
+        &quot;id&quot;: 'bffa23ee-b45a-4e9a-9405-87ab437d5cfa',
+        &quot;parent&quot;: window.parent === window,
+        &quot;top&quot;: window.top === window,
+    });
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframeallowfullscreenexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen-expected.txt (0 => 203164)</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                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+
+
+FAIL iframe-allowfullscreen assert_true: Top level document has fullscreen enabled flag set expected true got undefined
+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
+FAIL iframe-noload-noallowfullscreen assert_false: Fullscreen should not be enabled without allowfullscreen attribute expected false got undefined
+FAIL iframe-noload-allowfullscreen assert_true: Fullscreen should be enabled with allowfullscreen attribute expected true got undefined
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframeallowfullscreenhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen.html (0 => 203164)</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                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-allowfullscreen.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,115 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=utf-8&gt;
+&lt;title&gt;Check how allowfullscreen affects fullscreen enabled flag&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;author&quot; title=&quot;Mozilla&quot; href=&quot;https://www.mozilla.org&quot;&gt;
+&lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/browsers.html#initialise-the-document-object&quot;&gt;
+&lt;link rel=&quot;help&quot; href=&quot;https://fullscreen.spec.whatwg.org/#fullscreen-enabled-flag&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;
+  function test_allowfullscreen(t, setup_iframe) {
+    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);
+    });
+
+    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;);
+      iframe.setAttribute(&quot;allowfullscreen&quot;, true);
+      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;);
+      iframe.removeAttribute(&quot;allowfullscreen&quot;);
+      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;);
+    }));
+  }
+
+  async_test(function(t) {
+    test_allowfullscreen(t, function(iframe) {});
+  }, &quot;iframe-allowfullscreen&quot;);
+
+  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;);
+
+  /* Fullscreen enabled flag with about:blank */
+
+  function test_allowfullscreen_noload(setup_iframe, check) {
+    var iframe = document.createElement(&quot;iframe&quot;);
+    setup_iframe(iframe);
+    document.body.appendChild(iframe);
+    check(iframe.contentDocument);
+    document.body.removeChild(iframe);
+  }
+
+  test(function() {
+    test_allowfullscreen_noload(function() {}, function(doc) {
+      assert_false(doc.fullscreenEnabled, &quot;Fullscreen should not be enabled without allowfullscreen attribute&quot;);
+    });
+  }, &quot;iframe-noload-noallowfullscreen&quot;);
+
+  test(function() {
+    test_allowfullscreen_noload(function(iframe) {
+      iframe.setAttribute(&quot;allowfullscreen&quot;, true);
+    }, function(doc) {
+      assert_true(doc.fullscreenEnabled, &quot;Fullscreen should be enabled with allowfullscreen attribute&quot;);
+    });
+  }, &quot;iframe-noload-allowfullscreen&quot;);
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframeloadeventexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-load-event-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-load-event-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-load-event-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+
+
+FAIL load event of blob URL assert_true: The iframe element should represent a nested browsing context. expected true got false
+FAIL load event of initial about:blank assert_true: The object element should represent a nested browsing context. expected true got false
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframeloadeventhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-load-event.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-load-event.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-load-event.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,48 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=utf-8&gt;
+&lt;title&gt;Test some sanity behavior around iframe load/error events&lt;/title&gt;
+&lt;script src=/resources/testharness.js&gt;&lt;/script&gt;
+&lt;script src=/resources/testharnessreport.js&gt;&lt;/script&gt;
+&lt;body&gt;
+&lt;script&gt;
+async_test(function(t) {
+  var obj = document.createElement(&quot;iframe&quot;);
+  obj.onload = t.step_func_done(function(e){
+    assert_true(obj.contentWindow instanceof Window, &quot;The iframe element should represent a nested browsing context.&quot;)
+    assert_equals(Object.getPrototypeOf(e).constructor, Event, &quot;The load event should use the Event interface.&quot;);
+    assert_true(e.isTrusted, &quot;The load event should be a trusted event.&quot;);
+    assert_false(e.cancelable, &quot;The load event should not be a cancelable event.&quot;);
+    assert_false(e.bubbles, &quot;The load event should not be a bubble event.&quot;);
+    assert_equals(e.target, obj, &quot;The load event target should be the corresponding object element.&quot;);
+  });
+
+  obj.onerror = t.step_func_done(function(e){
+    assert_unreached(&quot;The error event should not be fired.&quot;);
+  });
+
+  var url = URL.createObjectURL(new Blob([&quot;&quot;], { type: &quot;text/html&quot; }));
+
+  obj.src = url;
+  document.body.appendChild(obj);
+}, &quot;load event of blob URL&quot;);
+
+async_test(function(t) {
+  var obj = document.createElement(&quot;iframe&quot;);
+  obj.onload = t.step_func_done(function(e){
+    assert_true(obj.contentWindow instanceof Window, &quot;The object element should represent a nested browsing context.&quot;)
+    assert_equals(Object.getPrototypeOf(e).constructor, Event, &quot;The load event should use the Event interface.&quot;);
+    assert_true(e.isTrusted, &quot;The load event should be a trusted event.&quot;);
+    assert_false(e.cancelable, &quot;The load event should not be a cancelable event.&quot;);
+    assert_false(e.bubbles, &quot;The load event should not be a bubble event.&quot;);
+    assert_equals(e.target, obj, &quot;The load event target should be the corresponding object element.&quot;);
+  });
+
+  obj.onerror = t.step_func_done(function(e){
+    assert_unreached(&quot;The error event should not be fired.&quot;);
+  });
+
+  document.body.appendChild(obj);
+}, &quot;load event of initial about:blank&quot;);
+
+&lt;/script&gt;
+&lt;/body&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframe_harnessjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_harness.js (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_harness.js                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_harness.js        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,26 @@
</span><ins>+function get_test_results(id) {
+    async_test(function(test) {
+        var timer = window.setInterval(test.step_func(loop), 100);
+        function loop() {
+            var xhr = new XMLHttpRequest();
+            xhr.open('GET', 'stash.py?id=' + id);
+            xhr.onreadystatechange = test.step_func(function() {
+                assert_equals(xhr.status, 200);
+                if (xhr.responseText) {
+                    assert_equals(xhr.responseText, &quot;OK&quot;);
+                    test.done();
+                    window.clearTimeout(timer);
+                }
+            });
+            xhr.send();
+        }
+    });
+}
+
+function send_test_results(results) {
+    var ok = true;
+    for (result in results) { ok = ok &amp;&amp; results[result]; }
+    var xhr = new XMLHttpRequest();
+    xhr.open('POST', 'stash.py?id=' + results.id);
+    xhr.send(ok ? &quot;OK&quot; : &quot;FAIL: &quot; + JSON.stringify(results));
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframe_sandbox_popups_escapingexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+CONSOLE MESSAGE: line 7: Error while parsing the 'sandbox' attribute: 'allow-popups-to-escape-sandbox' is an invalid sandbox flag.
+
+
+FAIL Check that popups from a sandboxed iframe escape the sandbox if
+       allow-popups-to-escape-sandbox is used assert_equals: Should have escaped the sandbox expected &quot;http://localhost:8800&quot; but got &quot;null&quot;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframe_sandbox_popups_escapinghtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=utf-8&gt;
+&lt;title&gt;Check that popups from a sandboxed iframe escape the sandbox if
+       allow-popups-to-escape-sandbox is used&lt;/title&gt;
+&lt;script src=/resources/testharness.js&gt;&lt;/script&gt;
+&lt;script src=/resources/testharnessreport.js&gt;&lt;/script&gt;
+&lt;iframe sandbox=&quot;allow-scripts allow-popups allow-popups-to-escape-sandbox&quot;&gt;
+&lt;/iframe&gt;
+&lt;script&gt;
+  var t = async_test();
+  var ourOrigin;
+  onmessage = t.step_func(function(e) {
+    assert_equals(e.data, &quot;hello&quot;, &quot;This is our origin getter message&quot;);
+    ourOrigin = e.origin;
+
+    onmessage = t.step_func_done(function(e) {
+      assert_equals(e.origin, &quot;null&quot;, &quot;It came from a sandboxed iframe&quot;);
+      assert_equals(e.data.data, undefined, &quot;Should have the right message&quot;);
+      assert_equals(e.data.origin, ourOrigin, &quot;Should have escaped the sandbox&quot;);
+    });
+
+    document.querySelector(&quot;iframe&quot;).src = &quot;iframe_sandbox_popups_helper.html&quot;;
+  });
+  postMessage(&quot;hello&quot;, &quot;*&quot;);
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframe_sandbox_popups_helperhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;script&gt;
+  var popupWin;
+  if (opener) {
+    // We're the popup.  Send back our state.  What we really want to send is
+    // our origin, but that will come automatically.
+    opener.postMessage(undefined, &quot;*&quot;);
+    self.close();
+  } else {
+    // We're the child.  Start listening for messages and open ourselves as the
+    // popup.
+    onmessage = function (e) {
+      parent.postMessage({ data: e.data, origin: e.origin }, &quot;*&quot;);
+    };
+    popupWin = window.open(location.href);
+  }
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframe_sandbox_popups_nonescapingexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+
+PASS Check that popups from a sandboxed iframe do not escape the sandbox 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframe_sandbox_popups_nonescapinghtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=utf-8&gt;
+&lt;title&gt;Check that popups from a sandboxed iframe do not escape the sandbox&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&gt;
+  var t = async_test();
+  onmessage = t.step_func_done(function(e) {
+    assert_equals(e.origin, &quot;null&quot;, &quot;It came from a sandboxed iframe&quot;);
+    assert_equals(e.data.data, undefined, &quot;Should have the right message&quot;);
+    assert_equals(e.data.origin, &quot;null&quot;, &quot;Should not have escaped the sandbox&quot;);
+  });
+&lt;/script&gt;
+&lt;iframe sandbox=&quot;allow-scripts allow-popups&quot;
+        src=&quot;iframe_sandbox_popups_helper.html&quot;&gt;&lt;/iframe&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementsame_origin_childhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_child.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_child.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_child.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+&lt;script src=&quot;iframe_harness.js&quot;&gt;&lt;/script&gt;
+&lt;body&gt;
+  &lt;iframe src=&quot;same_origin_grandchild.html&quot;&gt;&lt;/iframe&gt;
+&lt;/body&gt;
+&lt;script&gt;
+    send_test_results({
+        &quot;id&quot;: '08782f28-e313-47ae-8cd7-419f3e194b0a',
+        &quot;parent&quot;: window.parent !== window,
+        &quot;grandparent&quot;: window.parent.parent === window.parent,
+        &quot;top&quot;: window.top === window.parent,
+    });
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementsame_origin_grandchildhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_grandchild.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_grandchild.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_grandchild.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+&lt;script src=&quot;iframe_harness.js&quot;&gt;&lt;/script&gt;
+&lt;body&gt;
+&lt;/body&gt;
+&lt;script&gt;
+    send_test_results({
+        &quot;id&quot;: '66de8d44-7da7-47c7-9a52-41cba4f22bfe',
+        &quot;parent&quot;: window.parent !== window,
+        &quot;grandparent&quot;: window.parent.parent !== window.parent,
+        &quot;top&quot;: window.top === window.parent.parent,
+    });
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementsame_origin_parentageexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_parentage-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_parentage-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_parentage-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+
+
+FAIL Check the frame heriarchy assert_equals: expected 200 but got 500
+FAIL Check the frame heriarchy 1 assert_equals: expected 200 but got 500
+FAIL Check the frame heriarchy 2 assert_equals: expected 200 but got 500
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementsame_origin_parentagehtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_parentage.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_parentage.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_parentage.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=&quot;utf-8&quot;&gt;
+&lt;title&gt;Check the frame heriarchy&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=&quot;iframe_harness.js&quot;&gt;&lt;/script&gt;
+&lt;body&gt;
+  &lt;iframe src=&quot;same_origin_child.html&quot;&gt;&lt;/iframe&gt;
+&lt;/body&gt;
+&lt;script&gt;
+    get_test_results('17381dae-9c3e-4661-9f2b-28eb07a5f2fc');
+    get_test_results('08782f28-e313-47ae-8cd7-419f3e194b0a');
+    get_test_results('66de8d44-7da7-47c7-9a52-41cba4f22bfe');
+    send_test_results({
+        &quot;id&quot;: '17381dae-9c3e-4661-9f2b-28eb07a5f2fc',
+        &quot;parent&quot;: window.parent === window,
+        &quot;top&quot;: window.top === window,
+    });
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementstashpy"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/stash.py (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/stash.py                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/stash.py        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+
+def main(request, response):
+    if request.method == 'POST':
+        request.server.stash.put(request.GET[&quot;id&quot;], request.body)
+        return ''
+    return request.server.stash.take(request.GET[&quot;id&quot;])
</ins></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 (203163 => 203164)</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-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</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=e9f61391-d442-4103-aea8-4444a42342e7&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=d8d26f64-5aa4-456c-a535-7ac76894546f&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=c9ab9dc7-6bed-4687-8ff7-ef8d18c8fc1e&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=f1cb87a8-4fac-47a8-9808-f8ae48010ebd&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-c9ab9dc7-6bed-4687-8ff7-ef8d18c8fc1e&quot; but got &quot;http://localhost:8800/images/broken.png?70-c9ab9dc7-6bed-4687-8ff7-ef8d18c8fc1e&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-f1cb87a8-4fac-47a8-9808-f8ae48010ebd&quot; but got &quot;http://localhost:8800/images/broken.png?70-f1cb87a8-4fac-47a8-9808-f8ae48010ebd&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-c9ab9dc7-6bed-4687-8ff7-ef8d18c8fc1e&quot; but got &quot;http://localhost:8800/images/broken.png?80-c9ab9dc7-6bed-4687-8ff7-ef8d18c8fc1e&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-f1cb87a8-4fac-47a8-9808-f8ae48010ebd&quot; but got &quot;http://localhost:8800/images/broken.png?80-f1cb87a8-4fac-47a8-9808-f8ae48010ebd&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-c9ab9dc7-6bed-4687-8ff7-ef8d18c8fc1e&quot; but got &quot;http://localhost:8800/images/green-1x1.png?90-c9ab9dc7-6bed-4687-8ff7-ef8d18c8fc1e&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-f1cb87a8-4fac-47a8-9808-f8ae48010ebd&quot; but got &quot;http://localhost:8800/images/green-1x1.png?90-f1cb87a8-4fac-47a8-9808-f8ae48010ebd&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-c9ab9dc7-6bed-4687-8ff7-ef8d18c8fc1e&quot; but got &quot;http://localhost:8800/images/green-1x1.png?100-c9ab9dc7-6bed-4687-8ff7-ef8d18c8fc1e&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-f1cb87a8-4fac-47a8-9808-f8ae48010ebd&quot; but got &quot;http://localhost:8800/images/green-1x1.png?100-f1cb87a8-4fac-47a8-9808-f8ae48010ebd&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="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementinvalidsrcexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/invalid-src-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/invalid-src-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/invalid-src-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+
+
+Harness Error (TIMEOUT), message = null
+
+TIMEOUT Loading a non-parsing URL as an image should silently fail; triggering appropriate events Test timed out
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementinvalidsrchtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/invalid-src.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/invalid-src.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/invalid-src.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,21 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=&quot;utf-8&quot;&gt;
+&lt;title&gt;Loading a non-parsing URL as an image should silently fail; triggering appropriate events&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;img id=myimg /&gt;
+&lt;script&gt;
+async_test(function(t) {
+    var img = document.getElementById(&quot;myimg&quot;);
+    img.src = &quot;http://also a broken url&quot;;
+    var errorevent = false;
+
+    // The errors should be queued in the event loop, so they should only trigger
+    // after this block of code finishes, not during the img.src setter itself
+    img.addEventListener('error', t.step_func(function(){errorevent = true;}));
+    img.addEventListener('loadend', t.step_func_done(function() {
+        assert_true(errorevent, &quot;error event fired&quot;);
+    }));
+});
+
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/w3c-import.log (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/w3c-import.log        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/w3c-import.log        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -23,5 +23,6 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/document-base-url.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/image-1.jpg
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/img.complete.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/invalid-src.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/update-media.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/update-the-source-set.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsformsubmission0submitentitybodyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/submit-entity-body-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/submit-entity-body-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/submit-entity-body-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+
+
+PASS form submission from form should navigate to url with x-www-form-urlencoded 
+PASS form submission from form should navigate to url with multipart/form-data 
+FAIL form submission from form should navigate to url with text/plain assert_equals: expected &quot;OK&quot; but got &quot;FAIL&quot;
+PASS form submission from button should navigate to url with x-www-form-urlencoded 
+PASS form submission from button should navigate to url with multipart/form-data 
+FAIL form submission from button should navigate to url with text/plain assert_equals: expected &quot;OK&quot; but got &quot;FAIL&quot;
+PASS form submission from input should navigate to url with x-www-form-urlencoded 
+PASS form submission from input should navigate to url with multipart/form-data 
+FAIL form submission from input should navigate to url with text/plain assert_equals: expected &quot;OK&quot; but got &quot;FAIL&quot;
+PASS form submission from submit input should contain submit button value 
+PASS form submission from submit button should contain submit button value 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsformsubmission0submitentitybodyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/submit-entity-body.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/submit-entity-body.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/submit-entity-body.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,113 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;meta charset=&quot;utf-8&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;script&gt;
+var simple_tests = [
+  {
+    name: &quot;form submission from form should navigate to url with x-www-form-urlencoded&quot;,
+    input: &quot;&lt;input name=foo value=bara&gt;&quot;,
+    enctype: &quot;application/x-www-form-urlencoded&quot;,
+    submitelement: &quot;&quot;,
+    submitaction: function(doc) { doc.getElementById(&quot;testform&quot;).submit(); }
+  },
+  {
+    name: &quot;form submission from form should navigate to url with multipart/form-data&quot;,
+    input: &quot;&lt;textarea name=foo&gt;bar&lt;/textarea&gt;&quot;,
+    enctype: &quot;multipart/form-data&quot;,
+    submitelement: &quot;&quot;,
+    submitaction: function(doc) { doc.getElementById(&quot;testform&quot;).submit(); }
+  },
+  {
+    name: &quot;form submission from form should navigate to url with text/plain&quot;,
+    input: &quot;&lt;textarea name=qux&gt;baz&lt;/textarea&gt;&quot;,
+    enctype: &quot;text/plain&quot;,
+    submitelement: &quot;&quot;,
+    submitaction: function(doc) { doc.getElementById(&quot;testform&quot;).submit(); }
+  },
+  {
+    name: &quot;form submission from button should navigate to url with x-www-form-urlencoded&quot;,
+    input: &quot;&lt;input name=foo value=bara&gt;&quot;,
+    enctype: &quot;application/x-www-form-urlencoded&quot;,
+    submitelement: &quot;&lt;button id=buttonsubmit type=\&quot;submit\&quot;&gt;Submit&lt;/button&gt;&quot;,
+    submitaction: function(doc) { doc.getElementById(&quot;buttonsubmit&quot;).click(); }
+  },
+  {
+    name: &quot;form submission from button should navigate to url with multipart/form-data&quot;,
+    input: &quot;&lt;textarea name=foo&gt;bar&lt;/textarea&gt;&quot;,
+    enctype: &quot;multipart/form-data&quot;,
+    submitelement: &quot;&lt;button id=buttonsubmit type=\&quot;submit\&quot;&gt;Submit&lt;/button&gt;&quot;,
+    submitaction: function(doc) { doc.getElementById(&quot;buttonsubmit&quot;).click(); }
+  },
+  {
+    name: &quot;form submission from button should navigate to url with text/plain&quot;,
+    input: &quot;&lt;textarea name=qux&gt;baz&lt;/textarea&gt;&quot;,
+    enctype: &quot;text/plain&quot;,
+    submitelement: &quot;&lt;button id=buttonsubmit type=\&quot;submit\&quot;&gt;Submit&lt;/button&gt;&quot;,
+    submitaction: function(doc) { doc.getElementById(&quot;buttonsubmit&quot;).click(); }
+  },
+  {
+    name: &quot;form submission from input should navigate to url with x-www-form-urlencoded&quot;,
+    input: &quot;&lt;input name=foo value=bara&gt;&quot;,
+    enctype: &quot;application/x-www-form-urlencoded&quot;,
+    submitelement: &quot;&lt;input id=inputsubmit type=\&quot;submit\&quot;&gt;Submit&lt;/input&gt;&quot;,
+    submitaction: function(doc) { doc.getElementById(&quot;inputsubmit&quot;).click(); }
+  },
+  {
+    name: &quot;form submission from input should navigate to url with multipart/form-data&quot;,
+    input: &quot;&lt;textarea name=foo&gt;bar&lt;/textarea&gt;&quot;,
+    enctype: &quot;multipart/form-data&quot;,
+    submitelement: &quot;&lt;input id=inputsubmit type=\&quot;submit\&quot;&gt;Submit&lt;/input&gt;&quot;,
+    submitaction: function(doc) { doc.getElementById(&quot;inputsubmit&quot;).click(); }
+  },
+  {
+    name: &quot;form submission from input should navigate to url with text/plain&quot;,
+    input: &quot;&lt;input name=qux value=baz&gt;&quot;,
+    enctype: &quot;text/plain&quot;,
+    submitelement: &quot;&lt;input id=inputsubmit type=\&quot;submit\&quot;&gt;Submit&lt;/input&gt;&quot;,
+    submitaction: function(doc) { doc.getElementById(&quot;inputsubmit&quot;).click(); }
+  },
+  {
+    name: &quot;form submission from submit input should contain submit button value&quot;,
+    input: &quot;&lt;button type=submit name=notclicked value=nope&gt;not clicked&lt;/button&gt;&quot;,
+    enctype: &quot;application/x-www-form-urlencoded&quot;,
+    submitelement: &quot;&lt;button id=inputsubmit type=\&quot;submit\&quot; name=foo value=bara&gt;Submit&lt;/button&gt;&quot;,
+    submitaction: function(doc) { doc.getElementById(&quot;inputsubmit&quot;).click(); }
+  }
+,
+  {
+    name: &quot;form submission from submit button should contain submit button value&quot;,
+    input: &quot;&lt;input type=submit name=notclicked value=nope/&gt;&quot;,
+    enctype: &quot;application/x-www-form-urlencoded&quot;,
+    submitelement: &quot;&lt;input id=inputsubmit type=\&quot;submit\&quot; name=foo value=bara &gt;&quot;,
+    submitaction: function(doc) { doc.getElementById(&quot;inputsubmit&quot;).click(); }
+  }
+];
+simple_tests.forEach(function(test_obj) {
+  test_obj.test = async_test(test_obj.name);
+});
+function run_simple_test() {
+  if (simple_tests.length == 0) {
+    return;
+  }
+  var test_obj = simple_tests.pop();
+  var t = test_obj.test;
+  var testframe = document.getElementById(&quot;testframe&quot;);
+  var testdocument = testframe.contentWindow.document;
+  testdocument.body.innerHTML =
+    &quot;&lt;form id=testform method=post action=\&quot;form-submission.py\&quot; enctype=\&quot;&quot; + test_obj.enctype + &quot;\&quot;&gt;&quot; +
+    test_obj.input +
+    test_obj.submitelement +
+    &quot;&lt;/form&gt;&quot;;
+  testframe.onload = function() {
+    t.step(function (){
+      var response = testframe.contentDocument.documentElement.textContent;
+      assert_equals(response, &quot;OK&quot;);
+    });
+    t.done();
+    run_simple_test();
+  };
+  test_obj.submitaction(testdocument);
+}
+&lt;/script&gt;
+&lt;iframe id=testframe src=&quot;/common/blank.html&quot; onload=&quot;run_simple_test();&quot;&gt;&lt;/iframe&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstextfieldselectiontextfieldselectionsetSelectionRangeexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange-expected.txt (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -7,6 +7,8 @@
</span><span class="cx"> PASS input setSelectionRange return void 
</span><span class="cx"> PASS input setSelectionRange(0,1) 
</span><span class="cx"> PASS input setSelectionRange(0,input.value.length+1) 
</span><ins>+PASS input setSelectionRange(input.value.length+1,input.value.length+1) 
+PASS input setSelectionRange(input.value.length+1,input.value.length+1) 
</ins><span class="cx"> PASS input setSelectionRange(2,2) 
</span><span class="cx"> PASS input setSelectionRange(2,1) 
</span><span class="cx"> PASS input direction of setSelectionRange(0,1,&quot;backward&quot;) 
</span><span class="lines">@@ -15,6 +17,8 @@
</span><span class="cx"> PASS input direction of setSelectionRange(0,1,&quot;hoge&quot;) 
</span><span class="cx"> PASS input direction of setSelectionRange(0,1,&quot;BACKWARD&quot;) 
</span><span class="cx"> PASS input direction of setSelectionRange(0,1) 
</span><ins>+FAIL input setSelectionRange(1,-1) assert_equals: element.selectionStart should be 1 expected 1 but got 0
+FAIL input setSelectionRange(-1,1) assert_equals: ECMAScript conversion to unsigned long + if end is less than or equal to start then the start of the selection and the end of the selection must both be placed immediately before the character with offset end expected 1 but got 0
</ins><span class="cx"> PASS input setSelectionRange(&quot;string&quot;,1) 
</span><span class="cx"> PASS input setSelectionRange(true,1) 
</span><span class="cx"> PASS input setSelectionRange([],1) 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstextfieldselectiontextfieldselectionsetSelectionRangehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange.html (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange.html        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -32,6 +32,18 @@
</span><span class="cx">   },'input setSelectionRange(0,input.value.length+1)');
</span><span class="cx"> 
</span><span class="cx">   test(function() {
</span><ins>+    input.setSelectionRange(input.value.length+1,input.value.length+1)
+    assert_equals(input.selectionStart, input.value.length, &quot;Arguments (start) greater than the length of the value of the text field must be treated as pointing at the end of the text field&quot;);
+    assert_equals(input.selectionEnd, input.value.length, &quot;Arguments (end) greater than the length of the value of the text field must be treated as pointing at the end of the text field&quot;);
+  },'input setSelectionRange(input.value.length+1,input.value.length+1)');
+
+  test(function() {
+    input.setSelectionRange(input.value.length+1,1)
+    assert_equals(input.selectionStart, 1, &quot;If end is less than or equal to start then the start of the selection and the end of the selection must both be placed immediately before the character with offset end&quot;);
+    assert_equals(input.selectionEnd, 1, &quot;element.selectionEnd should be 1&quot;);
+  },'input setSelectionRange(input.value.length+1,input.value.length+1)');
+
+  test(function() {
</ins><span class="cx">     input.setSelectionRange(2,2)
</span><span class="cx">     assert_equals(input.selectionStart, 2, &quot;If end is less than or equal to start then the start of the selection and the end of the selection must both be placed immediately before the character with offset end&quot;);
</span><span class="cx">     assert_equals(input.selectionEnd, 2, &quot;If end is less than or equal to start then the start of the selection and the end of the selection must both be placed immediately before the character with offset end&quot;);
</span><span class="lines">@@ -74,6 +86,18 @@
</span><span class="cx">   },'input direction of setSelectionRange(0,1)');
</span><span class="cx"> 
</span><span class="cx">   test(function() {
</span><ins>+    input.setSelectionRange(1,-1);
+    assert_equals(input.selectionStart, 1, &quot;element.selectionStart should be 1&quot;);
+    assert_equals(input.selectionEnd, input.value.length, &quot;ECMAScript conversion to unsigned long&quot;);
+  },'input setSelectionRange(1,-1)');
+
+  test(function() {
+    input.setSelectionRange(-1,1);
+    assert_equals(input.selectionStart, 1, &quot;ECMAScript conversion to unsigned long + if end is less than or equal to start then the start of the selection and the end of the selection must both be placed immediately before the character with offset end&quot;);
+    assert_equals(input.selectionEnd, 1, &quot;element.selectionEnd should be 1&quot;);
+  },'input setSelectionRange(-1,1)');
+
+  test(function() {
</ins><span class="cx">     input.setSelectionRange(&quot;string&quot;,1);
</span><span class="cx">     assert_equals(input.selectionStart, 0, &quot;element.selectionStart should be 0&quot;);
</span><span class="cx">     assert_equals(input.selectionEnd, 1, &quot;element.selectionEnd should be 1&quot;);
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstheformelementformindexedelementexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-indexed-element-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-indexed-element-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-indexed-element-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+ 
+
+PASS form.elements should be accessed correctly by index 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstheformelementformindexedelementhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-indexed-element.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-indexed-element.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-indexed-element.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,22 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=&quot;utf-8&quot;&gt;
+&lt;title&gt;form.elements: indexed&lt;/title&gt;
+&lt;link rel=&quot;author&quot; title=&quot;Ivan.Yang&quot; href=&quot;mailto:jsyangwenjie@gmail.com&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;div id=&quot;test&quot;&gt;
+&lt;form id=form&gt;
+&lt;input type=&quot;radio&quot; name=&quot;radio1&quot; id=&quot;r1&quot; value=1&gt;
+&lt;input type=&quot;radio&quot; name=&quot;radio2&quot; id=&quot;r2&quot; value=2&gt;
+&lt;/form&gt;
+&lt;/div&gt;
+&lt;script&gt;
+test(function() {
+  var form = document.getElementById(&quot;form&quot;);
+  assert_equals(form[0], document.getElementById(&quot;r1&quot;));
+  assert_equals(form[1], document.getElementById(&quot;r2&quot;));
+  assert_equals(form[2], undefined);
+  assert_equals(form[-1], undefined);
+  }, &quot;form.elements should be accessed correctly by index&quot;)
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsscripting1thescriptelementscriptnotexecutedaftershutdownchildhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown-child.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown-child.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown-child.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=&quot;utf-8&quot;&gt;
+&lt;title&gt;Script is not executed after script thread is shutdown&lt;/title&gt;
+&lt;script&gt;
+onload = function() {
+  script_executed = parent.script_executed;
+  s = document.createElement('script');
+  s.type = 'text/javascript';
+  s.src = 'script-not-executed-after-shutdown.js?pipe=trickle(d3)';
+  document.body.appendChild(s);
+};
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsscripting1thescriptelementscriptnotexecutedaftershutdownexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Script is not executed after script thread is shutdown 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsscripting1thescriptelementscriptnotexecutedaftershutdownhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=&quot;utf-8&quot;&gt;
+&lt;title&gt;Script is not executed after script thread is shutdown&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;iframe id=&quot;testiframe&quot; src=&quot;script-not-executed-after-shutdown-child.html&quot;&gt;&lt;/iframe&gt;
+&lt;script&gt;
+async_test(function(t) {
+  window.script_executed = t.unreached_func(&quot;script executed in removed iframe&quot;);
+  let iframe = document.getElementById(&quot;testiframe&quot;);
+  iframe.onload = function() {
+    iframe.parentNode.removeChild(iframe);
+  };
+  setTimeout(function() {
+    t.done();
+  }, 5000);
+});
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsscripting1thescriptelementscriptnotexecutedaftershutdownjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown.js (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown.js                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown.js        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+script_executed();
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsscripting1thescriptelementscriptingenabledexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/scripting-enabled-expected.txt (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/scripting-enabled-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/scripting-enabled-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS script on document returned by createHTMLDocument should not execute 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsscripting1thescriptelementscriptingenabledhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/scripting-enabled.html (0 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/scripting-enabled.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/scripting-enabled.html        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;meta charset=&quot;utf-8&quot;&gt;
+&lt;title&gt;JS is disabled on documents created without a browsing context&lt;/title&gt;
+&lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/webappapis.html#concept-n-script&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;script&gt;
+test(function(t) {
+  var doc = document.implementation.createHTMLDocument();
+  window.fail_test = t.unreached_func('should not have been called');
+
+  var script = doc.createElement('script');
+  script.textContent = 'fail_test();';
+  doc.documentElement.appendChild(script);
+}, 'script on document returned by createHTMLDocument should not execute');
+&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 (203163 => 203164)</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-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/w3c-import.log        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -39,6 +39,9 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-languages-01.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-languages-02.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-noembed-noframes-iframe.xhtml
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown-child.html
+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown.html
+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-executed-after-shutdown.js
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-found-not-executed-2.py
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-found-not-executed.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-not-found-not-executed.py
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestslintwhitelist"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/lint.whitelist (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/lint.whitelist        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/lint.whitelist        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -109,6 +109,10 @@
</span><span class="cx"> CONSOLE:service-workers/service-worker/navigation-redirect.https.html
</span><span class="cx"> CONSOLE:service-workers/service-worker/resources/clients-get-other-origin.html
</span><span class="cx"> 
</span><ins>+# use of console in a public library - annotation-model ensures
+# it is not actually used
+CONSOLE:annotation-model/scripts/ajv.min.js
+
</ins><span class="cx"> # Lint doesn't know about sub.svg I guess
</span><span class="cx"> PARSE-FAILED:content-security-policy/svg/including.sub.svg
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamsbadstrategieshttpsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.https-expected.txt (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.https-expected.txt        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.https-expected.txt        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -4,7 +4,10 @@
</span><span class="cx"> PASS Readable stream: strategy.size errors the stream and then returns Infinity 
</span><span class="cx"> PASS Readable stream: throwing strategy.size method 
</span><span class="cx"> PASS Readable stream: throwing strategy.highWaterMark getter 
</span><del>-PASS Readable stream: invalid strategy.highWaterMark 
</del><ins>+FAIL Readable stream: invalid strategy.highWaterMark assert_throws: construction should throw a RangeError for NaN function &quot;() =&gt; {
+      new ReadableStream({}, {
+        size() {
+ ...&quot; threw object &quot;TypeError: highWaterMark parameter is not a number&quot; (&quot;TypeError&quot;) expected object &quot;RangeError&quot; (&quot;RangeError&quot;)
</ins><span class="cx"> PASS Readable stream: invalid strategy.size return value 
</span><span class="cx"> FAIL Load bad-strategies.js with SharedWorker assert_unreached: SharedWorker is unavailable Reached unreachable code
</span><span class="cx"> FAIL Untitled undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
</span><span class="lines">@@ -13,6 +16,9 @@
</span><span class="cx"> PASS Readable stream: strategy.size errors the stream and then returns Infinity 
</span><span class="cx"> PASS Readable stream: throwing strategy.size method 
</span><span class="cx"> PASS Readable stream: throwing strategy.highWaterMark getter 
</span><del>-PASS Readable stream: invalid strategy.highWaterMark 
</del><ins>+FAIL Readable stream: invalid strategy.highWaterMark assert_throws: construction should throw a RangeError for NaN function &quot;() =&gt; {
+      new ReadableStream({}, {
+        size() {
+ ...&quot; threw object &quot;TypeError: highWaterMark parameter is not a number&quot; (&quot;TypeError&quot;) expected object &quot;RangeError&quot; (&quot;RangeError&quot;)
</ins><span class="cx"> PASS Readable stream: invalid strategy.size return value 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamsbadstrategiesjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.js (203163 => 203164)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.js        2016-07-13 16:10:58 UTC (rev 203163)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.js        2016-07-13 16:30:38 UTC (rev 203164)
</span><span class="lines">@@ -114,7 +114,7 @@
</span><span class="cx"> 
</span><span class="cx"> test(() =&gt; {
</span><span class="cx"> 
</span><del>-  for (const highWaterMark of [-1, -Infinity]) {
</del><ins>+  for (const highWaterMark of [-1, -Infinity, NaN, 'foo', {}]) {
</ins><span class="cx">     assert_throws(new RangeError(), () =&gt; {
</span><span class="cx">       new ReadableStream({}, {
</span><span class="cx">         size() {
</span><span class="lines">@@ -125,17 +125,6 @@
</span><span class="cx">     }, 'construction should throw a RangeError for ' + highWaterMark);
</span><span class="cx">   }
</span><span class="cx"> 
</span><del>-  for (const highWaterMark of [NaN, 'foo', {}]) {
-    assert_throws(new TypeError(), () =&gt; {
-      new ReadableStream({}, {
-        size() {
-          return 1;
-        },
-        highWaterMark
-      });
-    }, 'construction should throw a TypeError for ' + highWaterMark);
-  }
-
</del><span class="cx"> }, 'Readable stream: invalid strategy.highWaterMark');
</span><span class="cx"> 
</span><span class="cx"> promise_test(() =&gt; {
</span></span></pre>
</div>
</div>

</body>
</html>