<!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>[205077] 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/205077">205077</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2016-08-27 07:31:23 -0700 (Sat, 27 Aug 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>Sync web-platform-tests up to revision e827374
https://bugs.webkit.org/show_bug.cgi?id=161231
Patch by Youenn Fablet <youenn@apple.com> on 2016-08-27
Reviewed by Sam Weinig.
* resources/ImportExpectations: Skipped some new test suites. Added 'url' test suite as Import.
* resources/TestRepositories: Updated revision to e827374
* resources/web-platform-tests-modules.json:
* web-platform-tests/XMLHttpRequest/abort-during-upload-expected.txt:
* web-platform-tests/XMLHttpRequest/abort-during-upload.htm:
* web-platform-tests/XMLHttpRequest/abort-event-order.htm:
* web-platform-tests/XMLHttpRequest/event-error-expected.txt:
* web-platform-tests/XMLHttpRequest/event-error-order.sub-expected.txt: Added.
* web-platform-tests/XMLHttpRequest/event-error-order.sub.html: Added.
* web-platform-tests/XMLHttpRequest/event-error.html:
* web-platform-tests/XMLHttpRequest/event-error.sub-expected.txt: Added.
* web-platform-tests/XMLHttpRequest/event-error.sub.html: Copied from LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error.html.
* web-platform-tests/XMLHttpRequest/event-progress.htm:
* web-platform-tests/XMLHttpRequest/resources/trickle.py:
(main):
* web-platform-tests/XMLHttpRequest/resources/w3c-import.log:
* web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-event-order.js: Added.
(global.prepare_xhr_for_event_order_test):
(global.assert_xhr_event_order_matches):
* web-platform-tests/XMLHttpRequest/response-data-progress-expected.txt:
* web-platform-tests/XMLHttpRequest/response-data-progress.htm:
* web-platform-tests/XMLHttpRequest/response-method-expected.txt:
* web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt:
* web-platform-tests/XMLHttpRequest/security-consideration.sub.html:
* web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt:
* web-platform-tests/XMLHttpRequest/send-no-response-event-order-expected.txt:
* web-platform-tests/XMLHttpRequest/send-no-response-event-order.htm:
* web-platform-tests/XMLHttpRequest/send-sync-response-event-order-expected.txt:
* web-platform-tests/XMLHttpRequest/send-sync-response-event-order.htm:
* web-platform-tests/XMLHttpRequest/w3c-import.log:
* web-platform-tests/common/get-host-info.sub.js: Added.
(get_host_info):
* web-platform-tests/common/w3c-import.log:
* web-platform-tests/dom/interfaces-expected.txt:
* web-platform-tests/dom/interfaces.html:
* web-platform-tests/dom/nodes/attributes-expected.txt:
* web-platform-tests/dom/nodes/attributes.html:
* web-platform-tests/dom/traversal/TreeWalker-acceptNode-filter.html:
* web-platform-tests/dom/traversal/TreeWalker-basic.html:
* web-platform-tests/dom/traversal/TreeWalker-currentNode.html:
* web-platform-tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html:
* web-platform-tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html:
* web-platform-tests/dom/traversal/TreeWalker-traversal-reject.html:
* web-platform-tests/dom/traversal/TreeWalker-traversal-skip-most.html:
* web-platform-tests/dom/traversal/TreeWalker-traversal-skip.html:
* web-platform-tests/domparsing/w3c-import.log:
* web-platform-tests/fetch/api/basic/scheme-about-expected.txt:
* web-platform-tests/fetch/api/basic/scheme-about-worker-expected.txt:
* web-platform-tests/fetch/api/basic/scheme-about.js:
(checkFetchResponse):
(checkKoUrl): Deleted.
* web-platform-tests/fetch/api/basic/w3c-import.log:
* web-platform-tests/fetch/api/cors/cors-cookies.js:
(corsCookies):
* web-platform-tests/fetch/api/cors/cors-redirect.js:
(corsRedirect):
* web-platform-tests/fetch/api/headers/headers-basic-expected.txt:
* web-platform-tests/fetch/api/headers/headers-basic.html:
* web-platform-tests/fetch/api/redirect/w3c-import.log:
* web-platform-tests/fetch/api/request/request-cache-expected.txt:
* web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm:
* web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub.html:
* web-platform-tests/html/browsers/windows/nested-browsing-contexts/frameElement.sub.html:
* web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub-expected.txt:
* web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html:
* web-platform-tests/html/dom/elements-forms.js:
* web-platform-tests/html/dom/elements-tabular.js:
* web-platform-tests/html/dom/elements/global-attributes/dataset-expected.txt:
* web-platform-tests/html/dom/elements/global-attributes/dataset.html:
* web-platform-tests/html/dom/interfaces-expected.txt:
* web-platform-tests/html/dom/interfaces.html:
* web-platform-tests/html/dom/reflection-forms-expected.txt:
* web-platform-tests/html/dom/reflection-tabular-expected.txt:
* web-platform-tests/html/dom/reflection.js:
(ReflectionTests.typeMap.string_appeared_here.toString):
(ReflectionTests.typeMap.string_appeared_here.valueOf):
(ReflectionTests.typeMap.string_appeared_here.string_appeared_here):
* web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_specified.sub.html:
* web-platform-tests/html/semantics/document-metadata/the-link-element/document-without-browsing-context-expected.txt:
* web-platform-tests/html/semantics/document-metadata/the-link-element/link-load-event.html:
* 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/embedded-content/the-canvas-element/security.drawImage.canvas.sub-expected.txt:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.canvas.sub.html:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.image.sub-expected.txt:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.image.sub.html:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.fillStyle.sub-expected.txt:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.fillStyle.sub.html:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.strokeStyle.sub-expected.txt:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.strokeStyle.sub.html:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.timing.sub-expected.txt:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.timing.sub.html:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.create.sub-expected.txt:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.create.sub.html:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.cross.sub-expected.txt:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.cross.sub.html:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.fillStyle.sub-expected.txt:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.fillStyle.sub.html:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.strokeStyle.sub-expected.txt:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.strokeStyle.sub.html:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.reset.sub-expected.txt:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.reset.sub.html:
* web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt:
* web-platform-tests/html/semantics/forms/constraints/form-validation-validity-tooShort.html:
* web-platform-tests/html/semantics/interfaces-expected.txt:
* web-platform-tests/html/semantics/interfaces.html:
* web-platform-tests/html/semantics/interfaces.js:
* web-platform-tests/html/semantics/selectors/pseudo-classes/valid-invalid-expected.txt:
* web-platform-tests/html/semantics/selectors/pseudo-classes/valid-invalid.html:
* web-platform-tests/lint.whitelist:
* web-platform-tests/url/w3c-import.log: Added.</pre>
<h3>Modified Paths</h3>
<ul>
<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="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestabortduringuploadexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-upload-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestabortduringuploadhtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-upload.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestaborteventorderhtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-event-order.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequesteventprogresshtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-progress.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcestricklepy">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/trickle.py</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresponsedataprogressexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/response-data-progress-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresponsedataprogresshtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/response-data-progress.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="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsecurityconsiderationsubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/security-consideration.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodydocumentexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendnoresponseeventorderexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-no-response-event-order-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendnoresponseeventorderhtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-no-response-event-order.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendsyncresponseeventorderexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-sync-response-event-order-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendsyncresponseeventorderhtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-sync-response-event-order.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestscommonw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/common/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdominterfacesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdominterfaceshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesattributesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesattributeshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkeracceptNodefilterhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-acceptNode-filter.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkerbasichtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-basic.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkercurrentNodehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-currentNode.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkerpreviousNodeLastChildRejecthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkerpreviousSiblingLastChildSkiphtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkertraversalrejecthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-reject.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkertraversalskipmosthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-skip-most.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkertraversalskiphtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-skip.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomparsingw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicschemeaboutexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicschemeaboutworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicschemeaboutjs">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about.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="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorscookiesjs">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsredirectjs">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapiheadersheadersbasicexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/headers/headers-basic-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapiheadersheadersbasichtml">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/headers/headers-basic.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapiredirectw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapirequestrequestcacheexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlbrowsershistorythelocationinterfacesecurity_location_0subhtm">trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlbrowsersthewindowobjectsecuritywindowwindowsecuritysubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlbrowserswindowsnestedbrowsingcontextsframeElementsubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/nested-browsing-contexts/frameElement.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlbrowserswindowstargetingcrossoriginnestedbrowsingcontextssubexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlbrowserswindowstargetingcrossoriginnestedbrowsingcontextssubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdatasetexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dataset-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdatasethtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dataset.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsformsjs">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements-forms.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementstabularjs">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements-tabular.js</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="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomreflectionformsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomreflectiontabularexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-tabular-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomreflectionjs">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathebaseelementbase_href_specifiedsubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_specified.sub.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="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementlinkloadeventhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-load-event.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="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritydrawImagecanvassubexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.canvas.sub-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritydrawImagecanvassubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.canvas.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritydrawImageimagesubexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.image.sub-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritydrawImageimagesubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.image.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncanvasfillStylesubexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.fillStyle.sub-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncanvasfillStylesubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.fillStyle.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncanvasstrokeStylesubexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.strokeStyle.sub-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncanvasstrokeStylesubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.strokeStyle.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncanvastimingsubexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.timing.sub-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncanvastimingsubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.timing.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncreatesubexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.create.sub-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncreatesubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.create.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncrosssubexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.cross.sub-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncrosssubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.cross.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatternimagefillStylesubexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.fillStyle.sub-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatternimagefillStylesubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.fillStyle.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatternimagestrokeStylesubexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.strokeStyle.sub-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatternimagestrokeStylesubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.strokeStyle.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecurityresetsubexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.reset.sub-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecurityresetsubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.reset.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementenvironmentchangesviewportchangeexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsconstraintsformvalidationvaliditytooShorthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-tooShort.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsinterfacesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsinterfaceshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interfaces.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsinterfacesjs">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interfaces.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesvalidinvalidexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/valid-invalid-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesvalidinvalidhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/valid-invalid.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestslintwhitelist">trunk/LayoutTests/imported/w3c/web-platform-tests/lint.whitelist</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorimportedw3cwebplatformtestshtmldomreflectionformsexpectedtxt">trunk/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorimportedw3cwebplatformtestshtmlsemanticsinterfacesexpectedtxt">trunk/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequesteventerrorsubexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error.sub-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequesteventerrorsubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesxmlhttprequesteventorderjs">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-event-order.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestscommongethostinfosubjs">trunk/LayoutTests/imported/w3c/web-platform-tests/common/get-host-info.sub.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsurlw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/url/w3c-import.log</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequesteventerrorexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequesteventerrorhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error.html</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/TestExpectations (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/TestExpectations        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/TestExpectations        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -475,6 +475,7 @@
</span><span class="cx"> # WPT tests that fail after doing full test repository reimport and need further investigation
</span><span class="cx"> imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document.htm [ Pass Failure Timeout ]
</span><span class="cx"> imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace.html [ Pass Failure ]
</span><ins>+imported/w3c/web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html [ Pass Failure ]
</ins><span class="cx">
</span><span class="cx"> # W3C XMLHttpRequest tests
</span><span class="cx"> imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-aborted.html [ Slow ]
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/ChangeLog        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,5 +1,124 @@
</span><span class="cx"> 2016-08-27 Youenn Fablet <youenn@apple.com>
</span><span class="cx">
</span><ins>+ Sync web-platform-tests up to revision e827374
+ https://bugs.webkit.org/show_bug.cgi?id=161231
+
+ Reviewed by Sam Weinig.
+
+ * resources/ImportExpectations: Skipped some new test suites. Added 'url' test suite as Import.
+ * resources/TestRepositories: Updated revision to e827374
+ * resources/web-platform-tests-modules.json:
+ * web-platform-tests/XMLHttpRequest/abort-during-upload-expected.txt:
+ * web-platform-tests/XMLHttpRequest/abort-during-upload.htm:
+ * web-platform-tests/XMLHttpRequest/abort-event-order.htm:
+ * web-platform-tests/XMLHttpRequest/event-error-expected.txt:
+ * web-platform-tests/XMLHttpRequest/event-error-order.sub-expected.txt: Added.
+ * web-platform-tests/XMLHttpRequest/event-error-order.sub.html: Added.
+ * web-platform-tests/XMLHttpRequest/event-error.html:
+ * web-platform-tests/XMLHttpRequest/event-error.sub-expected.txt: Added.
+ * web-platform-tests/XMLHttpRequest/event-error.sub.html: Copied from LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error.html.
+ * web-platform-tests/XMLHttpRequest/event-progress.htm:
+ * web-platform-tests/XMLHttpRequest/resources/trickle.py:
+ (main):
+ * web-platform-tests/XMLHttpRequest/resources/w3c-import.log:
+ * web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-event-order.js: Added.
+ (global.prepare_xhr_for_event_order_test):
+ (global.assert_xhr_event_order_matches):
+ * web-platform-tests/XMLHttpRequest/response-data-progress-expected.txt:
+ * web-platform-tests/XMLHttpRequest/response-data-progress.htm:
+ * web-platform-tests/XMLHttpRequest/response-method-expected.txt:
+ * web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt:
+ * web-platform-tests/XMLHttpRequest/security-consideration.sub.html:
+ * web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt:
+ * web-platform-tests/XMLHttpRequest/send-no-response-event-order-expected.txt:
+ * web-platform-tests/XMLHttpRequest/send-no-response-event-order.htm:
+ * web-platform-tests/XMLHttpRequest/send-sync-response-event-order-expected.txt:
+ * web-platform-tests/XMLHttpRequest/send-sync-response-event-order.htm:
+ * web-platform-tests/XMLHttpRequest/w3c-import.log:
+ * web-platform-tests/common/get-host-info.sub.js: Added.
+ (get_host_info):
+ * web-platform-tests/common/w3c-import.log:
+ * web-platform-tests/dom/interfaces-expected.txt:
+ * web-platform-tests/dom/interfaces.html:
+ * web-platform-tests/dom/nodes/attributes-expected.txt:
+ * web-platform-tests/dom/nodes/attributes.html:
+ * web-platform-tests/dom/traversal/TreeWalker-acceptNode-filter.html:
+ * web-platform-tests/dom/traversal/TreeWalker-basic.html:
+ * web-platform-tests/dom/traversal/TreeWalker-currentNode.html:
+ * web-platform-tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html:
+ * web-platform-tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html:
+ * web-platform-tests/dom/traversal/TreeWalker-traversal-reject.html:
+ * web-platform-tests/dom/traversal/TreeWalker-traversal-skip-most.html:
+ * web-platform-tests/dom/traversal/TreeWalker-traversal-skip.html:
+ * web-platform-tests/domparsing/w3c-import.log:
+ * web-platform-tests/fetch/api/basic/scheme-about-expected.txt:
+ * web-platform-tests/fetch/api/basic/scheme-about-worker-expected.txt:
+ * web-platform-tests/fetch/api/basic/scheme-about.js:
+ (checkFetchResponse):
+ (checkKoUrl): Deleted.
+ * web-platform-tests/fetch/api/basic/w3c-import.log:
+ * web-platform-tests/fetch/api/cors/cors-cookies.js:
+ (corsCookies):
+ * web-platform-tests/fetch/api/cors/cors-redirect.js:
+ (corsRedirect):
+ * web-platform-tests/fetch/api/headers/headers-basic-expected.txt:
+ * web-platform-tests/fetch/api/headers/headers-basic.html:
+ * web-platform-tests/fetch/api/redirect/w3c-import.log:
+ * web-platform-tests/fetch/api/request/request-cache-expected.txt:
+ * web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm:
+ * web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub.html:
+ * web-platform-tests/html/browsers/windows/nested-browsing-contexts/frameElement.sub.html:
+ * web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub-expected.txt:
+ * web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html:
+ * web-platform-tests/html/dom/elements-forms.js:
+ * web-platform-tests/html/dom/elements-tabular.js:
+ * web-platform-tests/html/dom/elements/global-attributes/dataset-expected.txt:
+ * web-platform-tests/html/dom/elements/global-attributes/dataset.html:
+ * web-platform-tests/html/dom/interfaces-expected.txt:
+ * web-platform-tests/html/dom/interfaces.html:
+ * web-platform-tests/html/dom/reflection-forms-expected.txt:
+ * web-platform-tests/html/dom/reflection-tabular-expected.txt:
+ * web-platform-tests/html/dom/reflection.js:
+ (ReflectionTests.typeMap.string_appeared_here.toString):
+ (ReflectionTests.typeMap.string_appeared_here.valueOf):
+ (ReflectionTests.typeMap.string_appeared_here.string_appeared_here):
+ * web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_specified.sub.html:
+ * web-platform-tests/html/semantics/document-metadata/the-link-element/document-without-browsing-context-expected.txt:
+ * web-platform-tests/html/semantics/document-metadata/the-link-element/link-load-event.html:
+ * 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/embedded-content/the-canvas-element/security.drawImage.canvas.sub-expected.txt:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.canvas.sub.html:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.image.sub-expected.txt:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.image.sub.html:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.fillStyle.sub-expected.txt:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.fillStyle.sub.html:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.strokeStyle.sub-expected.txt:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.strokeStyle.sub.html:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.timing.sub-expected.txt:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.timing.sub.html:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.create.sub-expected.txt:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.create.sub.html:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.cross.sub-expected.txt:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.cross.sub.html:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.fillStyle.sub-expected.txt:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.fillStyle.sub.html:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.strokeStyle.sub-expected.txt:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.strokeStyle.sub.html:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.reset.sub-expected.txt:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.reset.sub.html:
+ * web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt:
+ * web-platform-tests/html/semantics/forms/constraints/form-validation-validity-tooShort.html:
+ * web-platform-tests/html/semantics/interfaces-expected.txt:
+ * web-platform-tests/html/semantics/interfaces.html:
+ * web-platform-tests/html/semantics/interfaces.js:
+ * web-platform-tests/html/semantics/selectors/pseudo-classes/valid-invalid-expected.txt:
+ * web-platform-tests/html/semantics/selectors/pseudo-classes/valid-invalid.html:
+ * web-platform-tests/lint.whitelist:
+ * web-platform-tests/url/w3c-import.log: Added.
+
+2016-08-27 Youenn Fablet <youenn@apple.com>
+
</ins><span class="cx"> [Fetch API] Blob type should be set from Response/Request contentType header
</span><span class="cx"> https://bugs.webkit.org/show_bug.cgi?id=161228
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cresourcesImportExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/resources/ImportExpectations (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/resources/ImportExpectations        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/resources/ImportExpectations        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -124,7 +124,6 @@
</span><span class="cx"> web-platform-tests/dom/nodes/ParentNode-querySelector-All.xht [ Skip ]
</span><span class="cx"> web-platform-tests/dom/traversal/unfinished [ Skip ]
</span><span class="cx"> #web-platform-tests/domparsing [ Import ]
</span><del>-web-platform-tests/domparsing/insert_adjacent_html.xhtml [ Skip ]
</del><span class="cx"> web-platform-tests/generic-sensor [ Skip ]
</span><span class="cx"> web-platform-tests/domparsing/DOMParser-parseFromString-xml.html [ Skip ]
</span><span class="cx"> web-platform-tests/domparsing/XMLSerializer-serializeToString.html [ Skip ]
</span><span class="lines">@@ -139,6 +138,8 @@
</span><span class="cx"> web-platform-tests/gamepad [ Skip ]
</span><span class="cx"> web-platform-tests/hr-time [ Skip ]
</span><span class="cx"> #web-platform-tests/html [ Import ]
</span><ins>+web-platform-tests/html/browsers/history/joint-session-history [ Skip ]
+web-platform-tests/html/browsers/offline/application-cache-api [ Skip ]
</ins><span class="cx"> web-platform-tests/html/dom/documents/dom-tree-accessors/Document.currentScript.sub.html [ Skip ]
</span><span class="cx"> web-platform-tests/html/dom/elements/requirements-relating-to-bidirectional-algorithm-formatting-characters [ Skip ]
</span><span class="cx"> web-platform-tests/html/dom/reflection-original.html [ Skip ] # Not a test file
</span><span class="lines">@@ -196,6 +197,7 @@
</span><span class="cx"> web-platform-tests/http [ Skip ]
</span><span class="cx"> web-platform-tests/infrastructure [ Skip ]
</span><span class="cx"> web-platform-tests/innerText [ Skip ]
</span><ins>+web-platform-tests/input-events [ Skip ]
</ins><span class="cx"> web-platform-tests/js [ Skip ]
</span><span class="cx"> web-platform-tests/media-source [ Skip ]
</span><span class="cx"> web-platform-tests/mediacapture-streams [ Skip ]
</span><span class="lines">@@ -229,9 +231,10 @@
</span><span class="cx"> web-platform-tests/touch-events [ Skip ]
</span><span class="cx"> web-platform-tests/typedarrays [ Skip ]
</span><span class="cx"> web-platform-tests/uievents [ Skip ]
</span><del>-web-platform-tests/url [ Skip ]
</del><ins>+#web-platform-tests/url [ Import ]
</ins><span class="cx"> web-platform-tests/user-timing [ Skip ]
</span><span class="cx"> web-platform-tests/vibration [ Skip ]
</span><ins>+web-platform-tests/wai-aria [ Skip ]
</ins><span class="cx"> web-platform-tests/web-animations [ Skip ]
</span><span class="cx"> web-platform-tests/webaudio [ Skip ]
</span><span class="cx"> web-platform-tests/webauthn [ Skip ]
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cresourcesTestRepositories"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/resources/TestRepositories (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/resources/TestRepositories        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/resources/TestRepositories        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -15,7 +15,7 @@
</span><span class="cx"> {
</span><span class="cx"> "name": "web-platform-tests",
</span><span class="cx"> "url": "https://github.com/w3c/web-platform-tests.git",
</span><del>- "revision": "d686014",
</del><ins>+ "revision": "e827374",
</ins><span class="cx"> "paths_to_skip": [
</span><span class="cx"> "conformance-checkers",
</span><span class="cx"> "docs",
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cresourceswebplatformtestsmodulesjson"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/resources/web-platform-tests-modules.json (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/resources/web-platform-tests-modules.json        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/resources/web-platform-tests-modules.json        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -28,8 +28,8 @@
</span><span class="cx"> "path": [
</span><span class="cx"> "tools"
</span><span class="cx"> ],
</span><del>- "url": "https://github.com/w3c/wpt-tools/archive/35de4d0ddd1427e07c1b8b68c2d9bace0b2a08da.tar.gz",
- "url_subpath": "wpt-tools-35de4d0ddd1427e07c1b8b68c2d9bace0b2a08da"
</del><ins>+ "url": "https://github.com/w3c/wpt-tools/archive/de4d6ebd746bbba215da537b3f35e00b6b674824.tar.gz",
+ "url_subpath": "wpt-tools-de4d6ebd746bbba215da537b3f35e00b6b674824"
</ins><span class="cx"> },
</span><span class="cx"> {
</span><span class="cx"> "path": [
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestabortduringuploadexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-upload-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-upload-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-upload-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,3 +1,5 @@
</span><span class="cx">
</span><del>-PASS XMLHttpRequest: abort() while sending data
</del><ins>+FAIL XMLHttpRequest: abort() while sending data assert_array_equals: property 2, expected "upload.loadstart(0,9999,true)" but got "upload.loadstart(0,0,false)"
+Recorded events were:1, loadstart(0,0,false), upload.loadstart(0,0,false), 4, upload.progress(0,0,false), upload.abort(0,0,false), upload.loadend(0,0,false), progress(0,0,false), abort(0,0,false), loadend(0,0,false)
+Expected events were:1, loadstart(0,0,false), upload.loadstart(0,9999,true), 4, upload.progress(0,0,false), upload.abort(0,0,false), upload.loadend(0,0,false), progress(0,0,false), abort(0,0,false), loadend(0,0,false)
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestabortduringuploadhtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-upload.htm (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-upload.htm        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-upload.htm        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -4,6 +4,7 @@
</span><span class="cx"> <title>XMLHttpRequest: abort() while sending data</title>
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><ins>+ <script src="resources/xmlhttprequest-event-order.js"></script>
</ins><span class="cx"> <link rel="help" href="https://xhr.spec.whatwg.org/#the-abort()-method" data-tested-assertations="following-sibling::ol/li[4]/ol/li[7] following-sibling::ol/li[4]/ol/li[7]/ol/li[2] following-sibling::ol/li[4]/ol/li[7]/ol/li[3] following-sibling::ol/li[4]/ol/li[7]/ol/li[4]" />
</span><span class="cx"> <link rel="help" href="https://xhr.spec.whatwg.org/#make-upload-progress-notifications" data-tested-assertations="following::ul[1]/li[1] following::ul[1]/li[2]/ol[1]/li[2] following::ul[1]/li[2]/ol[1]/li[3] following::ul[1]/li[2]/ol[1]/li[4]" />
</span><span class="cx"> </head>
</span><span class="lines">@@ -11,29 +12,16 @@
</span><span class="cx"> <div id="log"></div>
</span><span class="cx"> <script>
</span><span class="cx"> var test = async_test(document.title, {timeout:1100})
</span><del>- var result = []
- var expected = ['progress on XHR Upload', 'abort on XHR Upload', 'loadend on XHR Upload', 'progress on XHR', 'abort on XHR', 'loadend on XHR']
- function logEvt (e) {
- var str = e.type+' on '
- str += e.target instanceof XMLHttpRequest ? 'XHR' : 'XHR Upload'
- result.push(str)
- }
</del><span class="cx"> test.step(function() {
</span><span class="cx"> var client = new XMLHttpRequest()
</span><ins>+ prepare_xhr_for_event_order_test(client);
</ins><span class="cx"> client.open("POST", "resources/delay.py?ms=1000")
</span><del>- client.addEventListener('progress', logEvt)
- client.addEventListener('abort', logEvt)
- client.addEventListener('loadend', function (e) {
- logEvt(e)
</del><ins>+ client.addEventListener("loadend", function(e) {
</ins><span class="cx"> test.step(function() {
</span><del>- assert_equals(client.readyState, 4)
- assert_array_equals(result, expected)
</del><ins>+ assert_xhr_event_order_matches([1, "loadstart(0,0,false)", "upload.loadstart(0,9999,true)", 4, "upload.progress(0,0,false)", "upload.abort(0,0,false)", "upload.loadend(0,0,false)", "progress(0,0,false)", "abort(0,0,false)", "loadend(0,0,false)"]);
</ins><span class="cx"> test.done()
</span><span class="cx"> })
</span><del>- })
- client.upload.addEventListener('loadend', logEvt)
- client.upload.addEventListener('progress', logEvt)
- client.upload.addEventListener('abort', logEvt)
</del><ins>+ });
</ins><span class="cx"> client.send((new Array(10000)).join('a'))
</span><span class="cx"> client.abort()
</span><span class="cx"> })
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestaborteventorderhtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-event-order.htm (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-event-order.htm        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-event-order.htm        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -4,6 +4,7 @@
</span><span class="cx"> <link rel="help" href="https://xhr.spec.whatwg.org/#the-abort()-method" data-tested-assertations="following-sibling::ol/li[4]/ol/li[3] following-sibling::ol/li[4]/ol/li[5] following-sibling::ol/li[4]/ol/li[6] following-sibling::ol/li[4]/ol/li[7]/ol/li[3] following-sibling::ol/li[4]/ol/li[7]/ol/li[4] following-sibling::ol/li[5]" />
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><ins>+ <script src="resources/xmlhttprequest-event-order.js"></script>
</ins><span class="cx"> <title>XMLHttpRequest: The abort() method: abort and loadend events</title>
</span><span class="cx"> </head>
</span><span class="cx">
</span><span class="lines">@@ -16,42 +17,28 @@
</span><span class="cx"> test.step(function()
</span><span class="cx"> {
</span><span class="cx"> var xhr = new XMLHttpRequest();
</span><del>- var expect = [1, 4, "upload.abort", "upload.loadend", "abort", "loadend"];
- var actual = [];
</del><ins>+ prepare_xhr_for_event_order_test(xhr);
</ins><span class="cx">
</span><del>- xhr.onreadystatechange = function()
- {
</del><ins>+ xhr.addEventListener("loadstart", function() {
</ins><span class="cx"> test.step(function()
</span><span class="cx"> {
</span><del>- actual.push(xhr.readyState);
- });
- };
- xhr.onloadstart = function()
- {
- test.step(function()
- {
</del><span class="cx"> var readyState = xhr.readyState;
</span><span class="cx"> if (readyState == 1)
</span><span class="cx"> {
</span><span class="cx"> xhr.abort();
</span><span class="cx"> VerifyResult();
</span><del>- }else{
</del><ins>+ } else {
</ins><span class="cx"> assert_unreached('Loadstart event should not fire in readyState '+readyState);
</span><span class="cx"> }
</span><span class="cx"> });
</span><del>- };
</del><ins>+ });
</ins><span class="cx">
</span><del>- xhr.onloadend = function(e){ actual.push(e.type); };
- xhr.onabort = function(e){ actual.push(e.type); };
-
- xhr.upload.onloadend = function(e){ actual.push("upload." + e.type); };
- xhr.upload.onabort = function(e){ actual.push("upload." + e.type); };
-
</del><span class="cx"> function VerifyResult()
</span><span class="cx"> {
</span><span class="cx"> test.step(function()
</span><span class="cx"> {
</span><del>- assert_array_equals(actual, expect);
</del><ins>+ assert_xhr_event_order_matches([1, "loadstart(0,0,false)", 4, "upload.progress(0,0,false)", "upload.abort(0,0,false)", "upload.loadend(0,0,false)", "progress(0,0,false)", "abort(0,0,false)", "loadend(0,0,false)"]);
+
</ins><span class="cx"> assert_equals(xhr.readyState, 0, 'state should be UNSENT');
</span><span class="cx"> test.done();
</span><span class="cx"> });
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequesteventerrorexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Blocked access to external URL http://example.nonexist/
-CONSOLE MESSAGE: line 22: XMLHttpRequest cannot load http://example.nonexist/ due to access control checks.
-
-PASS XMLHttpRequest Test: event - error
-
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequesteventerrorhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,25 +0,0 @@
</span><del>-<!DOCTYPE html>
-<meta charset="utf-8">
-<title>XMLHttpRequest Test: event - error</title>
-<link rel="author" title="Intel" href="http://www.intel.com">
-<meta name="assert" content="Check if event onerror is fired When the request has failed.">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-
-<div id="log"></div>
-
-<script>
-
-async_test(function (t) {
- var client = new XMLHttpRequest();
- client.onerror = t.step_func(function(e) {
- assert_true(e instanceof ProgressEvent);
- assert_equals(e.type, "error");
- t.done();
- });
-
- client.open("GET", "http://example.nonexist");
- client.send("null");
-}, document.title);
-
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequesteventerrorsubexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error.sub-expected.txt (0 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error.sub-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error.sub-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Blocked access to external URL http://nonexistent-origin.localhost:8800/
+CONSOLE MESSAGE: line 22: XMLHttpRequest cannot load http://nonexistent-origin.localhost:8800/ due to access control checks.
+
+PASS XMLHttpRequest Test: event - error
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequesteventerrorsubhtmlfromrev205076trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequesteventerrorhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error.sub.html (from rev 205076, trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error.html) (0 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error.sub.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error.sub.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>XMLHttpRequest Test: event - error</title>
+<link rel="author" title="Intel" href="http://www.intel.com">
+<meta name="assert" content="Check if event onerror is fired When the request has failed.">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+
+<div id="log"></div>
+
+<script>
+
+async_test(function (t) {
+ var client = new XMLHttpRequest();
+ client.onerror = t.step_func(function(e) {
+ assert_true(e instanceof ProgressEvent);
+ assert_equals(e.type, "error");
+ t.done();
+ });
+
+ client.open("GET", "http://nonexistent-origin.{{host}}:{{ports[http][0]}}");
+ client.send("null");
+}, document.title);
+
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequesteventprogresshtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-progress.htm (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-progress.htm        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-progress.htm        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -23,7 +23,7 @@
</span><span class="cx"> if (client.readyState === 4)
</span><span class="cx"> assert_unreached("onprogress not called.");
</span><span class="cx"> });
</span><del>- client.open("GET", "resources/trickle.py");
</del><ins>+ client.open("GET", "resources/trickle.py?count=4&delay=150");
</ins><span class="cx"> client.send(null);
</span><span class="cx"> });
</span><span class="cx"> </script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcestricklepy"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/trickle.py (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/trickle.py        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/trickle.py        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,12 +1,15 @@
</span><span class="cx"> import time
</span><span class="cx">
</span><span class="cx"> def main(request, response):
</span><ins>+ chunk = "TEST_TRICKLE\n"
</ins><span class="cx"> delay = float(request.GET.first("ms", 500)) / 1E3
</span><span class="cx"> count = int(request.GET.first("count", 50))
</span><ins>+ if "specifylength" in request.GET:
+ response.headers.set("Content-Length", count * len(chunk))
</ins><span class="cx"> time.sleep(delay)
</span><span class="cx"> response.headers.set("Content-type", "text/plain")
</span><span class="cx"> response.write_status_headers()
</span><span class="cx"> time.sleep(delay);
</span><span class="cx"> for i in xrange(count):
</span><del>- response.writer.write_content("TEST_TRICKLE\n")
</del><ins>+ response.writer.write_content(chunk)
</ins><span class="cx"> time.sleep(delay)
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/w3c-import.log (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/w3c-import.log        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/w3c-import.log        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -49,6 +49,7 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/win-1252-xml.py
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/workerxhr-origin-referrer.js
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/workerxhr-simple.js
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-event-order.js
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-timeout-aborted.js
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-timeout-abortedonmain.js
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-timeout-overrides.js
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesxmlhttprequesteventorderjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-event-order.js (0 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-event-order.js         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-event-order.js        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+(function(global) {
+ var recorded_xhr_events = [];
+
+ function record_xhr_event(e) {
+ var prefix = e.target instanceof XMLHttpRequestUpload ? "upload." : "";
+ recorded_xhr_events.push((prefix || "") + e.type + "(" + e.loaded + "," + e.total + "," + e.lengthComputable + ")");
+ }
+
+ global.prepare_xhr_for_event_order_test = function(xhr) {
+ xhr.addEventListener("readystatechange", function(e) {
+ recorded_xhr_events.push(xhr.readyState);
+ });
+ var events = ["loadstart", "progress", "abort", "timeout", "error", "load", "loadend"];
+ for(var i=0; i<events.length; ++i) {
+ xhr.addEventListener(events[i], record_xhr_event);
+ }
+ if ("upload" in xhr) {
+ for(var i=0; i<events.length; ++i) {
+ xhr.upload.addEventListener(events[i], record_xhr_event);
+ }
+ }
+ }
+
+ global.assert_xhr_event_order_matches = function(expected) {
+ try {
+ assert_array_equals(recorded_xhr_events, expected);
+ } catch(e) {
+ e.message += "\nRecorded events were:" + recorded_xhr_events.join(", ");
+ e.message += "\nExpected events were:" + expected.join(", ");
+ throw e;
+ }
+ }
+}(this));
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresponsedataprogressexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/response-data-progress-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/response-data-progress-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/response-data-progress-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,3 +1,4 @@
</span><span class="cx">
</span><del>-PASS XMLHttpRequest: progress events grow response body size
</del><ins>+PASS XMLHttpRequest: progress events grow response body size, unknown content-length
+PASS XMLHttpRequest: progress events grow response body size, known content-length
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresponsedataprogresshtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/response-data-progress.htm (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/response-data-progress.htm        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/response-data-progress.htm        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -15,18 +15,18 @@
</span><span class="cx">
</span><span class="cx"> <script>
</span><span class="cx">
</span><del>-var test = async_test();
-
-test.step(function() {
</del><ins>+function doTest(test, expectedLengthComputable, expectedTotal, url) {
</ins><span class="cx"> var client = new XMLHttpRequest();
</span><span class="cx"> var lastSize = 0;
</span><span class="cx">
</span><del>- client.onprogress = test.step_func(function() {
</del><ins>+ client.onprogress = test.step_func(function(e) {
+ assert_equals(e.total, expectedTotal);
+ assert_equals(e.lengthComputable, expectedLengthComputable);
+
</ins><span class="cx"> var currentSize = client.responseText.length;
</span><span class="cx">
</span><span class="cx"> if (lastSize > 0 && currentSize > lastSize) {
</span><span class="cx"> // growth from a positive size to bigger!
</span><del>-
</del><span class="cx"> test.done();
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -39,7 +39,13 @@
</span><span class="cx"> }
</span><span class="cx"> });
</span><span class="cx">
</span><del>- client.open("GET", "resources/trickle.py?count=1000");
</del><ins>+ client.open("GET", url);
</ins><span class="cx"> client.send(null);
</span><del>-});
</del><ins>+ return client;
+}
+
+async_test(function () { doTest(this, false, 0, "resources/trickle.py?count=6&delay=150"); },
+ document.title + ', unknown content-length');
+async_test(function () { doTest(this, true, 78, "resources/trickle.py?count=6&delay=150&specifylength=1"); },
+ document.title + ', known content-length');
</ins><span class="cx"> </script>
</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 (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -16,7 +16,7 @@
</span><span class="cx"> FAIL links assert_equals: expected (undefined) undefined but got (object) object "[object HTMLCollection]"
</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 1470132319000 but got 1470133687000
</del><ins>+FAIL lastModified set to related HTTP header if provided assert_equals: expected 1472199840000 but got 1472206350000
</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="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsecurityconsiderationsubhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/security-consideration.sub.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/security-consideration.sub.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/security-consideration.sub.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -21,7 +21,13 @@
</span><span class="cx"> assert_false(pe.lengthComputable, "lengthComputable is false.");
</span><span class="cx"> assert_equals(pe.total, 0, "total is zero.");
</span><span class="cx"> });
</span><del>- xhr.onloadend = this.step_func_done();
</del><ins>+ xhr.onloadend = this.step_func(function(pe) {
+ assert_equals(pe.type, "loadend");
+ assert_equals(pe.loaded, 0, "loaded is zero.");
+ assert_false(pe.lengthComputable, "lengthComputable is false.");
+ assert_equals(pe.total, 0, "total is zero.");
+ this.done();
+ });
</ins><span class="cx"> xhr.open("GET", "http://{{host}}:{{ports[http][1]}}/XMLHttpRequest/resources/img.jpg", true);
</span><span class="cx"> xhr.send(null);
</span><span class="cx"> })
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodydocumentexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,10 +1,9 @@
</span><del>-
</del><span class="cx">
</span><span class="cx"> PASS HTML document, invalid UTF-8
</span><ins>+PASS HTML document, shift-jis
</ins><span class="cx"> PASS XML document, windows-1252
</span><del>-PASS HTML document, shift-jis
</del><span class="cx"> PASS plain text file
</span><del>-PASS empty div
</del><span class="cx"> PASS img tag
</span><span class="cx"> PASS image file
</span><del>-
</del><ins>+PASS empty div
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendnoresponseeventorderexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-no-response-event-order-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-no-response-event-order-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-no-response-event-order-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,3 +1,5 @@
</span><span class="cx">
</span><del>-PASS XMLHttpRequest: The send() method: event order when there is no response entity body
</del><ins>+FAIL XMLHttpRequest: The send() method: event order when there is no response entity body assert_array_equals: lengths differ, expected 7 got 6
+Recorded events were:1, loadstart(0,0,false), 2, 4, load(0,0,false), loadend(0,0,false)
+Expected events were:1, loadstart(0,0,false), 2, progress(0,0,false), 4, load(0,0,false), loadend(0,0,false)
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendnoresponseeventorderhtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-no-response-event-order.htm (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-no-response-event-order.htm        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-no-response-event-order.htm        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -11,6 +11,7 @@
</span><span class="cx"> <link rel="help" href="https://xhr.spec.whatwg.org/#the-response-attribute" data-tested-assertations="following-sibling::ol/li[1]" />
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><ins>+ <script src="resources/xmlhttprequest-event-order.js"></script>
</ins><span class="cx"> <title>XMLHttpRequest: The send() method: event order when there is no response entity body</title>
</span><span class="cx"> </head>
</span><span class="cx">
</span><span class="lines">@@ -23,36 +24,19 @@
</span><span class="cx"> test.step(function()
</span><span class="cx"> {
</span><span class="cx"> var xhr = new XMLHttpRequest();
</span><del>- var expect = ["loadstart", 4, "load", "loadend"];
- var actual = [];
</del><ins>+ prepare_xhr_for_event_order_test(xhr);
</ins><span class="cx">
</span><del>- xhr.onreadystatechange = test.step_func(function()
- {
- test.step(function()
- {
- if (xhr.readyState == 3)
- {
- assert_equals(xhr.response, "");
- }
- else if (xhr.readyState == 4)
- {
- actual.push(xhr.readyState);
- }
- });
- });
</del><ins>+ xhr.addEventListener("readystatechange", test.step_func(function() {
+ if (xhr.readyState == 3) {
+ assert_equals(xhr.response, "");
+ }
+ }));
</ins><span class="cx">
</span><del>- xhr.onloadstart = test.step_func(function(e){ actual.push(e.type); });
- xhr.onload = test.step_func(function(e){ actual.push(e.type); });
- xhr.onloadend = test.step_func(function(e){
- actual.push(e.type);
- assert_array_equals(actual, expect);
</del><ins>+ xhr.addEventListener("loadend", test.step_func(function(e) {
+ assert_xhr_event_order_matches([1, "loadstart(0,0,false)", 2, "progress(0,0,false)", 4,"load(0,0,false)", "loadend(0,0,false)"]);
</ins><span class="cx"> test.done();
</span><del>- });
</del><ins>+ }));
</ins><span class="cx">
</span><del>- xhr.upload.onloadstart = test.step_func(function(e){ assert_unreached('upload.'+e.type); });
- xhr.upload.onload = test.step_func(function(e){ assert_unreached('upload.'+e.type); });
- xhr.upload.onloadend = test.step_func(function(e){ assert_unreached('upload.'+e.type); });
-
</del><span class="cx"> xhr.open("POST", "./resources/content.py", true);
</span><span class="cx"> xhr.send();
</span><span class="cx"> });
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendsyncresponseeventorderexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-sync-response-event-order-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-sync-response-event-order-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-sync-response-event-order-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,3 +1,5 @@
</span><span class="cx">
</span><del>-PASS XMLHttpRequest: The send() method: event order when synchronous flag is set
</del><ins>+FAIL XMLHttpRequest: The send() method: event order when synchronous flag is set assert_array_equals: property 2, expected "load(12,12,true)" but got "load(0,0,false)"
+Recorded events were:1, 4, load(0,0,false), loadend(0,0,false)
+Expected events were:1, 4, load(12,12,true), loadend(12,12,true)
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendsyncresponseeventorderhtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-sync-response-event-order.htm (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-sync-response-event-order.htm        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-sync-response-event-order.htm        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -3,6 +3,7 @@
</span><span class="cx"> <head>
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><ins>+ <script src="resources/xmlhttprequest-event-order.js"></script>
</ins><span class="cx"> <title>XMLHttpRequest: The send() method: event order when synchronous flag is set</title>
</span><span class="cx"> <link rel="help" href="https://xhr.spec.whatwg.org/#handler-xhr-onloadstart" data-tested-assertations="../.." />
</span><span class="cx"> <link rel="help" href="https://xhr.spec.whatwg.org/#handler-xhr-onloadend" data-tested-assertations="../.." />
</span><span class="lines">@@ -21,30 +22,13 @@
</span><span class="cx"> <script type="text/javascript">
</span><span class="cx"> test(function () {
</span><span class="cx"> var xhr = new XMLHttpRequest();
</span><del>- var expect = [4, "load", "loadend"];
- var actual = [];
</del><ins>+ prepare_xhr_for_event_order_test(xhr);
</ins><span class="cx">
</span><del>- xhr.onreadystatechange = function()
- {
- if (xhr.readyState == 4)
- {
- actual.push(xhr.readyState);
- }
- };
-
- xhr.onloadstart = function(e){ actual.push(e.type); };
- xhr.onload = function(e){ actual.push(e.type); };
- xhr.onloadend = function(e){ actual.push(e.type); };
-
- xhr.upload.onload = function(e){ actual.push("upload." + e.type); };
- xhr.upload.onloadstart = function(e){ actual.push("upload." + e.type); };
- xhr.upload.onloadend = function(e){ actual.push("upload." + e.type);};
-
</del><span class="cx"> xhr.open("POST", "./resources/content.py", false);
</span><span class="cx"> xhr.send("Test Message");
</span><span class="cx">
</span><span class="cx"> assert_equals(xhr.response, "Test Message");
</span><del>- assert_array_equals(actual, expect);
</del><ins>+ assert_xhr_event_order_matches([1, 4, "load(12,12,true)", "loadend(12,12,true)"]);
</ins><span class="cx"> });
</span><span class="cx"> </script>
</span><span class="cx"> </body>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/w3c-import.log (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/w3c-import.log        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/w3c-import.log        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -36,7 +36,9 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/anonymous-mode-unsupported.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/data-uri.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-abort.htm
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error-order.sub.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-error.sub.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-load.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-loadend.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-loadstart.htm
</span><span class="lines">@@ -43,6 +45,7 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-progress.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-readystate-sync-open.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-readystatechange-loaded.htm
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-timeout-order.htm
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-timeout.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/event-upload-progress.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/folder.txt
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestscommongethostinfosubjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/common/get-host-info.sub.js (0 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/common/get-host-info.sub.js         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/common/get-host-info.sub.js        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+function get_host_info() {
+
+ var HTTP_PORT = '{{ports[http][0]}}';
+ var HTTP_PORT2 = '{{ports[http][1]}}';
+ var HTTPS_PORT = '{{ports[https][0]}}';
+ var ORIGINAL_HOST = '{{host}}';
+ var REMOTE_HOST = (ORIGINAL_HOST === 'localhost') ? '127.0.0.1' : ('www1.' + ORIGINAL_HOST);
+
+ return {
+ HTTP_ORIGIN: 'http://' + ORIGINAL_HOST + ':' + HTTP_PORT,
+ HTTPS_ORIGIN: 'https://' + ORIGINAL_HOST + ':' + HTTPS_PORT,
+ HTTPS_ORIGIN_WITH_CREDS: 'https://foo:bar@' + ORIGINAL_HOST + ':' + HTTPS_PORT,
+ HTTP_ORIGIN_WITH_DIFFERENT_PORT: 'http://' + ORIGINAL_HOST + ':' + HTTP_PORT2,
+ HTTP_REMOTE_ORIGIN: 'http://' + REMOTE_HOST + ':' + HTTP_PORT,
+ HTTP_REMOTE_ORIGIN_WITH_DIFFERENT_PORT: 'http://' + REMOTE_HOST + ':' + HTTP_PORT2,
+ HTTPS_REMOTE_ORIGIN: 'https://' + REMOTE_HOST + ':' + HTTPS_PORT,
+ HTTPS_REMOTE_ORIGIN_WITH_CREDS: 'https://foo:bar@' + REMOTE_HOST + ':' + HTTPS_PORT,
+ };
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestscommonw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/common/w3c-import.log (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/common/w3c-import.log        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/common/w3c-import.log        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -25,6 +25,7 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/common/css-red.txt
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/common/entities.json
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/common/form-submission.py
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/common/get-host-info.sub.js
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/common/large.py
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/common/media.js
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/common/redirect.py
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdominterfacesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -938,23 +938,16 @@
</span><span class="cx"> PASS NamedNodeMap interface: operation setNamedItemNS(Attr)
</span><span class="cx"> PASS NamedNodeMap interface: operation removeNamedItem(DOMString)
</span><span class="cx"> PASS NamedNodeMap interface: operation removeNamedItemNS(DOMString,DOMString)
</span><del>-FAIL Attr interface: existence and properties of interface object assert_equals: prototype of self's property "Attr" is not Function.prototype expected function "function () {
- [native code]
-}" but got function "function Node() {
- [native code]
-}"
</del><ins>+PASS Attr interface: existence and properties of interface object
</ins><span class="cx"> PASS Attr interface object length
</span><span class="cx"> PASS Attr interface object name
</span><del>-FAIL Attr interface: existence and properties of interface prototype object assert_equals: prototype of Attr.prototype is not Object.prototype expected object "[object Object]" but got object "[object NodePrototype]"
</del><ins>+PASS Attr interface: existence and properties of interface prototype object
</ins><span class="cx"> PASS Attr interface: existence and properties of interface prototype object's "constructor" property
</span><span class="cx"> PASS Attr interface: attribute namespaceURI
</span><span class="cx"> PASS Attr interface: attribute prefix
</span><span class="cx"> PASS Attr interface: attribute localName
</span><span class="cx"> PASS Attr interface: attribute name
</span><del>-FAIL Attr interface: attribute nodeName assert_own_property: expected property "nodeName" missing
</del><span class="cx"> PASS Attr interface: attribute value
</span><del>-FAIL Attr interface: attribute nodeValue assert_own_property: expected property "nodeValue" missing
-FAIL Attr interface: attribute textContent assert_own_property: expected property "textContent" missing
</del><span class="cx"> PASS Attr interface: attribute ownerElement
</span><span class="cx"> PASS Attr interface: attribute specified
</span><span class="cx"> PASS Attr must be primary interface of document.querySelector("[id]").attributes[0]
</span><span class="lines">@@ -963,12 +956,73 @@
</span><span class="cx"> PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "prefix" with the proper type (1)
</span><span class="cx"> PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "localName" with the proper type (2)
</span><span class="cx"> PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "name" with the proper type (3)
</span><del>-PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "nodeName" with the proper type (4)
-PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "value" with the proper type (5)
-PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "nodeValue" with the proper type (6)
-PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "textContent" with the proper type (7)
-PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "ownerElement" with the proper type (8)
-PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "specified" with the proper type (9)
</del><ins>+PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "value" with the proper type (4)
+PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "ownerElement" with the proper type (5)
+PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "specified" with the proper type (6)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "ELEMENT_NODE" with the proper type (0)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "ATTRIBUTE_NODE" with the proper type (1)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "TEXT_NODE" with the proper type (2)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "CDATA_SECTION_NODE" with the proper type (3)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "ENTITY_REFERENCE_NODE" with the proper type (4)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "ENTITY_NODE" with the proper type (5)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "PROCESSING_INSTRUCTION_NODE" with the proper type (6)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "COMMENT_NODE" with the proper type (7)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "DOCUMENT_NODE" with the proper type (8)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "DOCUMENT_TYPE_NODE" with the proper type (9)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "DOCUMENT_FRAGMENT_NODE" with the proper type (10)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "NOTATION_NODE" with the proper type (11)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "nodeType" with the proper type (12)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "nodeName" with the proper type (13)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "baseURI" with the proper type (14)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "isConnected" with the proper type (15)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "ownerDocument" with the proper type (16)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "parentNode" with the proper type (17)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "parentElement" with the proper type (18)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "hasChildNodes" with the proper type (19)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "childNodes" with the proper type (20)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "firstChild" with the proper type (21)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "lastChild" with the proper type (22)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "previousSibling" with the proper type (23)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "nextSibling" with the proper type (24)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "nodeValue" with the proper type (25)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "textContent" with the proper type (26)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "normalize" with the proper type (27)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "cloneNode" with the proper type (28)
+PASS Node interface: calling cloneNode(boolean) on document.querySelector("[id]").attributes[0] with too few arguments must throw TypeError
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "isEqualNode" with the proper type (29)
+PASS Node interface: calling isEqualNode(Node) on document.querySelector("[id]").attributes[0] with too few arguments must throw TypeError
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "isSameNode" with the proper type (30)
+PASS Node interface: calling isSameNode(Node) on document.querySelector("[id]").attributes[0] with too few arguments must throw TypeError
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "DOCUMENT_POSITION_DISCONNECTED" with the proper type (31)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "DOCUMENT_POSITION_PRECEDING" with the proper type (32)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "DOCUMENT_POSITION_FOLLOWING" with the proper type (33)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "DOCUMENT_POSITION_CONTAINS" with the proper type (34)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "DOCUMENT_POSITION_CONTAINED_BY" with the proper type (35)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" with the proper type (36)
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "compareDocumentPosition" with the proper type (37)
+PASS Node interface: calling compareDocumentPosition(Node) on document.querySelector("[id]").attributes[0] with too few arguments must throw TypeError
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "contains" with the proper type (38)
+PASS Node interface: calling contains(Node) on document.querySelector("[id]").attributes[0] with too few arguments must throw TypeError
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "lookupPrefix" with the proper type (39)
+PASS Node interface: calling lookupPrefix(DOMString) on document.querySelector("[id]").attributes[0] with too few arguments must throw TypeError
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "lookupNamespaceURI" with the proper type (40)
+PASS Node interface: calling lookupNamespaceURI(DOMString) on document.querySelector("[id]").attributes[0] with too few arguments must throw TypeError
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "isDefaultNamespace" with the proper type (41)
+PASS Node interface: calling isDefaultNamespace(DOMString) on document.querySelector("[id]").attributes[0] with too few arguments must throw TypeError
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "insertBefore" with the proper type (42)
+PASS Node interface: calling insertBefore(Node,Node) on document.querySelector("[id]").attributes[0] with too few arguments must throw TypeError
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "appendChild" with the proper type (43)
+PASS Node interface: calling appendChild(Node) on document.querySelector("[id]").attributes[0] with too few arguments must throw TypeError
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "replaceChild" with the proper type (44)
+PASS Node interface: calling replaceChild(Node,Node) on document.querySelector("[id]").attributes[0] with too few arguments must throw TypeError
+PASS Node interface: document.querySelector("[id]").attributes[0] must inherit property "removeChild" with the proper type (45)
+PASS Node interface: calling removeChild(Node) on document.querySelector("[id]").attributes[0] with too few arguments must throw TypeError
+PASS EventTarget interface: document.querySelector("[id]").attributes[0] must inherit property "addEventListener" with the proper type (0)
+PASS EventTarget interface: calling addEventListener(DOMString,EventListener,[object Object],[object Object]) on document.querySelector("[id]").attributes[0] with too few arguments must throw TypeError
+PASS EventTarget interface: document.querySelector("[id]").attributes[0] must inherit property "removeEventListener" with the proper type (1)
+PASS EventTarget interface: calling removeEventListener(DOMString,EventListener,[object Object],[object Object]) on document.querySelector("[id]").attributes[0] with too few arguments must throw TypeError
+PASS EventTarget interface: document.querySelector("[id]").attributes[0] must inherit property "dispatchEvent" with the proper type (2)
+PASS EventTarget interface: calling dispatchEvent(Event) on document.querySelector("[id]").attributes[0] with too few arguments must throw TypeError
</ins><span class="cx"> PASS CharacterData interface: existence and properties of interface object
</span><span class="cx"> PASS CharacterData interface object length
</span><span class="cx"> PASS CharacterData interface object name
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdominterfaceshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -395,15 +395,12 @@
</span><span class="cx">
</span><span class="cx">
</span><span class="cx"> [Exposed=Window]
</span><del>-interface Attr {
</del><ins>+interface Attr : Node {
</ins><span class="cx"> readonly attribute DOMString? namespaceURI;
</span><span class="cx"> readonly attribute DOMString? prefix;
</span><span class="cx"> readonly attribute DOMString localName;
</span><span class="cx"> readonly attribute DOMString name;
</span><del>- readonly attribute DOMString nodeName; // historical alias of .name
</del><span class="cx"> attribute DOMString value;
</span><del>- [TreatNullAs=EmptyString] attribute DOMString nodeValue; // historical alias of .value
- [TreatNullAs=EmptyString] attribute DOMString textContent; // historical alias of .value
</del><span class="cx">
</span><span class="cx"> readonly attribute Element? ownerElement;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,5 +1,4 @@
</span><span class="cx">
</span><del>-FAIL AttrExodus assert_false: should not be a Node expected false got true
</del><span class="cx"> PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER_ERR exception is to be thrown. (setAttribute)
</span><span class="cx"> PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER_ERR exception is to be thrown, even if the attribute is already present. (setAttribute)
</span><span class="cx"> PASS setAttribute should lowercase its name argument (upper case attribute)
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesattributeshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -20,23 +20,6 @@
</span><span class="cx"> var XML = "http://www.w3.org/XML/1998/namespace"
</span><span class="cx"> var XMLNS = "http://www.w3.org/2000/xmlns/"
</span><span class="cx">
</span><del>-// AttrExodus
-test(function() {
- document.body.setAttribute("abc", "pass")
- var attr = document.body.attributes[0]
- assert_true(attr instanceof Attr, "should be an Attr")
- assert_false(attr instanceof Node, "should not be a Node")
- var removed_members = [
- "appendChild",
- "insertBefore",
- "childNodes",
- ]
- removed_members.forEach(function(m) {
- assert_false(m in attr, m + " should not be supported")
- })
- assert_equals(attr.value, "pass")
-}, "AttrExodus")
-
</del><span class="cx"> // setAttribute exhaustive tests
</span><span class="cx"> // Step 1
</span><span class="cx"> test(function() {
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkeracceptNodefilterhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-acceptNode-filter.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-acceptNode-filter.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-acceptNode-filter.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <html>
</span><span class="cx"> <!--
</span><del>-Test adapted from https://mxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/acceptNode-filter.js
</del><ins>+Test adapted from https://dxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/acceptNode-filter.js
</ins><span class="cx"> -->
</span><span class="cx"> <head>
</span><span class="cx"> <title>TreeWalker: acceptNode-filter</title>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkerbasichtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-basic.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-basic.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-basic.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <html>
</span><span class="cx"> <!--
</span><del>-Test adapted from https://mxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/TreeWalker-basic.html
</del><ins>+Test adapted from https://dxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/TreeWalker-basic.html
</ins><span class="cx"> -->
</span><span class="cx"> <head>
</span><span class="cx"> <title>TreeWalker: Basic test</title>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkercurrentNodehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-currentNode.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-currentNode.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-currentNode.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <html>
</span><span class="cx"> <!--
</span><del>-Test adapted from https://mxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/resources/TreeWalker-currentNode.js
</del><ins>+Test adapted from https://dxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/resources/TreeWalker-currentNode.js
</ins><span class="cx"> -->
</span><span class="cx"> <head>
</span><span class="cx"> <title>TreeWalker: currentNode</title>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkerpreviousNodeLastChildRejecthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <html>
</span><span class="cx"> <!--
</span><del>-Test adapted from https://mxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/previousNodeLastChildReject.js
</del><ins>+Test adapted from https://dxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/previousNodeLastChildReject.js
</ins><span class="cx"> -->
</span><span class="cx"> <head>
</span><span class="cx"> <title>TreeWalker: previousNodeLastChildReject</title>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkerpreviousSiblingLastChildSkiphtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <html>
</span><span class="cx"> <!--
</span><del>-Test adapted from https://mxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/previousSiblingLastChildSkip.js
</del><ins>+Test adapted from https://dxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/previousSiblingLastChildSkip.js
</ins><span class="cx"> -->
</span><span class="cx"> <head>
</span><span class="cx"> <title>TreeWalker: previousSiblingLastChildSkip</title>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkertraversalrejecthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-reject.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-reject.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-reject.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <html>
</span><span class="cx"> <!--
</span><del>-Test adapted from https://mxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/traversal-reject.js
</del><ins>+Test adapted from https://dxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/traversal-reject.js
</ins><span class="cx"> -->
</span><span class="cx"> <head>
</span><span class="cx"> <title>TreeWalker: traversal-reject</title>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkertraversalskipmosthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-skip-most.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-skip-most.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-skip-most.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <html>
</span><span class="cx"> <!--
</span><del>-Test adapted from https://mxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/traversal-skip-most.js
</del><ins>+Test adapted from https://dxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/traversal-skip-most.js
</ins><span class="cx"> -->
</span><span class="cx"> <head>
</span><span class="cx"> <title>TreeWalker: traversal-skip-most</title>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkertraversalskiphtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-skip.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-skip.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-skip.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <html>
</span><span class="cx"> <!--
</span><del>-Test adapted from https://mxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/traversal-skip.js
</del><ins>+Test adapted from https://dxr.mozilla.org/chromium/source/src/third_party/WebKit/LayoutTests/fast/dom/TreeWalker/script-tests/traversal-skip.js
</ins><span class="cx"> -->
</span><span class="cx"> <head>
</span><span class="cx"> <title>TreeWalker: traversal-skip</title>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomparsingw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/w3c-import.log (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/w3c-import.log        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/domparsing/w3c-import.log        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -16,9 +16,11 @@
</span><span class="cx"> ------------------------------------------------------------------------
</span><span class="cx"> List of files:
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/domparsing/DOMParser-parseFromString-html.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/domparsing/DOMParser-parseFromString-xml-doctype.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/domparsing/OWNERS
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/domparsing/createContextualFragment.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-01.xhtml
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-02.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-03.xhtml
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-04.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-05.xhtml
</span><span class="lines">@@ -25,9 +27,10 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-06.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/domparsing/innerhtml-07.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/domparsing/insert-adjacent.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/domparsing/insert_adjacent_html-xhtml.xhtml
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/domparsing/insert_adjacent_html.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/domparsing/insert_adjacent_html.js
</span><del>-/LayoutTests/imported/w3c/web-platform-tests/domparsing/insert_adjacent_html.xhtml
</del><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/domparsing/outerhtml-01.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/domparsing/outerhtml-02.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/domparsing/style_attribute_html.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/domparsing/xml-serialization.xhtml
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicschemeaboutexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,6 +1,8 @@
</span><span class="cx">
</span><del>-FAIL Fetching about:blank is OK promise_test: Unhandled rejection with value: object "TypeError: Type error"
-FAIL Fetching about:unicorn is OK promise_test: Unhandled rejection with value: object "TypeError: Type error"
</del><ins>+FAIL Fetching about:blank (GET) is OK promise_test: Unhandled rejection with value: object "TypeError: Type error"
+FAIL Fetching about:blank (PUT) is OK promise_test: Unhandled rejection with value: object "TypeError: Type error"
+FAIL Fetching about:blank (POST) is OK promise_test: Unhandled rejection with value: object "TypeError: Type error"
</ins><span class="cx"> PASS Fetching about:invalid.com is KO
</span><span class="cx"> PASS Fetching about:config is KO
</span><ins>+PASS Fetching about:unicorn is KO
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicschemeaboutworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about-worker-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about-worker-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about-worker-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,6 +1,8 @@
</span><span class="cx">
</span><del>-FAIL Fetching about:blank is OK promise_test: Unhandled rejection with value: object "TypeError: Type error"
-FAIL Fetching about:unicorn is OK promise_test: Unhandled rejection with value: object "TypeError: Type error"
</del><ins>+FAIL Fetching about:blank (GET) is OK promise_test: Unhandled rejection with value: object "TypeError: Type error"
+FAIL Fetching about:blank (PUT) is OK promise_test: Unhandled rejection with value: object "TypeError: Type error"
+FAIL Fetching about:blank (POST) is OK promise_test: Unhandled rejection with value: object "TypeError: Type error"
</ins><span class="cx"> PASS Fetching about:invalid.com is KO
</span><span class="cx"> PASS Fetching about:config is KO
</span><ins>+PASS Fetching about:unicorn is KO
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapibasicschemeaboutjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about.js (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about.js        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about.js        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -3,27 +3,25 @@
</span><span class="cx"> importScripts("../resources/utils.js");
</span><span class="cx"> }
</span><span class="cx">
</span><del>-var unicorn = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2361 1572" fill="hotpink"><path d="m1648 1570c-42-12 6-93 55-94 46 0 50-10 46-123-5-122-7-126-119-202-81-55-145-128-175-201-12-30-26-59-31-63s-58-4-119 0c-70 6-131 5-170-2-59-10-84-21-220-93-68-36-72-37-145-31-41 4-100 11-131 17-55 10-57 12-62 47-16 95 3 152 49 152 14 0 29 8 34 19 14 25 13 101-0 101-12 0-60-46-60-58 0-4-17-18-38-31l-38-23-2-115c-1-64 2-124 8-133s24-21 42-25c59-12 128-37 128-46 0-5-4-9-10-9-14 0-28-30-45-95-12-47-13-69-3-124 11-62 10-71-10-109-12-23-22-50-22-60s-7-27-15-37c-18-23-19-18-5 24 8 24 7 50-5 110-10 48-14 96-10 120 8 47-9 72-48 72-40 0-66-26-77-81-6-28-30-88-53-133-23-45-45-88-48-96-4-8-22-20-41-26-26-9-34-17-34-36 0-22 4-24 37-21l37 3-9-33c-12-43-6-47 31-20l30 22 26-20c14-11 39-38 55-61 39-53 63-62 139-49 46 8 64 8 75-2 8-7 15-8 15-4-0 15-14 30-34 37-37 14-6 19 44 7 49-12 53-11 90 15 28 19 48 26 69 23 37-6 29 10-16 28-19 8-32
19-28 24 4 6 15 5 30-2 18-8 35-7 71 5 27 9 58 16 71 16 32 0 29 17-7 35-16 9-30 17-30 20 0 2 22 2 49-2 44-5 52-3 96 31 27 20 54 34 62 32 25-10 14 4-16 19-16 8-39 15-50 15-29 0-26 16 20 87 45 68 96 101 189 123 149 35 239 59 268 71 27 12 36 11 67-4 21-10 41-29 47-45 23-59 39-78 80-101 60-32 141-27 175 12 23 28 25 34 43 178 15 118 36 182 72 224 28 32 35 35 90 35 75 0 125-21 167-68l33-37-17 40c-16 41-65 98-100 117-11 6-42 17-70 24l-50 12 62 1c48 0 72-5 116-28 50-25 55-26 45-8-17 33-98 115-136 139-29 18-51 22-113 22-71 1-80-2-115-30-21-17-86-28-99-128-7-56 0-176 0-176s18-102-6-175c-19-57-81-86-123-20-19 30-43 60-54 67-18 12-18 13 6 59 34 67 38 144 14 260l-20 95 24 35c13 20 40 51 59 70 40 38 41 50 29 252-6 92-9 107-25 111-10 3-19 12-19 20s-7 18-17 20c-32 10-87 15-105 10zm-1228-1255c0-18-2-19-16-8-12 10-13 15-3 21 18 11 18 11 18-13zm743 1151c-12-5-23-14-23-20 0-17 57-69 76-69 21 0 130-65 167-99 47-43 36-101-38-198-30-39-73-148-63-158 2-2 30-5 63-7l60-3 32 60c41 77 38 69 63 145 40 11
5 41 112-31 166-34 27-79 62-98 79-20 17-43 34-53 38-10 3-22 17-27 30-5 14-13 27-17 29-19 12-90 16-111 7zm-913-440c0-23 28-113 44-145 6-11 32-51 57-90 26-39 50-81 53-95 5-21 22-30 103-59 53-19 102-36 108-38 6-2 18 11 27 30l16 34-92 28c-105 32-126 47-161 122-16 34-35 58-50 63-32 13-40 42-22 85l15 36-37 25c-45 30-62 31-62 4zm-48-843c-41-18-25-52 19-39 21 6 23 10 14 28-9 17-15 19-33 11zm-74-25c-28-6-31-32-4-32 13 0 26 4 29 8 8 13-8 28-25 24zm-78-37c0-9 6-12 15-9 19 7 19 24 0 24-8 0-15-7-15-15zm-50-15c0-5 7-7 15-4 19 7 19 14 0 14-8 0-15-4-15-10z"/></svg>';
-
-function checkFetchResponse(url, data, mime, desc) {
</del><ins>+function checkFetchResponse(url, method, desc) {
</ins><span class="cx"> if (!desc) {
</span><del>- var cut = (url.length >= 45) ? "[...]" : "";
- desc = "Fetching " + url.substring(0, 45) + cut + " is OK"
</del><ins>+ var cut = (url.length >= 40) ? "[...]" : "";
+ cut += " (" + method + ")"
+ desc = "Fetching " + url.substring(0, 40) + cut + " is OK"
</ins><span class="cx"> }
</span><span class="cx"> promise_test(function(test) {
</span><del>- return fetch(url).then(function(resp) {
</del><ins>+ return fetch(url, { method: method }).then(function(resp) {
</ins><span class="cx"> assert_equals(resp.status, 200, "HTTP status is 200");
</span><span class="cx"> assert_equals(resp.type, "basic", "response type is basic");
</span><del>- assert_equals(resp.headers.get("Content-Type"), mime, "Content-Type is " + resp.headers.get("Content-Type"));
</del><ins>+ assert_equals(resp.headers.get("Content-Type"), "text/html;charset=utf-8", "Content-Type is " + resp.headers.get("Content-Type"));
</ins><span class="cx"> return resp.text();
</span><del>- }).then(function(bodyAsText) {
- assert_equals(bodyAsText, data, "Response's body is " + data);
</del><span class="cx"> })
</span><span class="cx"> }, desc);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-checkFetchResponse("about:blank", "", "text/html;charset=utf-8");
-checkFetchResponse("about:unicorn", unicorn, "image/svg+xml");
</del><ins>+checkFetchResponse("about:blank", "GET");
+checkFetchResponse("about:blank", "PUT");
+checkFetchResponse("about:blank", "POST");
</ins><span class="cx">
</span><span class="cx"> function checkKoUrl(url, desc) {
</span><span class="cx"> if (!desc)
</span><span class="lines">@@ -36,5 +34,6 @@
</span><span class="cx">
</span><span class="cx"> checkKoUrl("about:invalid.com");
</span><span class="cx"> checkKoUrl("about:config");
</span><ins>+checkKoUrl("about:unicorn");
</ins><span class="cx">
</span><span class="cx"> done();
</span></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 (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/w3c-import.log        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/w3c-import.log        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -27,6 +27,9 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-same-origin-worker.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-same-origin.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-same-origin.js
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/referrer-worker.html
+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/referrer.html
+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/referrer.js
</ins><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></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorscookiesjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies.js (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies.js        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies.js        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -39,9 +39,9 @@
</span><span class="cx"> //clean cookies
</span><span class="cx"> return fetch(urlSetCookie + urlCleanParameters, {"credentials": "include"});
</span><span class="cx"> }).catch(function(e) {
</span><del>- return fetch(urlSetCookie + urlCleanParameters, {"credentials": "include"}).then(function(resp) {
- throw e;
- })
</del><ins>+ return fetch(urlSetCookie + urlCleanParameters, {"credentials": "include"}).then(function(resp) {
+ throw e;
+ })
</ins><span class="cx"> });
</span><span class="cx"> }, desc);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorsredirectjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect.js (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect.js        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect.js        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -14,7 +14,7 @@
</span><span class="cx">
</span><span class="cx"> var requestInit = {"mode": "cors", "redirect": "follow"};
</span><span class="cx">
</span><del>- promise_test(function(test) {
</del><ins>+ return promise_test(function(test) {
</ins><span class="cx"> fetch(RESOURCES_DIR + "clean-stash.py?token=" + uuid_token).then(function(resp) {
</span><span class="cx"> return fetch(url + urlParameters, requestInit).then(function(resp) {
</span><span class="cx"> assert_equals(resp.status, 200, "Response's status is 200");
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapiheadersheadersbasicexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/headers/headers-basic-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/headers/headers-basic-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/headers/headers-basic-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -6,7 +6,7 @@
</span><span class="cx"> PASS Create headers with 1 should throw
</span><span class="cx"> PASS Create headers with sequence
</span><span class="cx"> PASS Create headers with OpenEndedDictionary
</span><del>-PASS Create headers whith existing headers
</del><ins>+PASS Create headers with existing headers
</ins><span class="cx"> PASS Check append method
</span><span class="cx"> PASS Check set method
</span><span class="cx"> PASS Check has method
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapiheadersheadersbasichtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/headers/headers-basic.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/headers/headers-basic.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/headers/headers-basic.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -66,7 +66,7 @@
</span><span class="cx"> assert_equals(headers2.get(name), String(headerDict[name]),
</span><span class="cx"> "name: " + name + " has value: " + headerDict[name]);
</span><span class="cx"> }
</span><del>- }, "Create headers whith existing headers");
</del><ins>+ }, "Create headers with existing headers");
</ins><span class="cx">
</span><span class="cx"> test(function() {
</span><span class="cx"> var headers = new Headers();
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapiredirectw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/w3c-import.log (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/w3c-import.log        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/w3c-import.log        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -27,4 +27,7 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-mode-worker.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-mode.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-mode.js
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-origin-worker.html
+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-origin.html
+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-origin.js
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-schemes.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapirequestrequestcacheexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -37,12 +37,12 @@
</span><span class="cx"> PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with date and fresh response
</span><span class="cx"> PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and stale response
</span><span class="cx"> PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with date and stale response
</span><del>-FAIL RequestCache "no-store" mode does not check the cache for previously cached content and goes to the network regardless with Etag and stale response assert_equals: expected (undefined) undefined but got (string) "\"0.9287170582472863\""
-FAIL RequestCache "no-store" mode does not check the cache for previously cached content and goes to the network regardless with date and stale response assert_equals: expected (undefined) undefined but got (string) "Tue, 02 Aug 2016 10:05:20 GMT"
</del><ins>+FAIL RequestCache "no-store" mode does not check the cache for previously cached content and goes to the network regardless with Etag and stale response assert_equals: expected (undefined) undefined but got (string) "\"0.11339741344180754\""
+FAIL RequestCache "no-store" mode does not check the cache for previously cached content and goes to the network regardless with date and stale response assert_equals: expected (undefined) undefined but got (string) "Fri, 26 Aug 2016 08:23:55 GMT"
</ins><span class="cx"> FAIL RequestCache "no-store" mode does not check the cache for previously cached content and goes to the network regardless with Etag and fresh response assert_equals: expected 2 but got 1
</span><span class="cx"> FAIL RequestCache "no-store" mode does not check the cache for previously cached content and goes to the network regardless with date and fresh response assert_equals: expected 2 but got 1
</span><del>-FAIL RequestCache "no-store" mode does not store the response in the cache with Etag and stale response assert_equals: expected (undefined) undefined but got (string) "\"0.08585050505689817\""
-FAIL RequestCache "no-store" mode does not store the response in the cache with date and stale response assert_equals: expected (undefined) undefined but got (string) "Tue, 02 Aug 2016 10:05:20 GMT"
</del><ins>+FAIL RequestCache "no-store" mode does not store the response in the cache with Etag and stale response assert_equals: expected (undefined) undefined but got (string) "\"0.08040045229791004\""
+FAIL RequestCache "no-store" mode does not store the response in the cache with date and stale response assert_equals: expected (undefined) undefined but got (string) "Fri, 26 Aug 2016 08:23:55 GMT"
</ins><span class="cx"> FAIL RequestCache "no-store" mode does not store the response in the cache with Etag and fresh response assert_equals: expected 2 but got 1
</span><span class="cx"> FAIL RequestCache "no-store" mode does not store the response in the cache with date and fresh response assert_equals: expected 2 but got 1
</span><span class="cx"> PASS RequestCache "default" mode with an If-Modified-Since header is treated similarly to "no-store" with Etag and stale response
</span><span class="lines">@@ -89,8 +89,8 @@
</span><span class="cx"> PASS Responses with the "Cache-Control: no-store" header are not stored in the cache with date and stale response
</span><span class="cx"> PASS Responses with the "Cache-Control: no-store" header are not stored in the cache with Etag and fresh response
</span><span class="cx"> PASS Responses with the "Cache-Control: no-store" header are not stored in the cache with date and fresh response
</span><del>-FAIL RequestCache "reload" mode does not check the cache for previously cached content and goes to the network regardless with Etag and stale response assert_equals: expected (undefined) undefined but got (string) "\"0.6811605903969123\""
-FAIL RequestCache "reload" mode does not check the cache for previously cached content and goes to the network regardless with date and stale response assert_equals: expected (undefined) undefined but got (string) "Tue, 02 Aug 2016 10:05:20 GMT"
</del><ins>+FAIL RequestCache "reload" mode does not check the cache for previously cached content and goes to the network regardless with Etag and stale response assert_equals: expected (undefined) undefined but got (string) "\"0.8827320119852241\""
+FAIL RequestCache "reload" mode does not check the cache for previously cached content and goes to the network regardless with date and stale response assert_equals: expected (undefined) undefined but got (string) "Fri, 26 Aug 2016 08:23:55 GMT"
</ins><span class="cx"> FAIL RequestCache "reload" mode does not check the cache for previously cached content and goes to the network regardless with Etag and fresh response assert_equals: expected 2 but got 1
</span><span class="cx"> FAIL RequestCache "reload" mode does not check the cache for previously cached content and goes to the network regardless with date and fresh response assert_equals: expected 2 but got 1
</span><span class="cx"> PASS RequestCache "reload" mode does store the response in the cache with Etag and stale response
</span><span class="lines">@@ -97,8 +97,8 @@
</span><span class="cx"> PASS RequestCache "reload" mode does store the response in the cache with date and stale response
</span><span class="cx"> PASS RequestCache "reload" mode does store the response in the cache with Etag and fresh response
</span><span class="cx"> PASS RequestCache "reload" mode does store the response in the cache with date and fresh response
</span><del>-FAIL RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with Etag and stale response assert_equals: expected (undefined) undefined but got (string) "\"0.8124005052523855\""
-FAIL RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with date and stale response assert_equals: expected (undefined) undefined but got (string) "Tue, 02 Aug 2016 10:05:20 GMT"
</del><ins>+FAIL RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with Etag and stale response assert_equals: expected (undefined) undefined but got (string) "\"0.48179460674978747\""
+FAIL RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with date and stale response assert_equals: expected (undefined) undefined but got (string) "Fri, 26 Aug 2016 08:23:55 GMT"
</ins><span class="cx"> FAIL RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with Etag and fresh response assert_equals: expected 2 but got 1
</span><span class="cx"> FAIL RequestCache "reload" mode does store the response in the cache even if a previous response is already stored with date and fresh response assert_equals: expected 2 but got 1
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlbrowsershistorythelocationinterfacesecurity_location_0subhtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -11,13 +11,17 @@
</span><span class="cx"> <body>
</span><span class="cx"> <p>Access location object from different origins doesn't raise SECURITY_ERR exception</p>
</span><span class="cx"> <div id=log></div>
</span><ins>+ <script src="/common/get-host-info.sub.js"></script>
</ins><span class="cx"> <script>
</span><span class="cx"> var runTest = async_test("Accessing location object from different origins doesn't raise SECURITY_ERR exception").step_func_done(function() {
</span><span class="cx"> var frame = document.getElementById('testframe');
</span><span class="cx"> frame.setAttribute('onload', '');
</span><del>- frame.contentWindow.location = 'http://{{domains[www1]}}:{{ports[http][0]}}/'
</del><ins>+ frame.contentWindow.location = get_host_info().HTTP_REMOTE_ORIGIN + "/";
</ins><span class="cx"> });
</span><span class="cx"> </script>
</span><del>- <iframe id='testframe' src="http://{{domains[www]}}:{{ports[http][0]}}/" onload="runTest()">Test Frame</iframe>
</del><ins>+ <iframe id='testframe' onload="runTest()">Test Frame</iframe>
+ <script>
+ document.getElementById('testframe').setAttribute('src', get_host_info().HTTP_REMOTE_ORIGIN + '/');
+ </script>
</ins><span class="cx"> </body>
</span><span class="cx"> </html>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlbrowsersthewindowobjectsecuritywindowwindowsecuritysubhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -12,10 +12,9 @@
</span><span class="cx"> <link rel="help" href="http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface" />
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><ins>+<script src="/common/get-host-info.sub.js"></script>
</ins><span class="cx"> <div id="log"></div>
</span><del>-<iframe id="fr" src="http://{{domains[www1]}}:{{ports[http][0]}}/" onload="fr_load()" style="display:none"></iframe>
</del><span class="cx"> <script>
</span><del>-
</del><span class="cx"> var t = async_test("Window Security testing");
</span><span class="cx">
</span><span class="cx"> function fr_load() {
</span><span class="lines">@@ -192,3 +191,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> </script>
</span><ins>+<iframe id="fr" onload="fr_load()" style="display:none"></iframe>
+<script>
+document.getElementById('fr').setAttribute('src', get_host_info().HTTP_REMOTE_ORIGIN + "/");
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlbrowserswindowsnestedbrowsingcontextsframeElementsubhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/nested-browsing-contexts/frameElement.sub.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/nested-browsing-contexts/frameElement.sub.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/nested-browsing-contexts/frameElement.sub.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -4,6 +4,7 @@
</span><span class="cx"> <link rel="author" title="Intel" href="http://www.intel.com/" />
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><ins>+<script src="/common/get-host-info.sub.js"></script>
</ins><span class="cx"> <script>
</span><span class="cx">
</span><span class="cx"> var t1 = async_test("The window's frameElement attribute must return its container element if it is a nested browsing context");
</span><span class="lines">@@ -58,7 +59,7 @@
</span><span class="cx"> <script>
</span><span class="cx">
</span><span class="cx"> setup(function () {
</span><del>- var src_base = "http://{{domains[www1]}}:{{ports[http][0]}}";
</del><ins>+ var src_base = get_host_info().HTTP_REMOTE_ORIGIN;
</ins><span class="cx"> src_base += document.location.pathname.substring(0, document.location.pathname.lastIndexOf("/") + 1);
</span><span class="cx"> document.getElementById("fr2").src = src_base + "test.html";
</span><span class="cx"> document.getElementById("fr5").src = src_base + "testcase3.html";
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlbrowserswindowstargetingcrossoriginnestedbrowsingcontextssubexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,6 +1,5 @@
</span><del>-Blocked access to external URL http://www2.localhost:8800/html/browsers/windows/support-nested-browsing-contexts.html
</del><ins>+CONSOLE MESSAGE: line 19: Unsafe JavaScript attempt to initiate navigation for frame with URL 'about:blank' from frame with URL 'http://localhost:8800/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html'. The frame attempting navigation is neither same-origin with the target, nor is it the target's parent or opener.
</ins><span class="cx">
</span><del>-Harness Error (TIMEOUT), message = null
</del><span class="cx">
</span><del>-TIMEOUT Targeting nested browsing contexts Test timed out
</del><ins>+PASS Targeting nested browsing contexts
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlbrowserswindowstargetingcrossoriginnestedbrowsingcontextssubhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -7,6 +7,7 @@
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> </head>
</span><span class="cx"> <body>
</span><ins>+ <script src="/common/get-host-info.sub.js"></script>
</ins><span class="cx"> <script>
</span><span class="cx"> async_test(function (t) {
</span><span class="cx"> var windowsToClose = [];
</span><span class="lines">@@ -30,7 +31,7 @@
</span><span class="cx">
</span><span class="cx"> var a = document.body.appendChild(document.createElement('a'));
</span><span class="cx"> a.target = "openee";
</span><del>- a.href = "http://{{domains[www2]}}:{{location[port]}}/html/browsers/windows/support-nested-browsing-contexts.html";
</del><ins>+ a.href = get_host_info().HTTP_REMOTE_ORIGIN + "/html/browsers/windows/support-nested-browsing-contexts.html";
</ins><span class="cx"> a.click();
</span><span class="cx"> });
</span><span class="cx"> </script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdatasetexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dataset-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dataset-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dataset-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,6 +1,9 @@
</span><span class="cx">
</span><ins>+PASS HTML elements should have a .dataset
</ins><span class="cx"> PASS Should return 'undefined' before setting an attribute
</span><span class="cx"> PASS Should return 'value' if that's the value
</span><span class="cx"> PASS Should return the empty string if that's the value
</span><span class="cx"> PASS Should return 'undefined' after removing an attribute
</span><ins>+PASS Should not have a .dataset on random elements
+PASS SVG elements should have a .dataset
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdatasethtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dataset.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dataset.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dataset.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><span class="cx"> <!DOCTYPE html>
</span><del>-<title>dataset: should return 'undefined' for non-existent properties</title>
</del><ins>+<title>dataset: should exist and work on HTML and SVG elements, but not random elements</title>
</ins><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="lines">@@ -7,6 +7,9 @@
</span><span class="cx"> <script>
</span><span class="cx"> var div = document.createElement("div");
</span><span class="cx"> test(function() {
</span><ins>+ assert_true(div.dataset instanceof DOMStringMap);
+}, "HTML elements should have a .dataset");
+test(function() {
</ins><span class="cx"> assert_false("foo" in div.dataset);
</span><span class="cx"> assert_equals(div.dataset.foo, undefined);
</span><span class="cx"> }, "Should return 'undefined' before setting an attribute")
</span><span class="lines">@@ -25,4 +28,11 @@
</span><span class="cx"> assert_false("foo" in div.dataset);
</span><span class="cx"> assert_equals(div.dataset.foo, undefined);
</span><span class="cx"> }, "Should return 'undefined' after removing an attribute")
</span><ins>+test(function() {
+ assert_equals(document.createElementNS("test", "test").dataset, undefined);
+}, "Should not have a .dataset on random elements");
+test(function() {
+ var svg = document.createElementNS("http://www.w3.org/2000/svg", "svg")
+ assert_true(svg.dataset instanceof DOMStringMap);
+}, "SVG elements should have a .dataset");
</ins><span class="cx"> </script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsformsjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements-forms.js (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements-forms.js        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements-forms.js        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -105,7 +105,7 @@
</span><span class="cx"> // TODO: autocomplete is special.
</span><span class="cx"> // autocomplete: {type: "enum", keywords: ["on", "off"], defaultVal: "on"},
</span><span class="cx"> autofocus: "boolean",
</span><del>- cols: {type: "limited unsigned long", defaultVal: 20},
</del><ins>+ cols: {type: "limited unsigned long with fallback", defaultVal: 20},
</ins><span class="cx"> dirName: "string",
</span><span class="cx"> disabled: "boolean",
</span><span class="cx"> inputMode: {type: "enum", keywords: ["verbatim", "latin", "latin-name", "latin-prose", "full-width-latin", "kana", "katakana", "numeric", "tel", "email", "url"]},
</span><span class="lines">@@ -114,7 +114,7 @@
</span><span class="cx"> placeholder: "string",
</span><span class="cx"> readOnly: "boolean",
</span><span class="cx"> required: "boolean",
</span><del>- rows: {type: "limited unsigned long", defaultVal: 2},
</del><ins>+ rows: {type: "limited unsigned long with fallback", defaultVal: 2},
</ins><span class="cx"> wrap: "string",
</span><span class="cx"> },
</span><span class="cx"> keygen: {
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementstabularjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements-tabular.js (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements-tabular.js        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements-tabular.js        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -20,7 +20,7 @@
</span><span class="cx"> align: "string",
</span><span class="cx"> },
</span><span class="cx"> colgroup: {
</span><del>- span: "limited unsigned long",
</del><ins>+ span: {type: "limited unsigned long with fallback", defaultVal: 1},
</ins><span class="cx">
</span><span class="cx"> // Obsolete
</span><span class="cx"> align: "string",
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx"> },
</span><span class="cx"> col: {
</span><span class="cx"> // Conforming
</span><del>- span: "limited unsigned long",
</del><ins>+ span: {type: "limited unsigned long with fallback", defaultVal: 1},
</ins><span class="cx">
</span><span class="cx"> // Obsolete
</span><span class="cx"> align: "string",
</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 (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -5692,38 +5692,6 @@
</span><span class="cx"> PASS WebSocket interface: operation send(Blob)
</span><span class="cx"> PASS WebSocket interface: operation send(ArrayBuffer)
</span><span class="cx"> PASS WebSocket interface: operation send(ArrayBufferView)
</span><del>-PASS WebSocket must be primary interface of new WebSocket("ws://foo")
-PASS Stringification of new WebSocket("ws://foo")
-PASS WebSocket interface: new WebSocket("ws://foo") must inherit property "url" with the proper type (0)
-PASS WebSocket interface: new WebSocket("ws://foo") must inherit property "CONNECTING" with the proper type (1)
-PASS WebSocket interface: new WebSocket("ws://foo") must inherit property "OPEN" with the proper type (2)
-PASS WebSocket interface: new WebSocket("ws://foo") must inherit property "CLOSING" with the proper type (3)
-PASS WebSocket interface: new WebSocket("ws://foo") must inherit property "CLOSED" with the proper type (4)
-PASS WebSocket interface: new WebSocket("ws://foo") must inherit property "readyState" with the proper type (5)
-PASS WebSocket interface: new WebSocket("ws://foo") must inherit property "bufferedAmount" with the proper type (6)
-PASS WebSocket interface: new WebSocket("ws://foo") must inherit property "onopen" with the proper type (7)
-PASS WebSocket interface: new WebSocket("ws://foo") must inherit property "onerror" with the proper type (8)
-PASS WebSocket interface: new WebSocket("ws://foo") must inherit property "onclose" with the proper type (9)
-PASS WebSocket interface: new WebSocket("ws://foo") must inherit property "extensions" with the proper type (10)
-PASS WebSocket interface: new WebSocket("ws://foo") must inherit property "protocol" with the proper type (11)
-PASS WebSocket interface: new WebSocket("ws://foo") must inherit property "close" with the proper type (12)
-PASS WebSocket interface: calling close(unsigned short,USVString) on new WebSocket("ws://foo") with too few arguments must throw TypeError
-PASS WebSocket interface: new WebSocket("ws://foo") must inherit property "onmessage" with the proper type (13)
-PASS WebSocket interface: new WebSocket("ws://foo") must inherit property "binaryType" with the proper type (14)
-PASS WebSocket interface: new WebSocket("ws://foo") must inherit property "send" with the proper type (15)
-PASS WebSocket interface: calling send(USVString) on new WebSocket("ws://foo") with too few arguments must throw TypeError
-PASS WebSocket interface: new WebSocket("ws://foo") must inherit property "send" with the proper type (16)
-PASS WebSocket interface: calling send(Blob) on new WebSocket("ws://foo") with too few arguments must throw TypeError
-PASS WebSocket interface: new WebSocket("ws://foo") must inherit property "send" with the proper type (17)
-PASS WebSocket interface: calling send(ArrayBuffer) on new WebSocket("ws://foo") with too few arguments must throw TypeError
-PASS WebSocket interface: new WebSocket("ws://foo") must inherit property "send" with the proper type (18)
-PASS WebSocket interface: calling send(ArrayBufferView) on new WebSocket("ws://foo") with too few arguments must throw TypeError
-PASS EventTarget interface: new WebSocket("ws://foo") must inherit property "addEventListener" with the proper type (0)
-PASS EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on new WebSocket("ws://foo") with too few arguments must throw TypeError
-PASS EventTarget interface: new WebSocket("ws://foo") must inherit property "removeEventListener" with the proper type (1)
-PASS EventTarget interface: calling removeEventListener(DOMString,EventListener,boolean) on new WebSocket("ws://foo") with too few arguments must throw TypeError
-PASS EventTarget interface: new WebSocket("ws://foo") must inherit property "dispatchEvent" with the proper type (2)
-PASS EventTarget interface: calling dispatchEvent(Event) on new WebSocket("ws://foo") with too few arguments must throw TypeError
</del><span class="cx"> PASS CloseEvent interface: existence and properties of interface object
</span><span class="cx"> PASS CloseEvent interface object length
</span><span class="cx"> PASS CloseEvent 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 (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -3374,7 +3374,8 @@
</span><span class="cx"> PeerConnection: [],
</span><span class="cx"> MediaStreamEvent: [],
</span><span class="cx"> ErrorEvent: [],
</span><del>- WebSocket: ['new WebSocket("ws://foo")'],
</del><ins>+// WEBKIT Hack: we disable this WebSocket test to limit flakiness. We should remove that hack asap. See https://bugs.webkit.org/show_bug.cgi?id=161142.
+// WebSocket: ['new WebSocket("ws://foo")'],
</ins><span class="cx"> CloseEvent: ['new CloseEvent("close")'],
</span><span class="cx"> AbstractWorker: [],
</span><span class="cx"> Worker: [],
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomreflectionformsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -12901,8 +12901,9 @@
</span><span class="cx"> PASS textarea.cols: setAttribute() to object "2" followed by IDL get
</span><span class="cx"> PASS textarea.cols: setAttribute() to object "3" followed by getAttribute()
</span><span class="cx"> PASS textarea.cols: setAttribute() to object "3" followed by IDL get
</span><del>-FAIL textarea.cols: IDL set to 0 must throw INDEX_SIZE_ERR assert_throws: function "function () {
- idlObj[idlName] = idlTests[..." did not throw
</del><ins>+PASS textarea.cols: IDL set to 0 should not throw
+PASS textarea.cols: IDL set to 0 followed by getAttribute()
+PASS textarea.cols: IDL set to 0 followed by IDL get
</ins><span class="cx"> PASS textarea.cols: IDL set to 1 should not throw
</span><span class="cx"> PASS textarea.cols: IDL set to 1 followed by getAttribute()
</span><span class="cx"> PASS textarea.cols: IDL set to 1 followed by IDL get
</span><span class="lines">@@ -13960,8 +13961,9 @@
</span><span class="cx"> PASS textarea.rows: setAttribute() to object "2" followed by IDL get
</span><span class="cx"> PASS textarea.rows: setAttribute() to object "3" followed by getAttribute()
</span><span class="cx"> PASS textarea.rows: setAttribute() to object "3" followed by IDL get
</span><del>-FAIL textarea.rows: IDL set to 0 must throw INDEX_SIZE_ERR assert_throws: function "function () {
- idlObj[idlName] = idlTests[..." did not throw
</del><ins>+PASS textarea.rows: IDL set to 0 should not throw
+PASS textarea.rows: IDL set to 0 followed by getAttribute()
+PASS textarea.rows: IDL set to 0 followed by IDL get
</ins><span class="cx"> PASS textarea.rows: IDL set to 1 should not throw
</span><span class="cx"> PASS textarea.rows: IDL set to 1 followed by getAttribute()
</span><span class="cx"> PASS textarea.rows: IDL set to 1 followed by IDL get
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomreflectiontabularexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-tabular-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-tabular-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-tabular-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -2729,8 +2729,9 @@
</span><span class="cx"> PASS colgroup.span: setAttribute() to object "2" followed by IDL get
</span><span class="cx"> PASS colgroup.span: setAttribute() to object "3" followed by getAttribute()
</span><span class="cx"> PASS colgroup.span: setAttribute() to object "3" followed by IDL get
</span><del>-FAIL colgroup.span: IDL set to 0 must throw INDEX_SIZE_ERR assert_throws: function "function () {
- idlObj[idlName] = idlTests[..." did not throw
</del><ins>+PASS colgroup.span: IDL set to 0 should not throw
+PASS colgroup.span: IDL set to 0 followed by getAttribute()
+PASS colgroup.span: IDL set to 0 followed by IDL get
</ins><span class="cx"> PASS colgroup.span: IDL set to 1 should not throw
</span><span class="cx"> PASS colgroup.span: IDL set to 1 followed by getAttribute()
</span><span class="cx"> PASS colgroup.span: IDL set to 1 followed by IDL get
</span><span class="lines">@@ -3825,8 +3826,9 @@
</span><span class="cx"> PASS col.span: setAttribute() to object "2" followed by IDL get
</span><span class="cx"> PASS col.span: setAttribute() to object "3" followed by getAttribute()
</span><span class="cx"> PASS col.span: setAttribute() to object "3" followed by IDL get
</span><del>-FAIL col.span: IDL set to 0 must throw INDEX_SIZE_ERR assert_throws: function "function () {
- idlObj[idlName] = idlTests[..." did not throw
</del><ins>+PASS col.span: IDL set to 0 should not throw
+PASS col.span: IDL set to 0 followed by getAttribute()
+PASS col.span: IDL set to 0 followed by IDL get
</ins><span class="cx"> PASS col.span: IDL set to 1 should not throw
</span><span class="cx"> PASS col.span: IDL set to 1 followed by getAttribute()
</span><span class="cx"> PASS col.span: IDL set to 1 followed by IDL get
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomreflectionjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection.js (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection.js        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection.js        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -462,6 +462,46 @@
</span><span class="cx"> "idlDomExpected": [null/*exception*/, 1, maxInt, null, null]
</span><span class="cx"> },
</span><span class="cx"> /**
</span><ins>+ * "If a reflecting IDL attribute has an unsigned integer type (unsigned
+ * long) that is limited to only non-negative numbers greater than zero
+ * with fallback, then the behaviour is similar to the previous case, but
+ * disallowed values are converted to the default value. On getting, the
+ * content attribute must first be parsed according to the rules for
+ * parsing non-negative integers, and if that is successful, and the value
+ * is in the range 1 to 2147483647 inclusive, the resulting value must be
+ * returned. If, on the other hand, it fails or returns an out of range
+ * value, or if the attribute is absent, the default value must be returned
+ * instead. On setting, first, if the new value is in the range 1 to
+ * 2147483647, then let n be the new value, otherwise let n be the default
+ * value; then, n must be converted to the shortest possible string
+ * representing the number as a valid non-negative integer and that string
+ * must be used as the new content attribute value."
+ */
+ "limited unsigned long with fallback": {
+ "jsType": "number",
+ "domTests": [minInt - 1, minInt, -36, -1, 0, 1, maxInt,
+ maxInt + 1, maxUnsigned, maxUnsigned + 1, "", "-1", "-0", "0", "1",
+ "\u00097", "\u000B7", "\u000C7", "\u00207", "\u00A07", "\uFEFF7",
+ "\u000A7", "\u000D7", "\u20287", "\u20297", "\u16807", "\u180E7",
+ "\u20007", "\u20017", "\u20027", "\u20037", "\u20047", "\u20057",
+ "\u20067", "\u20077", "\u20087", "\u20097", "\u200A7", "\u202F7",
+ "\u30007",
+ " " + binaryString + " foo ", undefined, 1.5, true, false,
+ {"test": 6}, NaN, +Infinity, -Infinity, "\0",
+ {toString:function() {return 2;}, valueOf: null},
+ {valueOf:function() {return 3;}}],
+ "domExpected": function(val) {
+ var parsed = ReflectionTests.parseNonneg(String(val));
+ // Note maxInt, not maxUnsigned.
+ if (parsed === false || parsed < 1 || parsed > maxInt) {
+ return null;
+ }
+ return parsed;
+ },
+ "idlTests": [0, 1, maxInt, maxInt + 1, maxUnsigned],
+ "idlDomExpected": [null, 1, maxInt, null, null]
+ },
+ /**
</ins><span class="cx"> * "If a reflecting IDL attribute is a floating point number type (double),
</span><span class="cx"> * then, on getting, the content attribute must be parsed according to the
</span><span class="cx"> * rules for parsing floating point number values, and if that is
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathebaseelementbase_href_specifiedsubhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_specified.sub.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_specified.sub.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_specified.sub.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -5,7 +5,8 @@
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-base-element">
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><del>-<base id="base" href="http://{{domains[www]}}:{{ports[http][0]}}">
</del><ins>+<script src="/common/get-host-info.sub.js"></script>
+<base id="base">
</ins><span class="cx"> <div id="log"></div>
</span><span class="cx"> <img id="test" src="test.ico" style="display:none">
</span><span class="cx">
</span><span class="lines">@@ -13,16 +14,20 @@
</span><span class="cx"> var testElement;
</span><span class="cx"> var baseElement;
</span><span class="cx">
</span><ins>+ var otherOrigin = get_host_info().HTTP_REMOTE_ORIGIN;
+
</ins><span class="cx"> setup(function() {
</span><span class="cx"> testElement = document.getElementById("test");
</span><span class="cx"> baseElement = document.getElementById("base");
</span><ins>+
+ baseElement.setAttribute("href", otherOrigin);
</ins><span class="cx"> });
</span><span class="cx">
</span><span class="cx"> test(function() {
</span><del>- assert_equals(baseElement.href, "http://{{domains[www]}}:{{ports[http][0]}}/", "The href attribute of the base element is incorrect.");
</del><ins>+ assert_equals(baseElement.href, otherOrigin + "/", "The href attribute of the base element is incorrect.");
</ins><span class="cx"> }, "The href attribute of the base element is specified");
</span><span class="cx">
</span><span class="cx"> test(function() {
</span><del>- assert_equals(testElement.src, "http://{{domains[www]}}:{{ports[http][0]}}/test.ico", "The src attribute of the img element is incorrect.");
</del><ins>+ assert_equals(testElement.src, otherOrigin + "/test.ico", "The src attribute of the img element is incorrect.");
</ins><span class="cx"> }, "The src attribute of the img element must relative to the href attribute of the base element");
</span><span class="cx"> </script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementdocumentwithoutbrowsingcontextexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/document-without-browsing-context-expected.txt (205076 => 205077)</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        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/document-without-browsing-context-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><span class="cx">
</span><span class="cx"> PASS Create a document, adopt the node
</span><del>-PASS Create a stylesheet in innerHTML document
</del><ins>+FAIL Create a stylesheet in innerHTML document assert_equals: expected "1" but got "0"
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementlinkloadeventhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-load-event.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-load-event.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-load-event.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -10,12 +10,9 @@
</span><span class="cx"> document.getElementById('style_test').onload = t.step_func(function() {
</span><span class="cx"> saw_link_onload = true;
</span><span class="cx"> });
</span><del>-window.addEventListener('load', function() {
- t.step_func(function() {
- assert_true(saw_link_onload);
- });
- t.done();
-}, false);
</del><ins>+window.addEventListener('load', t.step_func_done(function() {
+ assert_true(saw_link_onload);
+}));
</ins><span class="cx"> </script>
</span><span class="cx"> </head>
</span><span class="cx"> </html>
</span></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 (205076 => 205077)</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-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,8 +1,6 @@
</span><span class="cx"> CONSOLE MESSAGE: Did not parse stylesheet at 'http://localhost:8800/common/css-red.txt' because non CSS MIME types are not allowed in strict mode.
</span><span class="cx">
</span><del>-Harness Error (TIMEOUT), message = null
-
</del><span class="cx"> PASS Should get an error event for a 404 error.
</span><span class="cx"> PASS Should get an error event for an unsupported URL.
</span><del>-TIMEOUT Should get an error event for a text/plain response. Test timed out
</del><ins>+FAIL Should get an error event for a text/plain response. assert_unreached: load event should not be fired Reached unreachable code
</ins><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 (205076 => 205077)</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-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -40,6 +40,7 @@
</span><span class="cx"> assert_true(true, "Got error event for 404 error.")
</span><span class="cx"> tText.done()
</span><span class="cx"> })
</span><ins>+ elt.onload = tText.unreached_func("load event should not be fired");
</ins><span class="cx"> elt.rel = "stylesheet";
</span><span class="cx"> elt.href = "../../../../../common/css-red.txt";
</span><span class="cx"> document.getElementsByTagName("head")[0].appendChild(elt);
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritydrawImagecanvassubexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.canvas.sub-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.canvas.sub-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.canvas.sub-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,8 +1,7 @@
</span><del>-Blocked access to external URL http://www2.localhost:8800/images/yellow.png
-Blocked access to external URL http://www2.localhost:8800/images/yellow.png
</del><ins>+CONSOLE MESSAGE: line 30: Unable to get image data from canvas because the canvas has been tainted by cross-origin data.
</ins><span class="cx"> security.drawImage.canvas.sub
</span><span class="cx"> drawImage of unclean canvas makes the canvas origin-unclean
</span><span class="cx"> Actual output:
</span><span class="cx">
</span><del>-FAIL drawImage of unclean canvas makes the canvas origin-unclean assert_throws: function "function () { canvas.toDataURL(); }" did not throw
</del><ins>+PASS drawImage of unclean canvas makes the canvas origin-unclean
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritydrawImagecanvassubhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.canvas.sub.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.canvas.sub.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.canvas.sub.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -3,6 +3,7 @@
</span><span class="cx"> <title>Canvas test: security.drawImage.canvas.sub</title>
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><ins>+<script src="/common/get-host-info.sub.js"></script>
</ins><span class="cx"> <script src="/common/canvas-tests.js"></script>
</span><span class="cx"> <link rel="stylesheet" href="/common/canvas-tests.css">
</span><span class="cx"> <body class="show_output">
</span><span class="lines">@@ -31,5 +32,7 @@
</span><span class="cx">
</span><span class="cx"> });
</span><span class="cx"> </script>
</span><del>-<img src="http://{{domains[www2]}}:{{ports[http][0]}}/images/yellow.png" id="yellow.png" class="resource">
-
</del><ins>+<img id="yellow.png" class="resource">
+<script>
+document.getElementById('yellow.png').setAttribute("src", get_host_info().HTTP_REMOTE_ORIGIN + "/images/yellow.png");
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritydrawImageimagesubexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.image.sub-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.image.sub-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.image.sub-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,8 +1,7 @@
</span><del>-Blocked access to external URL http://www2.localhost:8800/images/yellow.png
-Blocked access to external URL http://www2.localhost:8800/images/yellow.png
</del><ins>+CONSOLE MESSAGE: line 25: Unable to get image data from canvas because the canvas has been tainted by cross-origin data.
</ins><span class="cx"> security.drawImage.image.sub
</span><span class="cx"> drawImage of different-origin image makes the canvas origin-unclean
</span><span class="cx"> Actual output:
</span><span class="cx">
</span><del>-FAIL drawImage of different-origin image makes the canvas origin-unclean assert_throws: function "function () { canvas.toDataURL(); }" did not throw
</del><ins>+PASS drawImage of different-origin image makes the canvas origin-unclean
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritydrawImageimagesubhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.image.sub.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.image.sub.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.drawImage.image.sub.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -3,6 +3,7 @@
</span><span class="cx"> <title>Canvas test: security.drawImage.image.sub</title>
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><ins>+<script src="/common/get-host-info.sub.js"></script>
</ins><span class="cx"> <script src="/common/canvas-tests.js"></script>
</span><span class="cx"> <link rel="stylesheet" href="/common/canvas-tests.css">
</span><span class="cx"> <body class="show_output">
</span><span class="lines">@@ -26,5 +27,7 @@
</span><span class="cx">
</span><span class="cx"> });
</span><span class="cx"> </script>
</span><del>-<img src="http://{{domains[www2]}}:{{ports[http][0]}}/images/yellow.png" id="yellow.png" class="resource">
-
</del><ins>+<img id="yellow.png" class="resource">
+<script>
+document.getElementById('yellow.png').setAttribute("src", get_host_info().HTTP_REMOTE_ORIGIN + "/images/yellow.png");
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncanvasfillStylesubexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.fillStyle.sub-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.fillStyle.sub-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.fillStyle.sub-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,8 +1,7 @@
</span><del>-Blocked access to external URL http://www2.localhost:8800/images/yellow.png
-Blocked access to external URL http://www2.localhost:8800/images/yellow.png
</del><ins>+CONSOLE MESSAGE: line 32: Unable to get image data from canvas because the canvas has been tainted by cross-origin data.
</ins><span class="cx"> security.pattern.canvas.fillStyle.sub
</span><span class="cx"> Setting fillStyle to a pattern of an unclean canvas makes the canvas origin-unclean
</span><span class="cx"> Actual output:
</span><span class="cx">
</span><del>-FAIL Setting fillStyle to a pattern of an unclean canvas makes the canvas origin-unclean assert_throws: function "function () { canvas.toDataURL(); }" did not throw
</del><ins>+PASS Setting fillStyle to a pattern of an unclean canvas makes the canvas origin-unclean
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncanvasfillStylesubhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.fillStyle.sub.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.fillStyle.sub.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.fillStyle.sub.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -3,6 +3,7 @@
</span><span class="cx"> <title>Canvas test: security.pattern.canvas.fillStyle.sub</title>
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><ins>+<script src="/common/get-host-info.sub.js"></script>
</ins><span class="cx"> <script src="/common/canvas-tests.js"></script>
</span><span class="cx"> <link rel="stylesheet" href="/common/canvas-tests.css">
</span><span class="cx"> <body class="show_output">
</span><span class="lines">@@ -33,5 +34,7 @@
</span><span class="cx">
</span><span class="cx"> });
</span><span class="cx"> </script>
</span><del>-<img src="http://{{domains[www2]}}:{{ports[http][0]}}/images/yellow.png" id="yellow.png" class="resource">
-
</del><ins>+<img id="yellow.png" class="resource">
+<script>
+document.getElementById('yellow.png').setAttribute("src", get_host_info().HTTP_REMOTE_ORIGIN + "/images/yellow.png");
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncanvasstrokeStylesubexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.strokeStyle.sub-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.strokeStyle.sub-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.strokeStyle.sub-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,8 +1,7 @@
</span><del>-Blocked access to external URL http://www2.localhost:8800/images/yellow.png
-Blocked access to external URL http://www2.localhost:8800/images/yellow.png
</del><ins>+CONSOLE MESSAGE: line 32: Unable to get image data from canvas because the canvas has been tainted by cross-origin data.
</ins><span class="cx"> security.pattern.canvas.strokeStyle.sub
</span><span class="cx"> Setting strokeStyle to a pattern of an unclean canvas makes the canvas origin-unclean
</span><span class="cx"> Actual output:
</span><span class="cx">
</span><del>-FAIL Setting strokeStyle to a pattern of an unclean canvas makes the canvas origin-unclean assert_throws: function "function () { canvas.toDataURL(); }" did not throw
</del><ins>+PASS Setting strokeStyle to a pattern of an unclean canvas makes the canvas origin-unclean
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncanvasstrokeStylesubhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.strokeStyle.sub.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.strokeStyle.sub.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.strokeStyle.sub.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -3,6 +3,7 @@
</span><span class="cx"> <title>Canvas test: security.pattern.canvas.strokeStyle.sub</title>
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><ins>+<script src="/common/get-host-info.sub.js"></script>
</ins><span class="cx"> <script src="/common/canvas-tests.js"></script>
</span><span class="cx"> <link rel="stylesheet" href="/common/canvas-tests.css">
</span><span class="cx"> <body class="show_output">
</span><span class="lines">@@ -33,5 +34,7 @@
</span><span class="cx">
</span><span class="cx"> });
</span><span class="cx"> </script>
</span><del>-<img src="http://{{domains[www2]}}:{{ports[http][0]}}/images/yellow.png" id="yellow.png" class="resource">
-
</del><ins>+<img id="yellow.png" class="resource">
+<script>
+document.getElementById('yellow.png').setAttribute("src", get_host_info().HTTP_REMOTE_ORIGIN + "/images/yellow.png");
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncanvastimingsubexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.timing.sub-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.timing.sub-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.timing.sub-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,5 +1,3 @@
</span><del>-Blocked access to external URL http://www2.localhost:8800/images/yellow.png
-Blocked access to external URL http://www2.localhost:8800/images/yellow.png
</del><span class="cx"> security.pattern.canvas.timing.sub
</span><span class="cx"> Pattern safety depends on whether the source was origin-clean, not on whether it still is clean
</span><span class="cx"> Disagrees with spec on "is" vs "was"
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncanvastimingsubhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.timing.sub.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.timing.sub.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.timing.sub.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -3,6 +3,7 @@
</span><span class="cx"> <title>Canvas test: security.pattern.canvas.timing.sub</title>
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><ins>+<script src="/common/get-host-info.sub.js"></script>
</ins><span class="cx"> <script src="/common/canvas-tests.js"></script>
</span><span class="cx"> <link rel="stylesheet" href="/common/canvas-tests.css">
</span><span class="cx"> <body class="show_output">
</span><span class="lines">@@ -36,5 +37,7 @@
</span><span class="cx">
</span><span class="cx"> });
</span><span class="cx"> </script>
</span><del>-<img src="http://{{domains[www2]}}:{{ports[http][0]}}/images/yellow.png" id="yellow.png" class="resource">
-
</del><ins>+<img id="yellow.png" class="resource">
+<script>
+document.getElementById('yellow.png').setAttribute("src", get_host_info().HTTP_REMOTE_ORIGIN + "/images/yellow.png");
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncreatesubexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.create.sub-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.create.sub-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.create.sub-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,5 +1,3 @@
</span><del>-Blocked access to external URL http://www.localhost:8800/images/yellow.png
-Blocked access to external URL http://www.localhost:8800/images/yellow.png
</del><span class="cx"> security.pattern.create.sub
</span><span class="cx"> Creating an unclean pattern does not make the canvas origin-unclean
</span><span class="cx"> Actual output:
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncreatesubhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.create.sub.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.create.sub.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.create.sub.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -3,6 +3,7 @@
</span><span class="cx"> <title>Canvas test: security.pattern.create.sub</title>
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><ins>+<script src="/common/get-host-info.sub.js"></script>
</ins><span class="cx"> <script src="/common/canvas-tests.js"></script>
</span><span class="cx"> <link rel="stylesheet" href="/common/canvas-tests.css">
</span><span class="cx"> <body class="show_output">
</span><span class="lines">@@ -27,5 +28,7 @@
</span><span class="cx">
</span><span class="cx"> });
</span><span class="cx"> </script>
</span><del>-<img src="http://{{domains[www]}}:{{ports[http][0]}}/images/yellow.png" id="yellow.png" class="resource">
-
</del><ins>+<img id="yellow.png" class="resource">
+<script>
+document.getElementById('yellow.png').setAttribute("src", get_host_info().HTTP_REMOTE_ORIGIN + "/images/yellow.png");
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncrosssubexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.cross.sub-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.cross.sub-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.cross.sub-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,8 +1,7 @@
</span><del>-Blocked access to external URL http://www2.localhost:8800/images/yellow.png
-Blocked access to external URL http://www2.localhost:8800/images/yellow.png
</del><ins>+CONSOLE MESSAGE: line 31: Unable to get image data from canvas because the canvas has been tainted by cross-origin data.
</ins><span class="cx"> security.pattern.cross.sub
</span><span class="cx"> Using an unclean pattern makes the target canvas origin-unclean, not the pattern canvas
</span><span class="cx"> Actual output:
</span><span class="cx">
</span><del>-FAIL Using an unclean pattern makes the target canvas origin-unclean, not the pattern canvas assert_throws: function "function () { canvas.toDataURL(); }" did not throw
</del><ins>+PASS Using an unclean pattern makes the target canvas origin-unclean, not the pattern canvas
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatterncrosssubhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.cross.sub.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.cross.sub.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.cross.sub.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -3,6 +3,7 @@
</span><span class="cx"> <title>Canvas test: security.pattern.cross.sub</title>
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><ins>+<script src="/common/get-host-info.sub.js"></script>
</ins><span class="cx"> <script src="/common/canvas-tests.js"></script>
</span><span class="cx"> <link rel="stylesheet" href="/common/canvas-tests.css">
</span><span class="cx"> <body class="show_output">
</span><span class="lines">@@ -34,5 +35,7 @@
</span><span class="cx">
</span><span class="cx"> });
</span><span class="cx"> </script>
</span><del>-<img src="http://{{domains[www2]}}:{{ports[http][0]}}/images/yellow.png" id="yellow.png" class="resource">
-
</del><ins>+<img id="yellow.png" class="resource">
+<script>
+document.getElementById('yellow.png').setAttribute("src", get_host_info().HTTP_REMOTE_ORIGIN + "/images/yellow.png");
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatternimagefillStylesubexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.fillStyle.sub-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.fillStyle.sub-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.fillStyle.sub-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,8 +1,7 @@
</span><del>-Blocked access to external URL http://www2.localhost:8800/images/yellow.png
-Blocked access to external URL http://www2.localhost:8800/images/yellow.png
</del><ins>+CONSOLE MESSAGE: line 27: Unable to get image data from canvas because the canvas has been tainted by cross-origin data.
</ins><span class="cx"> security.pattern.image.fillStyle.sub
</span><span class="cx"> Setting fillStyle to a pattern of a different-origin image makes the canvas origin-unclean
</span><span class="cx"> Actual output:
</span><span class="cx">
</span><del>-FAIL Setting fillStyle to a pattern of a different-origin image makes the canvas origin-unclean assert_throws: function "function () { canvas.toDataURL(); }" did not throw
</del><ins>+PASS Setting fillStyle to a pattern of a different-origin image makes the canvas origin-unclean
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatternimagefillStylesubhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.fillStyle.sub.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.fillStyle.sub.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.fillStyle.sub.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -3,6 +3,7 @@
</span><span class="cx"> <title>Canvas test: security.pattern.image.fillStyle.sub</title>
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><ins>+<script src="/common/get-host-info.sub.js"></script>
</ins><span class="cx"> <script src="/common/canvas-tests.js"></script>
</span><span class="cx"> <link rel="stylesheet" href="/common/canvas-tests.css">
</span><span class="cx"> <body class="show_output">
</span><span class="lines">@@ -28,5 +29,7 @@
</span><span class="cx">
</span><span class="cx"> });
</span><span class="cx"> </script>
</span><del>-<img src="http://{{domains[www2]}}:{{ports[http][0]}}/images/yellow.png" id="yellow.png" class="resource">
-
</del><ins>+<img id="yellow.png" class="resource">
+<script>
+document.getElementById('yellow.png').setAttribute("src", get_host_info().HTTP_REMOTE_ORIGIN + "/images/yellow.png");
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatternimagestrokeStylesubexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.strokeStyle.sub-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.strokeStyle.sub-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.strokeStyle.sub-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,8 +1,7 @@
</span><del>-Blocked access to external URL http://www2.localhost:8800/images/yellow.png
-Blocked access to external URL http://www2.localhost:8800/images/yellow.png
</del><ins>+CONSOLE MESSAGE: line 27: Unable to get image data from canvas because the canvas has been tainted by cross-origin data.
</ins><span class="cx"> security.pattern.image.strokeStyle.sub
</span><span class="cx"> Setting strokeStyle to a pattern of a different-origin image makes the canvas origin-unclean
</span><span class="cx"> Actual output:
</span><span class="cx">
</span><del>-FAIL Setting strokeStyle to a pattern of a different-origin image makes the canvas origin-unclean assert_throws: function "function () { canvas.toDataURL(); }" did not throw
</del><ins>+PASS Setting strokeStyle to a pattern of a different-origin image makes the canvas origin-unclean
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecuritypatternimagestrokeStylesubhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.strokeStyle.sub.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.strokeStyle.sub.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.pattern.image.strokeStyle.sub.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -3,6 +3,7 @@
</span><span class="cx"> <title>Canvas test: security.pattern.image.strokeStyle.sub</title>
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><ins>+<script src="/common/get-host-info.sub.js"></script>
</ins><span class="cx"> <script src="/common/canvas-tests.js"></script>
</span><span class="cx"> <link rel="stylesheet" href="/common/canvas-tests.css">
</span><span class="cx"> <body class="show_output">
</span><span class="lines">@@ -28,5 +29,7 @@
</span><span class="cx">
</span><span class="cx"> });
</span><span class="cx"> </script>
</span><del>-<img src="http://{{domains[www2]}}:{{ports[http][0]}}/images/yellow.png" id="yellow.png" class="resource">
-
</del><ins>+<img id="yellow.png" class="resource">
+<script>
+document.getElementById('yellow.png').setAttribute("src", get_host_info().HTTP_REMOTE_ORIGIN + "/images/yellow.png");
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecurityresetsubexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.reset.sub-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.reset.sub-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.reset.sub-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,8 +1,6 @@
</span><del>-Blocked access to external URL http://www2.localhost:8800/images/yellow.png
-Blocked access to external URL http://www2.localhost:8800/images/yellow.png
</del><span class="cx"> security.reset.sub
</span><span class="cx"> Resetting the canvas state does not reset the origin-clean flag
</span><span class="cx"> Actual output:
</span><span class="cx">
</span><del>-FAIL Resetting the canvas state does not reset the origin-clean flag assert_throws: function "function () { canvas.toDataURL(); }" did not throw
</del><ins>+PASS Resetting the canvas state does not reset the origin-clean flag
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementsecurityresetsubhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.reset.sub.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.reset.sub.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/security.reset.sub.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -3,6 +3,7 @@
</span><span class="cx"> <title>Canvas test: security.reset.sub</title>
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><ins>+<script src="/common/get-host-info.sub.js"></script>
</ins><span class="cx"> <script src="/common/canvas-tests.js"></script>
</span><span class="cx"> <link rel="stylesheet" href="/common/canvas-tests.css">
</span><span class="cx"> <body class="show_output">
</span><span class="lines">@@ -28,5 +29,7 @@
</span><span class="cx">
</span><span class="cx"> });
</span><span class="cx"> </script>
</span><del>-<img src="http://{{domains[www2]}}:{{ports[http][0]}}/images/yellow.png" id="yellow.png" class="resource">
-
</del><ins>+<img id="yellow.png" class="resource">
+<script>
+document.getElementById('yellow.png').setAttribute("src", get_host_info().HTTP_REMOTE_ORIGIN + "/images/yellow.png");
+</script>
</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 (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -3,7 +3,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 "" but got "http://localhost:8800/html/semantics/embedded-content/the-img-element/environment-changes/iframed.sub.html?id=a2d96da2-bd61-463a-b089-cc9ebfe41b10"
</del><ins>+FAIL img (empty src), onload, narrow assert_equals: expected "" but got "http://localhost:8800/html/semantics/embedded-content/the-img-element/environment-changes/iframed.sub.html?id=9b392575-3b6d-4b94-8e72-d78b37de9b04"
</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">@@ -25,7 +25,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 "" but got "http://localhost:8800/html/semantics/embedded-content/the-img-element/environment-changes/iframed.sub.html?id=252fb6ae-4279-4edd-8a78-705bf7ac42ee"
</del><ins>+FAIL img (empty src), onload, wide assert_equals: expected "" but got "http://localhost:8800/html/semantics/embedded-content/the-img-element/environment-changes/iframed.sub.html?id=6582f991-29b6-4383-a304-b36748b784d5"
</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">@@ -35,13 +35,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 "http://localhost:8800/images/broken.png?71-252fb6ae-4279-4edd-8a78-705bf7ac42ee" but got "http://localhost:8800/images/broken.png?70-252fb6ae-4279-4edd-8a78-705bf7ac42ee"
</del><ins>+FAIL picture: source (max-width:500px) broken image, img broken image, onload, wide assert_equals: expected "http://localhost:8800/images/broken.png?71-6582f991-29b6-4383-a304-b36748b784d5" but got "http://localhost:8800/images/broken.png?70-6582f991-29b6-4383-a304-b36748b784d5"
</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 "http://localhost:8800/images/green-2x2.png?81-252fb6ae-4279-4edd-8a78-705bf7ac42ee" but got "http://localhost:8800/images/broken.png?80-252fb6ae-4279-4edd-8a78-705bf7ac42ee"
</del><ins>+FAIL picture: source (max-width:500px) broken image, img valid image, onload, wide assert_equals: expected "http://localhost:8800/images/green-2x2.png?81-6582f991-29b6-4383-a304-b36748b784d5" but got "http://localhost:8800/images/broken.png?80-6582f991-29b6-4383-a304-b36748b784d5"
</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 "http://localhost:8800/images/broken.png?91-252fb6ae-4279-4edd-8a78-705bf7ac42ee" but got "http://localhost:8800/images/green-1x1.png?90-252fb6ae-4279-4edd-8a78-705bf7ac42ee"
</del><ins>+FAIL picture: source (max-width:500px) valid image, img broken image, onload, wide assert_equals: expected "http://localhost:8800/images/broken.png?91-6582f991-29b6-4383-a304-b36748b784d5" but got "http://localhost:8800/images/green-1x1.png?90-6582f991-29b6-4383-a304-b36748b784d5"
</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 "http://localhost:8800/images/green-2x2.png?101-252fb6ae-4279-4edd-8a78-705bf7ac42ee" but got "http://localhost:8800/images/green-1x1.png?100-252fb6ae-4279-4edd-8a78-705bf7ac42ee"
</del><ins>+FAIL picture: source (max-width:500px) valid image, img valid image, onload, wide assert_equals: expected "http://localhost:8800/images/green-2x2.png?101-6582f991-29b6-4383-a304-b36748b784d5" but got "http://localhost:8800/images/green-1x1.png?100-6582f991-29b6-4383-a304-b36748b784d5"
</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="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsconstraintsformvalidationvaliditytooShorthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-tooShort.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-tooShort.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-tooShort.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -24,7 +24,8 @@
</span><span class="cx"> {conditions: {minLength: "4", value: "abcde"}, expected: false, name: "[target] Dirty value - value is greater than minLength", dirty: true},
</span><span class="cx"> {conditions: {minLength: "4", value: "\u0041\u0041\u0041\u0041\u0041"}, expected: false, name: "[target] Dirty value - length of value(AAAAA) in unicode is greater than minLength", dirty: true},
</span><span class="cx"> {conditions: {minLength: "4", value: "abcd"}, expected: false, name: "[target] Dirty value - value equals to minLength", dirty: true},
</span><del>- {conditions: {minLength: "4", value: "abc"}, expected: true, name: "[target] Dirty value - length of value is less than minLength", dirty: true}
</del><ins>+ // False due to lack of required interactive editing by the user
+ {conditions: {minLength: "4", value: "abc"}, expected: false, name: "[target] Dirty value - length of value is less than minLength", dirty: true}
</ins><span class="cx"> ]
</span><span class="cx"> },
</span><span class="cx"> {
</span><span class="lines">@@ -41,7 +42,8 @@
</span><span class="cx"> {conditions: {minLength: "4", value: "abcde"}, expected: false, name: "[target] Dirty value - value is less than minLength", dirty: true},
</span><span class="cx"> {conditions: {minLength: "4", value: "\u000D\u000A\u000D\u000A\u000D\u000A"}, expected: false, name: "[target] Dirty value - length of value(LF, CRLF) in unicode is less than minLength", dirty: true},
</span><span class="cx"> {conditions: {minLength: "4", value: "abcd"}, expected: false, name: "[target] Dirty value - length of value equals to minLength", dirty: true},
</span><del>- {conditions: {minLength: "4", value: "abc"}, expected: true, name: "[target] Dirty value - length of value is greater than minLength", dirty: true}
</del><ins>+ // False due to lack of required interactive editing by the user
+ {conditions: {minLength: "4", value: "abc"}, expected: false, name: "[target] Dirty value - length of value is greater than minLength", dirty: true}
</ins><span class="cx"> ]
</span><span class="cx"> }
</span><span class="cx"> ];
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsinterfacesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -292,5 +292,6 @@
</span><span class="cx"> PASS Interfaces for WBR
</span><span class="cx"> PASS Interfaces for xmp
</span><span class="cx"> PASS Interfaces for XMP
</span><del>-FAIL Interfaces for å-bar The string contains invalid characters.
</del><ins>+FAIL Interfaces for å-bar assert_equals: Element å-bar should have HTMLUnknownElement as its primary interface. expected "[object HTMLUnknownElement]" but got "[object HTMLElement]"
+FAIL Interfaces for Å-BAR assert_equals: Element Å-BAR should have HTMLUnknownElement as its primary interface. expected "[object HTMLUnknownElement]" but got "[object HTMLElement]"
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsinterfaceshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interfaces.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interfaces.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interfaces.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,4 +1,5 @@
</span><span class="cx"> <!DOCTYPE html>
</span><ins>+<meta charset="utf-8">
</ins><span class="cx"> <title>Test of interfaces</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsinterfacesjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interfaces.js (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interfaces.js        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/interfaces.js        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -146,5 +146,5 @@
</span><span class="cx"> ["video", "Video"],
</span><span class="cx"> ["wbr", ""],
</span><span class="cx"> ["xmp", "Pre"],
</span><del>- ["å-bar", "Unknown"], // not a valid custom element name
</del><ins>+ ["\u00E5-bar", "Unknown"], // not a valid custom element name
</ins><span class="cx"> ];
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesvalidinvalidexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/valid-invalid-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/valid-invalid-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/valid-invalid-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -13,6 +13,22 @@
</span><span class="cx"> PASS ':invalid' doesn't match new elements that satisfy their constraints
</span><span class="cx"> PASS ':valid' doesn't match new elements that do not satisfy their constraints
</span><span class="cx"> PASS ':invalid' matches new elements that do not satisfy their constraints
</span><ins>+PASS :valid/:invalid styling for <form>
+PASS empty form correctly styled on page-load
+PASS valid form correctly styled on page-load
+PASS invalid form correctly styled on page-load
+PASS programmatically adding valid to empty form results in correct style
+PASS programmatically adding invalid to empty form results in correct style
+PASS programmatically-invalidated form correctly styled
+PASS programmatically-validated form correctly styled
+PASS :valid/:invalid styling for <fieldset>
+PASS empty fieldset correctly styled on page-load
+PASS valid fieldset correctly styled on page-load
+PASS invalid fieldset correctly styled on page-load
+PASS programmatically adding valid to empty fieldset results in correct style
+PASS programmatically adding invalid to empty fieldset results in correct style
+PASS programmatically-invalidated fieldset correctly styled
+PASS programmatically-validated fieldset correctly styled
</ins><span class="cx">
</span><span class="cx">
</span><span class="cx">
</span><span class="lines">@@ -20,3 +36,10 @@
</span><span class="cx">
</span><span class="cx">
</span><span class="cx">
</span><ins>+
+
+
+
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesvalidinvalidhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/valid-invalid.html (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/valid-invalid.html        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/valid-invalid.html        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -1,4 +1,6 @@
</span><span class="cx"> <!DOCTYPE html>
</span><ins>+<html>
+<head>
</ins><span class="cx"> <meta charset=utf-8>
</span><span class="cx"> <title>Selector: pseudo-classes (:valid, :invalid)</title>
</span><span class="cx"> <link rel="author" title="Denis Ah-Kang" href="mailto:denis@w3.org" id=link1>
</span><span class="lines">@@ -6,6 +8,13 @@
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <script src="utils.js"></script>
</span><ins>+<style>
+ #styleTests form, #styleTests fieldset, #failExample { background-color:red; }
+ #styleTests > :valid, #validExample { background-color:green; }
+ #styleTests > :invalid, #invalidExample { background-color:lime; }
+</style>
+</head>
+<body>
</ins><span class="cx"> <div id="log"></div>
</span><span class="cx"> <div id='simpleConstraints'>
</span><span class="cx"> <input type=text id=text1 value="foobar" required>
</span><span class="lines">@@ -35,7 +44,27 @@
</span><span class="cx"> <input type=number id=number1 value=0 min=1>
</span><span class="cx"> <input type=number id=number2 value=1 min=1>
</span><span class="cx"> </div>
</span><del>-
</del><ins>+<div id='styleTests'>
+ <form>
+ </form>
+ <form>
+ <input type=text min=8 value=4>
+ </form>
+ <form>
+ <input type=number min=8 value=4>
+ </form>
+ <fieldset>
+ </fieldset>
+ <fieldset>
+ <input type=text min=8 value=4>
+ </fieldset>
+ <fieldset>
+ <input type=number min=8 value=4>
+ </fieldset>
+ <div id='validExample'></div>
+ <div id='invalidExample'></div>
+ <div id='failExample'></div>
+</div>
</ins><span class="cx"> <script>
</span><span class="cx"> testSelectorIdsMatch("#simpleConstraints :valid", ["text1"], "':valid' matches elements that satisfy their constraints");
</span><span class="cx">
</span><span class="lines">@@ -65,4 +94,53 @@
</span><span class="cx"> document.getElementById("text8").value="BBB";
</span><span class="cx"> testSelectorIdsMatch("#patternConstraints :valid", ["text7"], "':valid' doesn't match new elements that do not satisfy their constraints");
</span><span class="cx"> testSelectorIdsMatch("#patternConstraints :invalid", ["text8"], "':invalid' matches new elements that do not satisfy their constraints");
</span><ins>+
+ function getBGColor(elem) {
+ return getComputedStyle(elem).backgroundColor;
+ }
+
+ function testStyles(type) {
+ var elems = document.querySelectorAll("#styleTests " + type),
+ empty = elems[0],
+ valid = elems[1],
+ invalid = elems[2],
+ validInput = valid.querySelector("input"),
+ invalidInput = invalid.querySelector("input"),
+ expectedValidBGColor = getBGColor(document.getElementById("validExample")),
+ expectedInvalidBGColor = getBGColor(document.getElementById("invalidExample")),
+ expectedFailBGColor = getBGColor(document.getElementById("failExample"));
+
+ test(function() {
+ assert_equals(getBGColor(empty), expectedValidBGColor, "wrong background-color");
+ }, 'empty ' + type + ' correctly styled on page-load');
+
+ test(function() {
+ assert_equals(getBGColor(valid), expectedValidBGColor, "wrong background-color");
+ }, 'valid ' + type + ' correctly styled on page-load');
+ test(function() {
+ assert_equals(getBGColor(invalid), expectedInvalidBGColor, "wrong background-color");
+ }, 'invalid ' + type + ' correctly styled on page-load');
+
+ test(function() {
+ empty.appendChild(validInput.cloneNode());
+ assert_equals(getBGColor(empty), expectedValidBGColor, "wrong background-color");
+ }, 'programmatically adding valid to empty ' + type + ' results in correct style');
+ test(function() {
+ empty.appendChild(invalidInput.cloneNode());
+ assert_equals(getBGColor(empty), expectedInvalidBGColor, "wrong background-color");
+ }, 'programmatically adding invalid to empty ' + type + ' results in correct style');
+
+ validInput.type = "number";
+ invalidInput.type = "text";
+ test(function() {
+ assert_equals(getBGColor(valid), expectedInvalidBGColor, "wrong background-color");
+ }, 'programmatically-invalidated ' + type + ' correctly styled');
+ test(function() {
+ assert_equals(getBGColor(invalid), expectedValidBGColor, "wrong background-color");
+ }, 'programmatically-validated ' + type + ' correctly styled');
+ }
+ test(testStyles.bind(undefined, "form"), ":valid/:invalid styling for <form>");
+ test(testStyles.bind(undefined, "fieldset"), ":valid/:invalid styling for <fieldset>");
</ins><span class="cx"> </script>
</span><ins>+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestslintwhitelist"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/lint.whitelist (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/lint.whitelist        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/lint.whitelist        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -113,6 +113,8 @@
</span><span class="cx"> # use of console in a public library - annotation-model ensures
</span><span class="cx"> # it is not actually used
</span><span class="cx"> CONSOLE:annotation-model/scripts/ajv.min.js
</span><ins>+CONSOLE:annotation-model/scripts/showdown.min.js
+CR AT EOL: annotation-model/scripts/showdown.min.js
</ins><span class="cx">
</span><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></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsurlw3cimportlog"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/url/w3c-import.log (0 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/url/w3c-import.log         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/url/w3c-import.log        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -0,0 +1,38 @@
</span><ins>+The tests in this directory were imported from the W3C repository.
+Do NOT modify these tests directly in WebKit.
+Instead, create a pull request on the W3C CSS or WPT github:
+        https://github.com/w3c/csswg-test
+        https://github.com/w3c/web-platform-tests
+
+Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
+
+Do NOT modify or remove this file.
+
+------------------------------------------------------------------------
+Properties requiring vendor prefixes:
+None
+Property values requiring vendor prefixes:
+None
+------------------------------------------------------------------------
+List of files:
+/LayoutTests/imported/w3c/web-platform-tests/url/OWNERS
+/LayoutTests/imported/w3c/web-platform-tests/url/README.md
+/LayoutTests/imported/w3c/web-platform-tests/url/a-element-xhtml.xhtml
+/LayoutTests/imported/w3c/web-platform-tests/url/a-element.html
+/LayoutTests/imported/w3c/web-platform-tests/url/a-element.js
+/LayoutTests/imported/w3c/web-platform-tests/url/historical.html
+/LayoutTests/imported/w3c/web-platform-tests/url/historical.worker.js
+/LayoutTests/imported/w3c/web-platform-tests/url/interfaces.html
+/LayoutTests/imported/w3c/web-platform-tests/url/setters_tests.json
+/LayoutTests/imported/w3c/web-platform-tests/url/url-constructor.html
+/LayoutTests/imported/w3c/web-platform-tests/url/url-domainToUnicode.html
+/LayoutTests/imported/w3c/web-platform-tests/url/url-setters.html
+/LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-append.html
+/LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-constructor.html
+/LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-delete.html
+/LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-get.html
+/LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-getall.html
+/LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-has.html
+/LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-set.html
+/LayoutTests/imported/w3c/web-platform-tests/url/urlsearchparams-stringifier.html
+/LayoutTests/imported/w3c/web-platform-tests/url/urltestdata.json
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorimportedw3cwebplatformtestshtmldomreflectionformsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -12901,8 +12901,9 @@
</span><span class="cx"> PASS textarea.cols: setAttribute() to object "2" followed by IDL get
</span><span class="cx"> PASS textarea.cols: setAttribute() to object "3" followed by getAttribute()
</span><span class="cx"> PASS textarea.cols: setAttribute() to object "3" followed by IDL get
</span><del>-FAIL textarea.cols: IDL set to 0 must throw INDEX_SIZE_ERR assert_throws: function "function () {
- idlObj[idlName] = idlTests[..." did not throw
</del><ins>+PASS textarea.cols: IDL set to 0 should not throw
+PASS textarea.cols: IDL set to 0 followed by getAttribute()
+PASS textarea.cols: IDL set to 0 followed by IDL get
</ins><span class="cx"> PASS textarea.cols: IDL set to 1 should not throw
</span><span class="cx"> PASS textarea.cols: IDL set to 1 followed by getAttribute()
</span><span class="cx"> PASS textarea.cols: IDL set to 1 followed by IDL get
</span><span class="lines">@@ -13960,8 +13961,9 @@
</span><span class="cx"> PASS textarea.rows: setAttribute() to object "2" followed by IDL get
</span><span class="cx"> PASS textarea.rows: setAttribute() to object "3" followed by getAttribute()
</span><span class="cx"> PASS textarea.rows: setAttribute() to object "3" followed by IDL get
</span><del>-FAIL textarea.rows: IDL set to 0 must throw INDEX_SIZE_ERR assert_throws: function "function () {
- idlObj[idlName] = idlTests[..." did not throw
</del><ins>+PASS textarea.rows: IDL set to 0 should not throw
+PASS textarea.rows: IDL set to 0 followed by getAttribute()
+PASS textarea.rows: IDL set to 0 followed by IDL get
</ins><span class="cx"> PASS textarea.rows: IDL set to 1 should not throw
</span><span class="cx"> PASS textarea.rows: IDL set to 1 followed by getAttribute()
</span><span class="cx"> PASS textarea.rows: IDL set to 1 followed by IDL get
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorimportedw3cwebplatformtestshtmlsemanticsinterfacesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt (205076 => 205077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt        2016-08-27 10:40:37 UTC (rev 205076)
+++ trunk/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt        2016-08-27 14:31:23 UTC (rev 205077)
</span><span class="lines">@@ -292,5 +292,6 @@
</span><span class="cx"> PASS Interfaces for WBR
</span><span class="cx"> PASS Interfaces for xmp
</span><span class="cx"> PASS Interfaces for XMP
</span><del>-FAIL Interfaces for å-bar The string contains invalid characters.
</del><ins>+FAIL Interfaces for å-bar assert_equals: Element å-bar should have HTMLUnknownElement as its primary interface. expected "[object HTMLUnknownElement]" but got "[object HTMLElement]"
+FAIL Interfaces for Å-BAR assert_equals: Element Å-BAR should have HTMLUnknownElement as its primary interface. expected "[object HTMLUnknownElement]" but got "[object HTMLElement]"
</ins><span class="cx">
</span></span></pre>
</div>
</div>
</body>
</html>