<!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>[279015] 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/279015">279015</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2021-06-17 15:20:37 -0700 (Thu, 17 Jun 2021)</dd>
</dl>

<h3>Log Message</h3>
<pre>Resync DOM WPT tests from upstream
https://bugs.webkit.org/show_bug.cgi?id=227144

Reviewed by Geoffrey Garen.

LayoutTests/imported/w3c:

Resync DOM WPT tests from upstream ec5c1fc86b65142e7b.

* resources/resource-files.json:
* web-platform-tests/dom/*: Updated.
* web-platform-tests/interfaces/dom.idl:

LayoutTests:

* TestExpectations:
* tests-options.json:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsTestExpectations">trunk/LayoutTests/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsimportedw3cChangeLog">trunk/LayoutTests/imported/w3c/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsimportedw3cresourcesresourcefilesjson">trunk/LayoutTests/imported/w3c/resources/resource-files.json</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomaborteventanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/event.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomaborteventanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/event.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomaborteventanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/event.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomabortw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsAddEventListenerOptionssignalanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-signal.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsAddEventListenerOptionssignalanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-signal.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsAddEventListenerOptionssignalanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-signal.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchclickexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-click-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchclickhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-click.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventtimestamphighresolutionexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventtimestamphighresolutionhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomidlharnessanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/idlharness.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomidlharnesswindowexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/idlharness.window-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomidlharnesswindowjs">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/idlharness.window.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodecontainsxmlxml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-contains-xml.xml</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesariaelementreflectiontentativeexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/aria-element-reflection.tentative-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesariaelementreflectiontentativehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/aria-element-reflection.tentative.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesencodingpy">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/encoding.py</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomrangesRangecollapsehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-collapse.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomsvginsertcrashhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/svg-insert-crash.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsinterfacesdomidl">trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/dom.idl</a></li>
<li><a href="#trunkLayoutTestsplatformiosTestExpectations">trunk/LayoutTests/platform/ios/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformmacwk2TestExpectations">trunk/LayoutTests/platform/mac-wk2/TestExpectations</a></li>
<li><a href="#trunkLayoutTeststestsoptionsjson">trunk/LayoutTests/tests-options.json</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomabortAbortSignalanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomabortAbortSignalanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomabortAbortSignalanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomabortAbortSignalanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomabortAbortSignalanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventconstructorsanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventconstructorsanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventconstructorsanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventconstructorsanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventconstructorsanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventtimestamphighresolutionhttpsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution.https-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventtimestamphighresolutionhttpshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution.https.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsdocumentleveltouchmoveeventlistenerpassivebydefaulttentativehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-touchmove-event-listener-passive-by-default.tentative.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsdocumentlevelwheeleventlistenerpassivebydefaulttentativeexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-wheel-event-listener-passive-by-default.tentative-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsdocumentlevelwheeleventlistenerpassivebydefaulttentativehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-wheel-event-listener-passive-by-default.tentative.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventskeypressdispatchcrashhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/keypress-dispatch-crash.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcharacterSetnormalization1expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-1-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcharacterSetnormalization1html">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-1.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcharacterSetnormalization2expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-2-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcharacterSetnormalization2html">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-2.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodescharactersethelperjs">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/characterset-helper.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesnodeappendchildcrashhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/node-appendchild-crash.html</a></li>
<li>trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/</li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomxsltREADMEmd">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/README.md</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomxsltexternalScriptjs">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/externalScript.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomxsltinvalidoutputencodingcrashhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/invalid-output-encoding-crash.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomxslttransformToFragmentonnodefrominactivedocumentcrashhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/transformToFragment-on-node-from-inactive-document-crash.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomxslttransformToFragmenttentativewindowexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/transformToFragment.tentative.window-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomxslttransformToFragmenttentativewindowhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/transformToFragment.tentative.window.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomxslttransformToFragmenttentativewindowjs">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/transformToFragment.tentative.window.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomxsltw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/w3c-import.log</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventconstructorshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsdocumentleveltouchmoveeventlistenerpassivebydefaulthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-touchmove-event-listener-passive-by-default.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsdocumentlevelwheeleventlistenerpassivebydefaulthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-wheel-event-listener-passive-by-default.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcharacterSetnormalizationhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization.html</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog      2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/ChangeLog 2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -1,3 +1,13 @@
</span><ins>+2021-06-17  Chris Dumez  <cdumez@apple.com>
+
+        Resync DOM WPT tests from upstream
+        https://bugs.webkit.org/show_bug.cgi?id=227144
+
+        Reviewed by Geoffrey Garen.
+
+        * TestExpectations:
+        * tests-options.json:
+
</ins><span class="cx"> 2021-06-17  Ryosuke Niwa  <rniwa@webkit.org>
</span><span class="cx"> 
</span><span class="cx">         Crash in WebCore::SlotAssignment::assignedNodesForSlot
</span></span></pre></div>
<a id="trunkLayoutTestsTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/TestExpectations (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/TestExpectations       2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/TestExpectations  2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -202,6 +202,7 @@
</span><span class="cx"> 
</span><span class="cx"> # Only iOS has an implementation of UIScriptController::sendEventStream().
</span><span class="cx"> imported/w3c/web-platform-tests/dom/events/scrolling [ Skip ]
</span><ins>+imported/w3c/web-platform-tests/dom/events/document-level-touchmove-event-listener-passive-by-default.tentative.html [ Skip ]
</ins><span class="cx"> 
</span><span class="cx"> # This test only makes sense on Mac
</span><span class="cx"> fast/attachment/attachment-subtitle-resize.html [ Skip ]
</span><span class="lines">@@ -1024,7 +1025,6 @@
</span><span class="cx"> fast/animation/request-animation-frame-in-two-pages.html [ Skip ]
</span><span class="cx"> 
</span><span class="cx"> # Only supported on iOS
</span><del>-imported/w3c/web-platform-tests/dom/events/document-level-touchmove-event-listener-passive-by-default.html [ Skip ]
</del><span class="cx"> imported/w3c/web-platform-tests/pointerevents [ Skip ]
</span><span class="cx"> pointerevents [ Skip ]
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog 2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/ChangeLog    2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2021-06-17  Chris Dumez  <cdumez@apple.com>
+
+        Resync DOM WPT tests from upstream
+        https://bugs.webkit.org/show_bug.cgi?id=227144
+
+        Reviewed by Geoffrey Garen.
+
+        Resync DOM WPT tests from upstream ec5c1fc86b65142e7b.
+
+        * resources/resource-files.json:
+        * web-platform-tests/dom/*: Updated.
+        * web-platform-tests/interfaces/dom.idl:
+
</ins><span class="cx"> 2021-06-16  Chris Dumez  <cdumez@apple.com>
</span><span class="cx"> 
</span><span class="cx">         Resync FileAPI tests from upstream WPT
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cresourcesresourcefilesjson"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/resources/resource-files.json (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/resources/resource-files.json     2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/resources/resource-files.json        2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -1344,6 +1344,7 @@
</span><span class="cx">         "web-platform-tests/dom/events/EventListener-incumbent-global-subframe-1.sub.html",
</span><span class="cx">         "web-platform-tests/dom/events/EventListener-incumbent-global-subframe-2.sub.html",
</span><span class="cx">         "web-platform-tests/dom/events/EventListener-incumbent-global-subsubframe.sub.html",
</span><ins>+        "web-platform-tests/dom/events/keypress-dispatch-crash.html",
</ins><span class="cx">         "web-platform-tests/dom/events/replace-event-listener-null-browsing-context-crash.html",
</span><span class="cx">         "web-platform-tests/dom/nodes/DOMImplementation-createDocument-with-null-browsing-context-crash.html",
</span><span class="cx">         "web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument-with-null-browsing-context-crash.html",
</span><span class="lines">@@ -1355,6 +1356,7 @@
</span><span class="cx">         "web-platform-tests/dom/nodes/ParentNode-querySelector-All-content.html",
</span><span class="cx">         "web-platform-tests/dom/nodes/ParentNode-querySelector-All-content.xht",
</span><span class="cx">         "web-platform-tests/dom/nodes/getElementsByClassNameFrame.htm",
</span><ins>+        "web-platform-tests/dom/nodes/node-appendchild-crash.html",
</ins><span class="cx">         "web-platform-tests/dom/nodes/query-target-in-load-event.part.html",
</span><span class="cx">         "web-platform-tests/dom/ranges/Range-test-iframe.html",
</span><span class="cx">         "web-platform-tests/dom/traversal/unfinished/001.xml",
</span><span class="lines">@@ -1367,6 +1369,8 @@
</span><span class="cx">         "web-platform-tests/dom/traversal/unfinished/008.xml",
</span><span class="cx">         "web-platform-tests/dom/traversal/unfinished/009.xml",
</span><span class="cx">         "web-platform-tests/dom/traversal/unfinished/010.xml",
</span><ins>+        "web-platform-tests/dom/xslt/invalid-output-encoding-crash.html",
+        "web-platform-tests/dom/xslt/transformToFragment-on-node-from-inactive-document-crash.html",
</ins><span class="cx">         "web-platform-tests/domxpath/001.html",
</span><span class="cx">         "web-platform-tests/domxpath/xml_xpath_tests.xml",
</span><span class="cx">         "web-platform-tests/encoding/legacy-mb-japanese/euc-jp/eucjp_chars-cseucpkdfmtjapanese.html",
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomabortAbortSignalanyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any-expected.txt (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any-expected.txt                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any-expected.txt    2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+PASS the AbortSignal.abort() static returns an already aborted signal
+PASS signal returned by AbortSignal.abort() should not fire abort event
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomabortAbortSignalanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any.html (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any.html                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any.html    2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+<!-- This file is required for WebKit test infrastructure to run the templated test -->
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomabortAbortSignalanyjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any.js (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any.js                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any.js      2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+test(t => {
+  const signal = AbortSignal.abort();
+  assert_true(signal instanceof AbortSignal, "returned object is an AbortSignal");
+  assert_true(signal.aborted, "returned signal is already aborted");
+}, "the AbortSignal.abort() static returns an already aborted signal");
+
+async_test(t => {
+  const s = AbortSignal.abort();
+  s.addEventListener("abort", t.unreached_func("abort event listener called"));
+  s.onabort = t.unreached_func("abort event handler called");
+  t.step_timeout(() => { t.done(); }, 2000);
+}, "signal returned by AbortSignal.abort() should not fire abort event");
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomabortAbortSignalanyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any.worker-expected.txt (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any.worker-expected.txt                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any.worker-expected.txt     2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+PASS the AbortSignal.abort() static returns an already aborted signal
+PASS signal returned by AbortSignal.abort() should not fire abort event
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomabortAbortSignalanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any.worker.html (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any.worker.html                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any.worker.html     2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+<!-- This file is required for WebKit test infrastructure to run the templated test -->
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomaborteventanyexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/event.any-expected.txt (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/event.any-expected.txt       2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/event.any-expected.txt  2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -4,5 +4,4 @@
</span><span class="cx"> PASS controller.abort() should do nothing the second time it is called
</span><span class="cx"> PASS event handler should not be called if added after controller.abort()
</span><span class="cx"> PASS the abort event should have the right properties
</span><del>-PASS the AbortSignal.abort() static returns an already aborted signal
</del><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomaborteventanyjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/event.any.js (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/event.any.js 2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/event.any.js    2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -64,9 +64,4 @@
</span><span class="cx">   controller.abort();
</span><span class="cx"> }, "the abort event should have the right properties");
</span><span class="cx"> 
</span><del>-test(t => {
-  const signal = AbortSignal.abort();
-  assert_true(signal.aborted);
-}, "the AbortSignal.abort() static returns an already aborted signal");
-
</del><span class="cx"> done();
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomaborteventanyworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/event.any.worker-expected.txt (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/event.any.worker-expected.txt        2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/event.any.worker-expected.txt   2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -4,5 +4,4 @@
</span><span class="cx"> PASS controller.abort() should do nothing the second time it is called
</span><span class="cx"> PASS event handler should not be called if added after controller.abort()
</span><span class="cx"> PASS the abort event should have the right properties
</span><del>-PASS the AbortSignal.abort() static returns an already aborted signal
</del><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomabortw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/w3c-import.log (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/w3c-import.log       2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/w3c-import.log  2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -14,4 +14,5 @@
</span><span class="cx"> None
</span><span class="cx"> ------------------------------------------------------------------------
</span><span class="cx"> List of files:
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/abort/AbortSignal.any.js
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/abort/event.any.js
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsAddEventListenerOptionssignalanyexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-signal.any-expected.txt (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-signal.any-expected.txt     2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-signal.any-expected.txt        2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -8,4 +8,5 @@
</span><span class="cx"> PASS Aborting from a listener does not call future listeners
</span><span class="cx"> PASS Adding then aborting a listener in another listener does not call it
</span><span class="cx"> PASS Aborting from a nested listener should remove it
</span><ins>+PASS Passing null as the signal should throw
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsAddEventListenerOptionssignalanyjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-signal.any.js (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-signal.any.js       2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-signal.any.js  2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -131,3 +131,8 @@
</span><span class="cx">   }, { once: true });
</span><span class="cx">   et.dispatchEvent(new Event('foo'));
</span><span class="cx"> }, "Aborting from a nested listener should remove it");
</span><ins>+
+test(function() {
+  const et = new EventTarget();
+  assert_throws_js(TypeError, () => { et.addEventListener("foo", () => {}, { signal: null }); });
+}, "Passing null as the signal should throw");
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsAddEventListenerOptionssignalanyworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-signal.any.worker-expected.txt (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-signal.any.worker-expected.txt      2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-signal.any.worker-expected.txt 2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -8,4 +8,5 @@
</span><span class="cx"> PASS Aborting from a listener does not call future listeners
</span><span class="cx"> PASS Adding then aborting a listener in another listener does not call it
</span><span class="cx"> PASS Aborting from a nested listener should remove it
</span><ins>+PASS Passing null as the signal should throw
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventconstructorsanyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any-expected.txt (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any-expected.txt                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any-expected.txt    2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+
+PASS Event constructors
+PASS Event constructors 1
+PASS Event constructors 2
+PASS Event constructors 3
+PASS Event constructors 4
+PASS Event constructors 5
+PASS Event constructors 6
+PASS Event constructors 7
+PASS Event constructors 8
+PASS Event constructors 9
+PASS Event constructors 10
+PASS Event constructors 11
+PASS Event constructors 12
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventconstructorsanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any.html (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any.html                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any.html    2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+<!-- This file is required for WebKit test infrastructure to run the templated test -->
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventconstructorsanyjsfromrev279014trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventconstructorshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any.js (from rev 279014, trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.html) (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any.js                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any.js      2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,114 @@
</span><ins>+// META: title=Event constructors
+
+test(function() {
+  assert_throws_js(TypeError, function() {
+    new Event()
+  })
+})
+test(function() {
+  var test_error = { name: "test" }
+  assert_throws_exactly(test_error, function() {
+    new Event({ toString: function() { throw test_error; } })
+  })
+})
+test(function() {
+  var ev = new Event("")
+  assert_equals(ev.type, "")
+  assert_equals(ev.target, null)
+  assert_equals(ev.srcElement, null)
+  assert_equals(ev.currentTarget, null)
+  assert_equals(ev.eventPhase, Event.NONE)
+  assert_equals(ev.bubbles, false)
+  assert_equals(ev.cancelable, false)
+  assert_equals(ev.defaultPrevented, false)
+  assert_equals(ev.returnValue, true)
+  assert_equals(ev.isTrusted, false)
+  assert_true(ev.timeStamp > 0)
+  assert_true("initEvent" in ev)
+})
+test(function() {
+  var ev = new Event("test")
+  assert_equals(ev.type, "test")
+  assert_equals(ev.target, null)
+  assert_equals(ev.srcElement, null)
+  assert_equals(ev.currentTarget, null)
+  assert_equals(ev.eventPhase, Event.NONE)
+  assert_equals(ev.bubbles, false)
+  assert_equals(ev.cancelable, false)
+  assert_equals(ev.defaultPrevented, false)
+  assert_equals(ev.returnValue, true)
+  assert_equals(ev.isTrusted, false)
+  assert_true(ev.timeStamp > 0)
+  assert_true("initEvent" in ev)
+})
+test(function() {
+  assert_throws_js(TypeError, function() { Event("test") },
+                   'Calling Event constructor without "new" must throw');
+})
+test(function() {
+  var ev = new Event("I am an event", { bubbles: true, cancelable: false})
+  assert_equals(ev.type, "I am an event")
+  assert_equals(ev.bubbles, true)
+  assert_equals(ev.cancelable, false)
+})
+test(function() {
+  var ev = new Event("@", { bubblesIGNORED: true, cancelable: true})
+  assert_equals(ev.type, "@")
+  assert_equals(ev.bubbles, false)
+  assert_equals(ev.cancelable, true)
+})
+test(function() {
+  var ev = new Event("@", { "bubbles\0IGNORED": true, cancelable: true})
+  assert_equals(ev.type, "@")
+  assert_equals(ev.bubbles, false)
+  assert_equals(ev.cancelable, true)
+})
+test(function() {
+  var ev = new Event("Xx", { cancelable: true})
+  assert_equals(ev.type, "Xx")
+  assert_equals(ev.bubbles, false)
+  assert_equals(ev.cancelable, true)
+})
+test(function() {
+  var ev = new Event("Xx", {})
+  assert_equals(ev.type, "Xx")
+  assert_equals(ev.bubbles, false)
+  assert_equals(ev.cancelable, false)
+})
+test(function() {
+  var ev = new Event("Xx", {bubbles: true, cancelable: false, sweet: "x"})
+  assert_equals(ev.type, "Xx")
+  assert_equals(ev.bubbles, true)
+  assert_equals(ev.cancelable, false)
+  assert_equals(ev.sweet, undefined)
+})
+test(function() {
+  var called = []
+  var ev = new Event("Xx", {
+    get cancelable() {
+      called.push("cancelable")
+      return false
+    },
+    get bubbles() {
+      called.push("bubbles")
+      return true;
+    },
+    get sweet() {
+      called.push("sweet")
+      return "x"
+    }
+  })
+  assert_array_equals(called, ["bubbles", "cancelable"])
+  assert_equals(ev.type, "Xx")
+  assert_equals(ev.bubbles, true)
+  assert_equals(ev.cancelable, false)
+  assert_equals(ev.sweet, undefined)
+})
+test(function() {
+  var ev = new CustomEvent("$", {detail: 54, sweet: "x", sweet2: "x", cancelable:true})
+  assert_equals(ev.type, "$")
+  assert_equals(ev.bubbles, false)
+  assert_equals(ev.cancelable, true)
+  assert_equals(ev.sweet, undefined)
+  assert_equals(ev.detail, 54)
+})
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventconstructorsanyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any.worker-expected.txt (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any.worker-expected.txt                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any.worker-expected.txt     2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+
+PASS Event constructors
+PASS Event constructors 1
+PASS Event constructors 2
+PASS Event constructors 3
+PASS Event constructors 4
+PASS Event constructors 5
+PASS Event constructors 6
+PASS Event constructors 7
+PASS Event constructors 8
+PASS Event constructors 9
+PASS Event constructors 10
+PASS Event constructors 11
+PASS Event constructors 12
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventconstructorsanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any.worker.html (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any.worker.html                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any.worker.html     2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+<!-- This file is required for WebKit test infrastructure to run the templated test -->
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventconstructorshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.html (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.html     2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.html        2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -1,119 +0,0 @@
</span><del>-<!doctype html>
-<title>Event constructors</title>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<div id=log></div>
-<script>
-test(function() {
-  assert_throws_js(TypeError, function() {
-    new Event()
-  })
-})
-test(function() {
-  var test_error = { name: "test" }
-  assert_throws_exactly(test_error, function() {
-    new Event({ toString: function() { throw test_error; } })
-  })
-})
-test(function() {
-  var ev = new Event("")
-  assert_equals(ev.type, "")
-  assert_equals(ev.target, null)
-  assert_equals(ev.srcElement, null)
-  assert_equals(ev.currentTarget, null)
-  assert_equals(ev.eventPhase, Event.NONE)
-  assert_equals(ev.bubbles, false)
-  assert_equals(ev.cancelable, false)
-  assert_equals(ev.defaultPrevented, false)
-  assert_equals(ev.returnValue, true)
-  assert_equals(ev.isTrusted, false)
-  assert_true(ev.timeStamp > 0)
-  assert_true("initEvent" in ev)
-})
-test(function() {
-  var ev = new Event("test")
-  assert_equals(ev.type, "test")
-  assert_equals(ev.target, null)
-  assert_equals(ev.srcElement, null)
-  assert_equals(ev.currentTarget, null)
-  assert_equals(ev.eventPhase, Event.NONE)
-  assert_equals(ev.bubbles, false)
-  assert_equals(ev.cancelable, false)
-  assert_equals(ev.defaultPrevented, false)
-  assert_equals(ev.returnValue, true)
-  assert_equals(ev.isTrusted, false)
-  assert_true(ev.timeStamp > 0)
-  assert_true("initEvent" in ev)
-})
-test(function() {
-  assert_throws_js(TypeError, function() { Event("test") },
-                   'Calling Event constructor without "new" must throw');
-})
-test(function() {
-  var ev = new Event("I am an event", { bubbles: true, cancelable: false})
-  assert_equals(ev.type, "I am an event")
-  assert_equals(ev.bubbles, true)
-  assert_equals(ev.cancelable, false)
-})
-test(function() {
-  var ev = new Event("@", { bubblesIGNORED: true, cancelable: true})
-  assert_equals(ev.type, "@")
-  assert_equals(ev.bubbles, false)
-  assert_equals(ev.cancelable, true)
-})
-test(function() {
-  var ev = new Event("@", { "bubbles\0IGNORED": true, cancelable: true})
-  assert_equals(ev.type, "@")
-  assert_equals(ev.bubbles, false)
-  assert_equals(ev.cancelable, true)
-})
-test(function() {
-  var ev = new Event("Xx", { cancelable: true})
-  assert_equals(ev.type, "Xx")
-  assert_equals(ev.bubbles, false)
-  assert_equals(ev.cancelable, true)
-})
-test(function() {
-  var ev = new Event("Xx", {})
-  assert_equals(ev.type, "Xx")
-  assert_equals(ev.bubbles, false)
-  assert_equals(ev.cancelable, false)
-})
-test(function() {
-  var ev = new Event("Xx", {bubbles: true, cancelable: false, sweet: "x"})
-  assert_equals(ev.type, "Xx")
-  assert_equals(ev.bubbles, true)
-  assert_equals(ev.cancelable, false)
-  assert_equals(ev.sweet, undefined)
-})
-test(function() {
-  var called = []
-  var ev = new Event("Xx", {
-    get cancelable() {
-      called.push("cancelable")
-      return false
-    },
-    get bubbles() {
-      called.push("bubbles")
-      return true;
-    },
-    get sweet() {
-      called.push("sweet")
-      return "x"
-    }
-  })
-  assert_array_equals(called, ["bubbles", "cancelable"])
-  assert_equals(ev.type, "Xx")
-  assert_equals(ev.bubbles, true)
-  assert_equals(ev.cancelable, false)
-  assert_equals(ev.sweet, undefined)
-})
-test(function() {
-  var ev = new CustomEvent("$", {detail: 54, sweet: "x", sweet2: "x", cancelable:true})
-  assert_equals(ev.type, "$")
-  assert_equals(ev.bubbles, false)
-  assert_equals(ev.cancelable, true)
-  assert_equals(ev.sweet, undefined)
-  assert_equals(ev.detail, 54)
-})
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchclickexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-click-expected.txt (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-click-expected.txt   2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-click-expected.txt      2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -1,6 +1,4 @@
</span><span class="cx"> 
</span><del>-Harness Error (TIMEOUT), message = null
-
</del><span class="cx"> PASS basic with click()
</span><span class="cx"> PASS basic with dispatchEvent()
</span><span class="cx"> PASS basic with wrong event class
</span><span class="lines">@@ -24,10 +22,10 @@
</span><span class="cx"> PASS disabled radio should get legacy-canceled-activation behavior
</span><span class="cx"> PASS disabled checkbox should get legacy-canceled-activation behavior 2
</span><span class="cx"> PASS disabled radio should get legacy-canceled-activation behavior 2
</span><del>-TIMEOUT disabling checkbox in onclick listener shouldn't suppress oninput Test timed out
-TIMEOUT disabling checkbox in onclick listener shouldn't suppress onchange Test timed out
-TIMEOUT disabling radio in onclick listener shouldn't suppress oninput Test timed out
-TIMEOUT disabling radio in onclick listener shouldn't suppress onchange Test timed out
</del><ins>+PASS disabling checkbox in onclick listener shouldn't suppress oninput
+PASS disabling checkbox in onclick listener shouldn't suppress onchange
+PASS disabling radio in onclick listener shouldn't suppress oninput
+PASS disabling radio in onclick listener shouldn't suppress onchange
</ins><span class="cx"> PASS disconnected form should not submit
</span><span class="cx"> PASS disabled submit button should not activate
</span><span class="cx"> PASS submit button should not activate if the event listener disables it
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchclickhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-click.html (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-click.html   2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-click.html      2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -301,6 +301,7 @@
</span><span class="cx">         assert_equals(input.checked, true);
</span><span class="cx">         t.done();
</span><span class="cx">       });
</span><ins>+      dump.append(input);
</ins><span class="cx">       input.click();
</span><span class="cx">     }, `disabling ${type} in onclick listener shouldn't suppress ${handler}`);
</span><span class="cx">   }
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventtimestamphighresolutionexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution-expected.txt (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution-expected.txt        2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution-expected.txt   2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -2,6 +2,5 @@
</span><span class="cx"> PASS Constructed MouseEvent timestamp should be high resolution and have the same time origin as performance.now()
</span><span class="cx"> PASS Constructed KeyboardEvent timestamp should be high resolution and have the same time origin as performance.now()
</span><span class="cx"> PASS Constructed WheelEvent timestamp should be high resolution and have the same time origin as performance.now()
</span><del>-PASS Constructed GamepadEvent timestamp should be high resolution and have the same time origin as performance.now()
</del><span class="cx"> PASS Constructed FocusEvent timestamp should be high resolution and have the same time origin as performance.now()
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventtimestamphighresolutionhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution.html (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution.html        2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution.html   2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <script type="text/javascript">
</span><span class="cx"> 'use strict';
</span><del>-for (let eventType of ["MouseEvent", "KeyboardEvent", "WheelEvent", "GamepadEvent", "FocusEvent"]) {
</del><ins>+for (let eventType of ["MouseEvent", "KeyboardEvent", "WheelEvent", "FocusEvent"]) {
</ins><span class="cx">     test(function() {
</span><span class="cx">         let before = performance.now();
</span><span class="cx">         let e = new window[eventType]('test');
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventtimestamphighresolutionhttpsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution.https-expected.txt (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution.https-expected.txt                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution.https-expected.txt     2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Constructed GamepadEvent timestamp should be high resolution and have the same time origin as performance.now()
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventtimestamphighresolutionhttpshtmlfromrev279014trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventtimestamphighresolutionhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution.https.html (from rev 279014, trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution.html) (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution.https.html                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution.https.html     2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+<!DOCTYPE html>
+
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script type="text/javascript">
+'use strict';
+for (let eventType of ["GamepadEvent"]) {
+    test(function() {
+        let before = performance.now();
+        let e = new window[eventType]('test');
+        let after = performance.now();
+        assert_greater_than_equal(e.timeStamp, before, "Event timestamp should be greater than performance.now() timestamp taken before its creation");
+        assert_less_than_equal(e.timeStamp, after, "Event timestamp should be less than performance.now() timestamp taken after its creation");
+    }, `Constructed ${eventType} timestamp should be high resolution and have the same time origin as performance.now()`);
+}
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsdocumentleveltouchmoveeventlistenerpassivebydefaulthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-touchmove-event-listener-passive-by-default.html (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-touchmove-event-listener-passive-by-default.html     2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-touchmove-event-listener-passive-by-default.html        2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<!DOCTYPE html>
-<title>Default passive document level touchmove event listener test</title>
-<link rel="help" href="https://github.com/WICG/interventions/issues/35">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script src="/resources/testdriver.js"></script>
-<script src="/resources/testdriver-actions.js"></script>
-<script src="/resources/testdriver-vendor.js"></script>
-<body onload=runTest()>
-<div id="touchDiv">
-</div>
-</body>
-<style>
-#touchDiv {
-  width: 100px;
-  height: 100px;
-}
-</style>
-<script>
-var touch_div = document.getElementById("touchDiv");
-var cancelable = true;
-var touch_move_arrived = false;
-document.addEventListener("touchmove", function (event) {
-    cancelable = event.cancelable;
-    touch_move_arrived = true;
-    event.preventDefault();
-});
-
-function waitFor(condition) {
-  const MAX_FRAME = 500;
-  return new Promise((resolve, reject) => {
-    function tick(frames) {
-      // We requestAnimationFrame either for 500 frames or until condition is
-      // met.
-      if (frames >= MAX_FRAME)
-        reject("Condition did not become true after 500 frames");
-      else if (condition())
-        resolve();
-      else
-        requestAnimationFrame(tick.bind(this, frames + 1));
-    }
-    tick(0);
-  });
-}
-
-function waitForCompositorCommit() {
-  return new Promise((resolve) => {
-    // rAF twice.
-    window.requestAnimationFrame(() => {
-      window.requestAnimationFrame(resolve);
-    });
-  });
-}
-
-function injectInput() {
-  new test_driver.Actions()
-    .addPointer("touch_pointer", "touch")
-    .pointerMove(0, 0, {origin: touch_div})
-    .pointerDown()
-    .pointerMove(30, 30)
-    .pointerUp()
-    .send();
-}
-
-function runTest() {
-  promise_test (async () => {
-    await waitForCompositorCommit();
-    injectInput();
-    await waitFor(()=> { return touch_move_arrived; });
-    assert_false(cancelable);
-  }, "Touchmove events are non-cancelable since the event listener is treated as passive.");
-}
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsdocumentleveltouchmoveeventlistenerpassivebydefaulttentativehtmlfromrev279014trunkLayoutTestsimportedw3cwebplatformtestsdomeventsdocumentleveltouchmoveeventlistenerpassivebydefaulthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-touchmove-event-listener-passive-by-default.tentative.html (from rev 279014, trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-touchmove-event-listener-passive-by-default.html) (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-touchmove-event-listener-passive-by-default.tentative.html                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-touchmove-event-listener-passive-by-default.tentative.html      2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,73 @@
</span><ins>+<!DOCTYPE html>
+<title>Default passive document level touchmove event listener test</title>
+<link rel="help" href="https://github.com/WICG/interventions/issues/35">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/resources/testdriver.js"></script>
+<script src="/resources/testdriver-actions.js"></script>
+<script src="/resources/testdriver-vendor.js"></script>
+<body onload=runTest()>
+<div id="touchDiv">
+</div>
+</body>
+<style>
+#touchDiv {
+  width: 100px;
+  height: 100px;
+}
+</style>
+<script>
+var touch_div = document.getElementById("touchDiv");
+var cancelable = true;
+var touch_move_arrived = false;
+document.addEventListener("touchmove", function (event) {
+    cancelable = event.cancelable;
+    touch_move_arrived = true;
+    event.preventDefault();
+});
+
+function waitFor(condition) {
+  const MAX_FRAME = 500;
+  return new Promise((resolve, reject) => {
+    function tick(frames) {
+      // We requestAnimationFrame either for 500 frames or until condition is
+      // met.
+      if (frames >= MAX_FRAME)
+        reject("Condition did not become true after 500 frames");
+      else if (condition())
+        resolve();
+      else
+        requestAnimationFrame(tick.bind(this, frames + 1));
+    }
+    tick(0);
+  });
+}
+
+function waitForCompositorCommit() {
+  return new Promise((resolve) => {
+    // rAF twice.
+    window.requestAnimationFrame(() => {
+      window.requestAnimationFrame(resolve);
+    });
+  });
+}
+
+function injectInput() {
+  new test_driver.Actions()
+    .addPointer("touch_pointer", "touch")
+    .pointerMove(0, 0, {origin: touch_div})
+    .pointerDown()
+    .pointerMove(30, 30)
+    .pointerUp()
+    .send();
+}
+
+function runTest() {
+  promise_test (async () => {
+    await waitForCompositorCommit();
+    injectInput();
+    await waitFor(()=> { return touch_move_arrived; });
+    assert_false(cancelable);
+  }, "Touchmove events are non-cancelable since the event listener is treated as passive.");
+}
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsdocumentlevelwheeleventlistenerpassivebydefaulthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-wheel-event-listener-passive-by-default.html (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-wheel-event-listener-passive-by-default.html 2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-wheel-event-listener-passive-by-default.html    2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -1,51 +0,0 @@
</span><del>-<!DOCTYPE html>
-<title>Default passive document level wheel event listener manual test</title>
-<link rel="help" href="https://github.com/WICG/interventions/issues/64">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script src="/resources/testdriver.js"></script>
-<script src="/resources/testdriver-actions.js"></script>
-<script src="/resources/testdriver-vendor.js"></script>
-<body onload=runTest()>
-<div>This is a manual test since there is no way to synthesize wheel events.
-Scroll by wheel in the middle of the page to run the test.</div>
-</body>
-<script>
-var cancelable = true;
-var wheel_arrived = false;
-document.addEventListener("wheel", function (event) {
-    cancelable = event.cancelable;
-    wheel_arrived = true;
-    event.preventDefault();
-});
-
-function waitFor(condition) {
-  const MAX_FRAME = 200;
-  return new Promise((resolve, reject) => {
-    function tick(frames) {
-      // We requestAnimationFrame either for 200 frames or until condition is
-      // met.
-      if (frames >= MAX_FRAME)
-        reject("Condition did not become true after 200 frames");
-      else if (condition())
-        resolve();
-      else
-        requestAnimationFrame(tick.bind(this, frames + 1));
-    }
-    tick(0);
-  });
-}
-
-function runTest() {
-  promise_test (async () => {
-    const pos_x = Math.floor(window.innerWidth / 2);
-    const pos_y = Math.floor(window.innerHeight / 2);
-    const delta_x = 0;
-    const delta_y = 100;
-    await new test_driver.Actions()
-       .scroll(pos_x, pos_y, delta_x, delta_y).send();
-    await waitFor(()=> { return wheel_arrived; });
-    assert_false(cancelable);
-  }, "Wheel events are non-cancelable since the event listener is treated as passive.");
-}
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsdocumentlevelwheeleventlistenerpassivebydefaulttentativeexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-wheel-event-listener-passive-by-default.tentative-expected.txt (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-wheel-event-listener-passive-by-default.tentative-expected.txt                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-wheel-event-listener-passive-by-default.tentative-expected.txt  2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+This is a manual test since there is no way to synthesize wheel events. Scroll by wheel in the middle of the page to run the test.
+
+FAIL Wheel events are non-cancelable since the event listener is treated as passive. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: action"
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsdocumentlevelwheeleventlistenerpassivebydefaulttentativehtmlfromrev279014trunkLayoutTestsimportedw3cwebplatformtestsdomeventsdocumentlevelwheeleventlistenerpassivebydefaulthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-wheel-event-listener-passive-by-default.tentative.html (from rev 279014, trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-wheel-event-listener-passive-by-default.html) (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-wheel-event-listener-passive-by-default.tentative.html                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-wheel-event-listener-passive-by-default.tentative.html  2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,51 @@
</span><ins>+<!DOCTYPE html>
+<title>Default passive document level wheel event listener manual test</title>
+<link rel="help" href="https://github.com/WICG/interventions/issues/64">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/resources/testdriver.js"></script>
+<script src="/resources/testdriver-actions.js"></script>
+<script src="/resources/testdriver-vendor.js"></script>
+<body onload=runTest()>
+<div>This is a manual test since there is no way to synthesize wheel events.
+Scroll by wheel in the middle of the page to run the test.</div>
+</body>
+<script>
+var cancelable = true;
+var wheel_arrived = false;
+document.addEventListener("wheel", function (event) {
+    cancelable = event.cancelable;
+    wheel_arrived = true;
+    event.preventDefault();
+});
+
+function waitFor(condition) {
+  const MAX_FRAME = 200;
+  return new Promise((resolve, reject) => {
+    function tick(frames) {
+      // We requestAnimationFrame either for 200 frames or until condition is
+      // met.
+      if (frames >= MAX_FRAME)
+        reject("Condition did not become true after 200 frames");
+      else if (condition())
+        resolve();
+      else
+        requestAnimationFrame(tick.bind(this, frames + 1));
+    }
+    tick(0);
+  });
+}
+
+function runTest() {
+  promise_test (async () => {
+    const pos_x = Math.floor(window.innerWidth / 2);
+    const pos_y = Math.floor(window.innerHeight / 2);
+    const delta_x = 0;
+    const delta_y = 100;
+    await new test_driver.Actions()
+       .scroll(pos_x, pos_y, delta_x, delta_y).send();
+    await waitFor(()=> { return wheel_arrived; });
+    assert_false(cancelable);
+  }, "Wheel events are non-cancelable since the event listener is treated as passive.");
+}
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventskeypressdispatchcrashhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/keypress-dispatch-crash.html (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/keypress-dispatch-crash.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/keypress-dispatch-crash.html   2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+<!DOCTYPE html>
+<link rel="author" title="Robert Flack" href="mailto:flackr@chromium.org">
+<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1209098">
+
+<!-- No crash should occur if a keypress is dispatched to a constructed document. -->
+
+<script>
+var newDoc = document.implementation.createDocument( "", null);
+var testNode = newDoc.createElement('div');
+newDoc.append(testNode);
+
+var syntheticEvent = document.createEvent('KeyboardEvents');
+syntheticEvent.initKeyboardEvent("keypress");
+testNode.dispatchEvent(syntheticEvent)
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/w3c-import.log (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/w3c-import.log      2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/w3c-import.log 2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -20,7 +20,7 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/CustomEvent.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-cancelBubble.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constants.html
</span><del>-/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.html
</del><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.any.js
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-defaultPrevented.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubble-canceled.html
</span><span class="lines">@@ -54,6 +54,7 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-stopPropagation-cancel-bubbling.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-subclasses-constructors.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution.https.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-timestamp-safe-resolution.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-type-empty.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-type.html
</span><span class="lines">@@ -74,12 +75,13 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/EventTarget-dispatchEvent.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/EventTarget-removeEventListener.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/EventTarget-this-of-listener.html
</span><del>-/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-touchmove-event-listener-passive-by-default.html
-/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-wheel-event-listener-passive-by-default.html
</del><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-touchmove-event-listener-passive-by-default.tentative.html
+/LayoutTests/imported/w3c/web-platform-tests/dom/events/document-level-wheel-event-listener-passive-by-default.tentative.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/event-disabled-dynamic.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/event-global-extra.window.js
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/event-global.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/event-global.worker.js
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/events/keypress-dispatch-crash.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/legacy-pre-activation-behavior.window.js
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/relatedTarget.window.js
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/replace-event-listener-null-browsing-context-crash.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomidlharnessanyworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/idlharness.any.worker-expected.txt (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/idlharness.any.worker-expected.txt 2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/idlharness.any.worker-expected.txt    2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -160,10 +160,12 @@
</span><span class="cx"> PASS AbortSignal interface: existence and properties of interface prototype object
</span><span class="cx"> PASS AbortSignal interface: existence and properties of interface prototype object's "constructor" property
</span><span class="cx"> PASS AbortSignal interface: existence and properties of interface prototype object's @@unscopables property
</span><ins>+PASS AbortSignal interface: operation abort()
</ins><span class="cx"> PASS AbortSignal interface: attribute aborted
</span><span class="cx"> PASS AbortSignal interface: attribute onabort
</span><span class="cx"> PASS AbortSignal must be primary interface of new AbortController().signal
</span><span class="cx"> PASS Stringification of new AbortController().signal
</span><ins>+PASS AbortSignal interface: new AbortController().signal must inherit property "abort()" with the proper type
</ins><span class="cx"> PASS AbortSignal interface: new AbortController().signal must inherit property "aborted" with the proper type
</span><span class="cx"> PASS AbortSignal interface: new AbortController().signal must inherit property "onabort" with the proper type
</span><span class="cx"> PASS EventTarget interface: new AbortController().signal must inherit property "addEventListener(DOMString, EventListener?, optional (AddEventListenerOptions or boolean))" with the proper type
</span><span class="lines">@@ -202,6 +204,7 @@
</span><span class="cx"> PASS XPathExpression interface: existence and properties of interface object
</span><span class="cx"> PASS XPathNSResolver interface: existence and properties of interface object
</span><span class="cx"> PASS XPathEvaluator interface: existence and properties of interface object
</span><ins>+PASS XSLTProcessor interface: existence and properties of interface object
</ins><span class="cx"> PASS HTMLElement interface: existence and properties of interface object
</span><span class="cx"> PASS HTMLSlotElement interface: existence and properties of interface object
</span><span class="cx"> PASS Window interface: existence and properties of interface object
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomidlharnesswindowexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/idlharness.window-expected.txt (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/idlharness.window-expected.txt     2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/idlharness.window-expected.txt        2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -189,10 +189,12 @@
</span><span class="cx"> PASS AbortSignal interface: existence and properties of interface prototype object
</span><span class="cx"> PASS AbortSignal interface: existence and properties of interface prototype object's "constructor" property
</span><span class="cx"> PASS AbortSignal interface: existence and properties of interface prototype object's @@unscopables property
</span><ins>+PASS AbortSignal interface: operation abort()
</ins><span class="cx"> PASS AbortSignal interface: attribute aborted
</span><span class="cx"> PASS AbortSignal interface: attribute onabort
</span><span class="cx"> PASS AbortSignal must be primary interface of new AbortController().signal
</span><span class="cx"> PASS Stringification of new AbortController().signal
</span><ins>+PASS AbortSignal interface: new AbortController().signal must inherit property "abort()" with the proper type
</ins><span class="cx"> PASS AbortSignal interface: new AbortController().signal must inherit property "aborted" with the proper type
</span><span class="cx"> PASS AbortSignal interface: new AbortController().signal must inherit property "onabort" with the proper type
</span><span class="cx"> PASS EventTarget interface: new AbortController().signal must inherit property "addEventListener(DOMString, EventListener?, optional (AddEventListenerOptions or boolean))" with the proper type
</span><span class="lines">@@ -864,6 +866,8 @@
</span><span class="cx"> PASS ShadowRoot interface: existence and properties of interface prototype object's "constructor" property
</span><span class="cx"> PASS ShadowRoot interface: existence and properties of interface prototype object's @@unscopables property
</span><span class="cx"> PASS ShadowRoot interface: attribute mode
</span><ins>+PASS ShadowRoot interface: attribute delegatesFocus
+FAIL ShadowRoot interface: attribute slotAssignment assert_true: The prototype object must have a property "slotAssignment" expected true got false
</ins><span class="cx"> PASS ShadowRoot interface: attribute host
</span><span class="cx"> PASS ShadowRoot interface: attribute onslotchange
</span><span class="cx"> PASS Element interface: existence and properties of interface object
</span><span class="lines">@@ -1861,5 +1865,41 @@
</span><span class="cx"> PASS XPathEvaluator interface: calling createNSResolver(Node) on new XPathEvaluator() with too few arguments must throw TypeError
</span><span class="cx"> PASS XPathEvaluator interface: new XPathEvaluator() must inherit property "evaluate(DOMString, Node, optional XPathNSResolver?, optional unsigned short, optional XPathResult?)" with the proper type
</span><span class="cx"> PASS XPathEvaluator interface: calling evaluate(DOMString, Node, optional XPathNSResolver?, optional unsigned short, optional XPathResult?) on new XPathEvaluator() with too few arguments must throw TypeError
</span><ins>+PASS XSLTProcessor interface: existence and properties of interface object
+PASS XSLTProcessor interface object length
+PASS XSLTProcessor interface object name
+PASS XSLTProcessor interface: existence and properties of interface prototype object
+PASS XSLTProcessor interface: existence and properties of interface prototype object's "constructor" property
+PASS XSLTProcessor interface: existence and properties of interface prototype object's @@unscopables property
+FAIL XSLTProcessor interface: operation importStylesheet(Node) assert_equals: property has wrong .length expected 1 but got 0
+FAIL XSLTProcessor interface: operation transformToFragment(Node, Document) assert_equals: property has wrong .length expected 2 but got 0
+FAIL XSLTProcessor interface: operation transformToDocument(Node) assert_equals: property has wrong .length expected 1 but got 0
+PASS XSLTProcessor interface: operation setParameter(DOMString, DOMString, any)
+PASS XSLTProcessor interface: operation getParameter(DOMString, DOMString)
+PASS XSLTProcessor interface: operation removeParameter(DOMString, DOMString)
+PASS XSLTProcessor interface: operation clearParameters()
+PASS XSLTProcessor interface: operation reset()
+PASS XSLTProcessor must be primary interface of new XSLTProcessor()
+PASS Stringification of new XSLTProcessor()
+PASS XSLTProcessor interface: new XSLTProcessor() must inherit property "importStylesheet(Node)" with the proper type
+FAIL XSLTProcessor interface: calling importStylesheet(Node) on new XSLTProcessor() with too few arguments must throw TypeError assert_throws_js: Called with 0 arguments function "function () {
+            fn.apply(obj, args);
+        }" did not throw
+PASS XSLTProcessor interface: new XSLTProcessor() must inherit property "transformToFragment(Node, Document)" with the proper type
+FAIL XSLTProcessor interface: calling transformToFragment(Node, Document) on new XSLTProcessor() with too few arguments must throw TypeError assert_throws_js: Called with 0 arguments function "function () {
+            fn.apply(obj, args);
+        }" did not throw
+PASS XSLTProcessor interface: new XSLTProcessor() must inherit property "transformToDocument(Node)" with the proper type
+FAIL XSLTProcessor interface: calling transformToDocument(Node) on new XSLTProcessor() with too few arguments must throw TypeError assert_throws_js: Called with 0 arguments function "function () {
+            fn.apply(obj, args);
+        }" did not throw
+PASS XSLTProcessor interface: new XSLTProcessor() must inherit property "setParameter(DOMString, DOMString, any)" with the proper type
+PASS XSLTProcessor interface: calling setParameter(DOMString, DOMString, any) on new XSLTProcessor() with too few arguments must throw TypeError
+PASS XSLTProcessor interface: new XSLTProcessor() must inherit property "getParameter(DOMString, DOMString)" with the proper type
+PASS XSLTProcessor interface: calling getParameter(DOMString, DOMString) on new XSLTProcessor() with too few arguments must throw TypeError
+PASS XSLTProcessor interface: new XSLTProcessor() must inherit property "removeParameter(DOMString, DOMString)" with the proper type
+PASS XSLTProcessor interface: calling removeParameter(DOMString, DOMString) on new XSLTProcessor() with too few arguments must throw TypeError
+PASS XSLTProcessor interface: new XSLTProcessor() must inherit property "clearParameters()" with the proper type
+PASS XSLTProcessor interface: new XSLTProcessor() must inherit property "reset()" with the proper type
</ins><span class="cx"> PASS Window interface: attribute event
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomidlharnesswindowjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/idlharness.window.js (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/idlharness.window.js       2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/idlharness.window.js  2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -46,6 +46,7 @@
</span><span class="cx">       XPathExpression: ['document.createExpression("//*")'],
</span><span class="cx">       XPathNSResolver: ['document.createNSResolver(document.body)'],
</span><span class="cx">       XPathResult: ['document.evaluate("//*", document.body)'],
</span><ins>+      XSLTProcessor: ['new XSLTProcessor()'],
</ins><span class="cx">     });
</span><span class="cx">   }
</span><span class="cx"> );
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcharacterSetnormalization1expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-1-expected.txt (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-1-expected.txt                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-1-expected.txt      2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,317 @@
</span><ins>+
+PASS Name "UTF-8" has label "unicode-1-1-utf-8" (characterSet)
+PASS Name "UTF-8" has label "unicode-1-1-utf-8" (inputEncoding)
+PASS Name "UTF-8" has label "unicode-1-1-utf-8" (charset)
+PASS Name "UTF-8" has label "utf-8" (characterSet)
+PASS Name "UTF-8" has label "utf-8" (inputEncoding)
+PASS Name "UTF-8" has label "utf-8" (charset)
+PASS Name "UTF-8" has label "utf8" (characterSet)
+PASS Name "UTF-8" has label "utf8" (inputEncoding)
+PASS Name "UTF-8" has label "utf8" (charset)
+PASS Name "UTF-8" has label "utf-16" (characterSet)
+PASS Name "UTF-8" has label "utf-16" (inputEncoding)
+PASS Name "UTF-8" has label "utf-16" (charset)
+PASS Name "UTF-8" has label "utf-16le" (characterSet)
+PASS Name "UTF-8" has label "utf-16le" (inputEncoding)
+PASS Name "UTF-8" has label "utf-16le" (charset)
+PASS Name "UTF-8" has label "utf-16be" (characterSet)
+PASS Name "UTF-8" has label "utf-16be" (inputEncoding)
+PASS Name "UTF-8" has label "utf-16be" (charset)
+PASS Name "IBM866" has label "866" (characterSet)
+PASS Name "IBM866" has label "866" (inputEncoding)
+PASS Name "IBM866" has label "866" (charset)
+PASS Name "IBM866" has label "cp866" (characterSet)
+PASS Name "IBM866" has label "cp866" (inputEncoding)
+PASS Name "IBM866" has label "cp866" (charset)
+PASS Name "IBM866" has label "csibm866" (characterSet)
+PASS Name "IBM866" has label "csibm866" (inputEncoding)
+PASS Name "IBM866" has label "csibm866" (charset)
+PASS Name "IBM866" has label "ibm866" (characterSet)
+PASS Name "IBM866" has label "ibm866" (inputEncoding)
+PASS Name "IBM866" has label "ibm866" (charset)
+PASS Name "ISO-8859-2" has label "csisolatin2" (characterSet)
+PASS Name "ISO-8859-2" has label "csisolatin2" (inputEncoding)
+PASS Name "ISO-8859-2" has label "csisolatin2" (charset)
+PASS Name "ISO-8859-2" has label "iso-8859-2" (characterSet)
+PASS Name "ISO-8859-2" has label "iso-8859-2" (inputEncoding)
+PASS Name "ISO-8859-2" has label "iso-8859-2" (charset)
+PASS Name "ISO-8859-2" has label "iso-ir-101" (characterSet)
+PASS Name "ISO-8859-2" has label "iso-ir-101" (inputEncoding)
+PASS Name "ISO-8859-2" has label "iso-ir-101" (charset)
+PASS Name "ISO-8859-2" has label "iso8859-2" (characterSet)
+PASS Name "ISO-8859-2" has label "iso8859-2" (inputEncoding)
+PASS Name "ISO-8859-2" has label "iso8859-2" (charset)
+PASS Name "ISO-8859-2" has label "iso88592" (characterSet)
+PASS Name "ISO-8859-2" has label "iso88592" (inputEncoding)
+PASS Name "ISO-8859-2" has label "iso88592" (charset)
+PASS Name "ISO-8859-2" has label "iso_8859-2" (characterSet)
+PASS Name "ISO-8859-2" has label "iso_8859-2" (inputEncoding)
+PASS Name "ISO-8859-2" has label "iso_8859-2" (charset)
+PASS Name "ISO-8859-2" has label "iso_8859-2:1987" (characterSet)
+PASS Name "ISO-8859-2" has label "iso_8859-2:1987" (inputEncoding)
+PASS Name "ISO-8859-2" has label "iso_8859-2:1987" (charset)
+PASS Name "ISO-8859-2" has label "l2" (characterSet)
+PASS Name "ISO-8859-2" has label "l2" (inputEncoding)
+PASS Name "ISO-8859-2" has label "l2" (charset)
+PASS Name "ISO-8859-2" has label "latin2" (characterSet)
+PASS Name "ISO-8859-2" has label "latin2" (inputEncoding)
+PASS Name "ISO-8859-2" has label "latin2" (charset)
+PASS Name "ISO-8859-3" has label "csisolatin3" (characterSet)
+PASS Name "ISO-8859-3" has label "csisolatin3" (inputEncoding)
+PASS Name "ISO-8859-3" has label "csisolatin3" (charset)
+PASS Name "ISO-8859-3" has label "iso-8859-3" (characterSet)
+PASS Name "ISO-8859-3" has label "iso-8859-3" (inputEncoding)
+PASS Name "ISO-8859-3" has label "iso-8859-3" (charset)
+PASS Name "ISO-8859-3" has label "iso-ir-109" (characterSet)
+PASS Name "ISO-8859-3" has label "iso-ir-109" (inputEncoding)
+PASS Name "ISO-8859-3" has label "iso-ir-109" (charset)
+PASS Name "ISO-8859-3" has label "iso8859-3" (characterSet)
+PASS Name "ISO-8859-3" has label "iso8859-3" (inputEncoding)
+PASS Name "ISO-8859-3" has label "iso8859-3" (charset)
+PASS Name "ISO-8859-3" has label "iso88593" (characterSet)
+PASS Name "ISO-8859-3" has label "iso88593" (inputEncoding)
+PASS Name "ISO-8859-3" has label "iso88593" (charset)
+PASS Name "ISO-8859-3" has label "iso_8859-3" (characterSet)
+PASS Name "ISO-8859-3" has label "iso_8859-3" (inputEncoding)
+PASS Name "ISO-8859-3" has label "iso_8859-3" (charset)
+PASS Name "ISO-8859-3" has label "iso_8859-3:1988" (characterSet)
+PASS Name "ISO-8859-3" has label "iso_8859-3:1988" (inputEncoding)
+PASS Name "ISO-8859-3" has label "iso_8859-3:1988" (charset)
+PASS Name "ISO-8859-3" has label "l3" (characterSet)
+PASS Name "ISO-8859-3" has label "l3" (inputEncoding)
+PASS Name "ISO-8859-3" has label "l3" (charset)
+PASS Name "ISO-8859-3" has label "latin3" (characterSet)
+PASS Name "ISO-8859-3" has label "latin3" (inputEncoding)
+PASS Name "ISO-8859-3" has label "latin3" (charset)
+PASS Name "ISO-8859-4" has label "csisolatin4" (characterSet)
+PASS Name "ISO-8859-4" has label "csisolatin4" (inputEncoding)
+PASS Name "ISO-8859-4" has label "csisolatin4" (charset)
+PASS Name "ISO-8859-4" has label "iso-8859-4" (characterSet)
+PASS Name "ISO-8859-4" has label "iso-8859-4" (inputEncoding)
+PASS Name "ISO-8859-4" has label "iso-8859-4" (charset)
+PASS Name "ISO-8859-4" has label "iso-ir-110" (characterSet)
+PASS Name "ISO-8859-4" has label "iso-ir-110" (inputEncoding)
+PASS Name "ISO-8859-4" has label "iso-ir-110" (charset)
+PASS Name "ISO-8859-4" has label "iso8859-4" (characterSet)
+PASS Name "ISO-8859-4" has label "iso8859-4" (inputEncoding)
+PASS Name "ISO-8859-4" has label "iso8859-4" (charset)
+PASS Name "ISO-8859-4" has label "iso88594" (characterSet)
+PASS Name "ISO-8859-4" has label "iso88594" (inputEncoding)
+PASS Name "ISO-8859-4" has label "iso88594" (charset)
+PASS Name "ISO-8859-4" has label "iso_8859-4" (characterSet)
+PASS Name "ISO-8859-4" has label "iso_8859-4" (inputEncoding)
+PASS Name "ISO-8859-4" has label "iso_8859-4" (charset)
+PASS Name "ISO-8859-4" has label "iso_8859-4:1988" (characterSet)
+PASS Name "ISO-8859-4" has label "iso_8859-4:1988" (inputEncoding)
+PASS Name "ISO-8859-4" has label "iso_8859-4:1988" (charset)
+PASS Name "ISO-8859-4" has label "l4" (characterSet)
+PASS Name "ISO-8859-4" has label "l4" (inputEncoding)
+PASS Name "ISO-8859-4" has label "l4" (charset)
+PASS Name "ISO-8859-4" has label "latin4" (characterSet)
+PASS Name "ISO-8859-4" has label "latin4" (inputEncoding)
+PASS Name "ISO-8859-4" has label "latin4" (charset)
+PASS Name "ISO-8859-5" has label "csisolatincyrillic" (characterSet)
+PASS Name "ISO-8859-5" has label "csisolatincyrillic" (inputEncoding)
+PASS Name "ISO-8859-5" has label "csisolatincyrillic" (charset)
+PASS Name "ISO-8859-5" has label "cyrillic" (characterSet)
+PASS Name "ISO-8859-5" has label "cyrillic" (inputEncoding)
+PASS Name "ISO-8859-5" has label "cyrillic" (charset)
+PASS Name "ISO-8859-5" has label "iso-8859-5" (characterSet)
+PASS Name "ISO-8859-5" has label "iso-8859-5" (inputEncoding)
+PASS Name "ISO-8859-5" has label "iso-8859-5" (charset)
+PASS Name "ISO-8859-5" has label "iso-ir-144" (characterSet)
+PASS Name "ISO-8859-5" has label "iso-ir-144" (inputEncoding)
+PASS Name "ISO-8859-5" has label "iso-ir-144" (charset)
+PASS Name "ISO-8859-5" has label "iso8859-5" (characterSet)
+PASS Name "ISO-8859-5" has label "iso8859-5" (inputEncoding)
+PASS Name "ISO-8859-5" has label "iso8859-5" (charset)
+PASS Name "ISO-8859-5" has label "iso88595" (characterSet)
+PASS Name "ISO-8859-5" has label "iso88595" (inputEncoding)
+PASS Name "ISO-8859-5" has label "iso88595" (charset)
+PASS Name "ISO-8859-5" has label "iso_8859-5" (characterSet)
+PASS Name "ISO-8859-5" has label "iso_8859-5" (inputEncoding)
+PASS Name "ISO-8859-5" has label "iso_8859-5" (charset)
+PASS Name "ISO-8859-5" has label "iso_8859-5:1988" (characterSet)
+PASS Name "ISO-8859-5" has label "iso_8859-5:1988" (inputEncoding)
+PASS Name "ISO-8859-5" has label "iso_8859-5:1988" (charset)
+PASS Name "ISO-8859-6" has label "arabic" (characterSet)
+PASS Name "ISO-8859-6" has label "arabic" (inputEncoding)
+PASS Name "ISO-8859-6" has label "arabic" (charset)
+PASS Name "ISO-8859-6" has label "asmo-708" (characterSet)
+PASS Name "ISO-8859-6" has label "asmo-708" (inputEncoding)
+PASS Name "ISO-8859-6" has label "asmo-708" (charset)
+PASS Name "ISO-8859-6" has label "csiso88596e" (characterSet)
+PASS Name "ISO-8859-6" has label "csiso88596e" (inputEncoding)
+PASS Name "ISO-8859-6" has label "csiso88596e" (charset)
+PASS Name "ISO-8859-6" has label "csiso88596i" (characterSet)
+PASS Name "ISO-8859-6" has label "csiso88596i" (inputEncoding)
+PASS Name "ISO-8859-6" has label "csiso88596i" (charset)
+PASS Name "ISO-8859-6" has label "csisolatinarabic" (characterSet)
+PASS Name "ISO-8859-6" has label "csisolatinarabic" (inputEncoding)
+PASS Name "ISO-8859-6" has label "csisolatinarabic" (charset)
+PASS Name "ISO-8859-6" has label "ecma-114" (characterSet)
+PASS Name "ISO-8859-6" has label "ecma-114" (inputEncoding)
+PASS Name "ISO-8859-6" has label "ecma-114" (charset)
+PASS Name "ISO-8859-6" has label "iso-8859-6" (characterSet)
+PASS Name "ISO-8859-6" has label "iso-8859-6" (inputEncoding)
+PASS Name "ISO-8859-6" has label "iso-8859-6" (charset)
+PASS Name "ISO-8859-6" has label "iso-8859-6-e" (characterSet)
+PASS Name "ISO-8859-6" has label "iso-8859-6-e" (inputEncoding)
+PASS Name "ISO-8859-6" has label "iso-8859-6-e" (charset)
+PASS Name "ISO-8859-6" has label "iso-8859-6-i" (characterSet)
+PASS Name "ISO-8859-6" has label "iso-8859-6-i" (inputEncoding)
+PASS Name "ISO-8859-6" has label "iso-8859-6-i" (charset)
+PASS Name "ISO-8859-6" has label "iso-ir-127" (characterSet)
+PASS Name "ISO-8859-6" has label "iso-ir-127" (inputEncoding)
+PASS Name "ISO-8859-6" has label "iso-ir-127" (charset)
+PASS Name "ISO-8859-6" has label "iso8859-6" (characterSet)
+PASS Name "ISO-8859-6" has label "iso8859-6" (inputEncoding)
+PASS Name "ISO-8859-6" has label "iso8859-6" (charset)
+PASS Name "ISO-8859-6" has label "iso88596" (characterSet)
+PASS Name "ISO-8859-6" has label "iso88596" (inputEncoding)
+PASS Name "ISO-8859-6" has label "iso88596" (charset)
+PASS Name "ISO-8859-6" has label "iso_8859-6" (characterSet)
+PASS Name "ISO-8859-6" has label "iso_8859-6" (inputEncoding)
+PASS Name "ISO-8859-6" has label "iso_8859-6" (charset)
+PASS Name "ISO-8859-6" has label "iso_8859-6:1987" (characterSet)
+PASS Name "ISO-8859-6" has label "iso_8859-6:1987" (inputEncoding)
+PASS Name "ISO-8859-6" has label "iso_8859-6:1987" (charset)
+PASS Name "ISO-8859-7" has label "csisolatingreek" (characterSet)
+PASS Name "ISO-8859-7" has label "csisolatingreek" (inputEncoding)
+PASS Name "ISO-8859-7" has label "csisolatingreek" (charset)
+PASS Name "ISO-8859-7" has label "ecma-118" (characterSet)
+PASS Name "ISO-8859-7" has label "ecma-118" (inputEncoding)
+PASS Name "ISO-8859-7" has label "ecma-118" (charset)
+PASS Name "ISO-8859-7" has label "elot_928" (characterSet)
+PASS Name "ISO-8859-7" has label "elot_928" (inputEncoding)
+PASS Name "ISO-8859-7" has label "elot_928" (charset)
+PASS Name "ISO-8859-7" has label "greek" (characterSet)
+PASS Name "ISO-8859-7" has label "greek" (inputEncoding)
+PASS Name "ISO-8859-7" has label "greek" (charset)
+PASS Name "ISO-8859-7" has label "greek8" (characterSet)
+PASS Name "ISO-8859-7" has label "greek8" (inputEncoding)
+PASS Name "ISO-8859-7" has label "greek8" (charset)
+PASS Name "ISO-8859-7" has label "iso-8859-7" (characterSet)
+PASS Name "ISO-8859-7" has label "iso-8859-7" (inputEncoding)
+PASS Name "ISO-8859-7" has label "iso-8859-7" (charset)
+PASS Name "ISO-8859-7" has label "iso-ir-126" (characterSet)
+PASS Name "ISO-8859-7" has label "iso-ir-126" (inputEncoding)
+PASS Name "ISO-8859-7" has label "iso-ir-126" (charset)
+PASS Name "ISO-8859-7" has label "iso8859-7" (characterSet)
+PASS Name "ISO-8859-7" has label "iso8859-7" (inputEncoding)
+PASS Name "ISO-8859-7" has label "iso8859-7" (charset)
+PASS Name "ISO-8859-7" has label "iso88597" (characterSet)
+PASS Name "ISO-8859-7" has label "iso88597" (inputEncoding)
+PASS Name "ISO-8859-7" has label "iso88597" (charset)
+PASS Name "ISO-8859-7" has label "iso_8859-7" (characterSet)
+PASS Name "ISO-8859-7" has label "iso_8859-7" (inputEncoding)
+PASS Name "ISO-8859-7" has label "iso_8859-7" (charset)
+PASS Name "ISO-8859-7" has label "iso_8859-7:1987" (characterSet)
+PASS Name "ISO-8859-7" has label "iso_8859-7:1987" (inputEncoding)
+PASS Name "ISO-8859-7" has label "iso_8859-7:1987" (charset)
+PASS Name "ISO-8859-7" has label "sun_eu_greek" (characterSet)
+PASS Name "ISO-8859-7" has label "sun_eu_greek" (inputEncoding)
+PASS Name "ISO-8859-7" has label "sun_eu_greek" (charset)
+PASS Name "ISO-8859-8" has label "csiso88598e" (characterSet)
+PASS Name "ISO-8859-8" has label "csiso88598e" (inputEncoding)
+PASS Name "ISO-8859-8" has label "csiso88598e" (charset)
+PASS Name "ISO-8859-8" has label "csisolatinhebrew" (characterSet)
+PASS Name "ISO-8859-8" has label "csisolatinhebrew" (inputEncoding)
+PASS Name "ISO-8859-8" has label "csisolatinhebrew" (charset)
+PASS Name "ISO-8859-8" has label "hebrew" (characterSet)
+PASS Name "ISO-8859-8" has label "hebrew" (inputEncoding)
+PASS Name "ISO-8859-8" has label "hebrew" (charset)
+PASS Name "ISO-8859-8" has label "iso-8859-8" (characterSet)
+PASS Name "ISO-8859-8" has label "iso-8859-8" (inputEncoding)
+PASS Name "ISO-8859-8" has label "iso-8859-8" (charset)
+PASS Name "ISO-8859-8" has label "iso-8859-8-e" (characterSet)
+PASS Name "ISO-8859-8" has label "iso-8859-8-e" (inputEncoding)
+PASS Name "ISO-8859-8" has label "iso-8859-8-e" (charset)
+PASS Name "ISO-8859-8" has label "iso-ir-138" (characterSet)
+PASS Name "ISO-8859-8" has label "iso-ir-138" (inputEncoding)
+PASS Name "ISO-8859-8" has label "iso-ir-138" (charset)
+PASS Name "ISO-8859-8" has label "iso8859-8" (characterSet)
+PASS Name "ISO-8859-8" has label "iso8859-8" (inputEncoding)
+PASS Name "ISO-8859-8" has label "iso8859-8" (charset)
+PASS Name "ISO-8859-8" has label "iso88598" (characterSet)
+PASS Name "ISO-8859-8" has label "iso88598" (inputEncoding)
+PASS Name "ISO-8859-8" has label "iso88598" (charset)
+PASS Name "ISO-8859-8" has label "iso_8859-8" (characterSet)
+PASS Name "ISO-8859-8" has label "iso_8859-8" (inputEncoding)
+PASS Name "ISO-8859-8" has label "iso_8859-8" (charset)
+PASS Name "ISO-8859-8" has label "iso_8859-8:1988" (characterSet)
+PASS Name "ISO-8859-8" has label "iso_8859-8:1988" (inputEncoding)
+PASS Name "ISO-8859-8" has label "iso_8859-8:1988" (charset)
+PASS Name "ISO-8859-8" has label "visual" (characterSet)
+PASS Name "ISO-8859-8" has label "visual" (inputEncoding)
+PASS Name "ISO-8859-8" has label "visual" (charset)
+PASS Name "ISO-8859-8-I" has label "csiso88598i" (characterSet)
+PASS Name "ISO-8859-8-I" has label "csiso88598i" (inputEncoding)
+PASS Name "ISO-8859-8-I" has label "csiso88598i" (charset)
+PASS Name "ISO-8859-8-I" has label "iso-8859-8-i" (characterSet)
+PASS Name "ISO-8859-8-I" has label "iso-8859-8-i" (inputEncoding)
+PASS Name "ISO-8859-8-I" has label "iso-8859-8-i" (charset)
+PASS Name "ISO-8859-8-I" has label "logical" (characterSet)
+PASS Name "ISO-8859-8-I" has label "logical" (inputEncoding)
+PASS Name "ISO-8859-8-I" has label "logical" (charset)
+PASS Name "ISO-8859-10" has label "csisolatin6" (characterSet)
+PASS Name "ISO-8859-10" has label "csisolatin6" (inputEncoding)
+PASS Name "ISO-8859-10" has label "csisolatin6" (charset)
+PASS Name "ISO-8859-10" has label "iso-8859-10" (characterSet)
+PASS Name "ISO-8859-10" has label "iso-8859-10" (inputEncoding)
+PASS Name "ISO-8859-10" has label "iso-8859-10" (charset)
+PASS Name "ISO-8859-10" has label "iso-ir-157" (characterSet)
+PASS Name "ISO-8859-10" has label "iso-ir-157" (inputEncoding)
+PASS Name "ISO-8859-10" has label "iso-ir-157" (charset)
+PASS Name "ISO-8859-10" has label "iso8859-10" (characterSet)
+PASS Name "ISO-8859-10" has label "iso8859-10" (inputEncoding)
+PASS Name "ISO-8859-10" has label "iso8859-10" (charset)
+PASS Name "ISO-8859-10" has label "iso885910" (characterSet)
+PASS Name "ISO-8859-10" has label "iso885910" (inputEncoding)
+PASS Name "ISO-8859-10" has label "iso885910" (charset)
+PASS Name "ISO-8859-10" has label "l6" (characterSet)
+PASS Name "ISO-8859-10" has label "l6" (inputEncoding)
+PASS Name "ISO-8859-10" has label "l6" (charset)
+PASS Name "ISO-8859-10" has label "latin6" (characterSet)
+PASS Name "ISO-8859-10" has label "latin6" (inputEncoding)
+PASS Name "ISO-8859-10" has label "latin6" (charset)
+PASS Name "ISO-8859-13" has label "iso-8859-13" (characterSet)
+PASS Name "ISO-8859-13" has label "iso-8859-13" (inputEncoding)
+PASS Name "ISO-8859-13" has label "iso-8859-13" (charset)
+PASS Name "ISO-8859-13" has label "iso8859-13" (characterSet)
+PASS Name "ISO-8859-13" has label "iso8859-13" (inputEncoding)
+PASS Name "ISO-8859-13" has label "iso8859-13" (charset)
+PASS Name "ISO-8859-13" has label "iso885913" (characterSet)
+PASS Name "ISO-8859-13" has label "iso885913" (inputEncoding)
+PASS Name "ISO-8859-13" has label "iso885913" (charset)
+PASS Name "ISO-8859-14" has label "iso-8859-14" (characterSet)
+PASS Name "ISO-8859-14" has label "iso-8859-14" (inputEncoding)
+PASS Name "ISO-8859-14" has label "iso-8859-14" (charset)
+PASS Name "ISO-8859-14" has label "iso8859-14" (characterSet)
+PASS Name "ISO-8859-14" has label "iso8859-14" (inputEncoding)
+PASS Name "ISO-8859-14" has label "iso8859-14" (charset)
+PASS Name "ISO-8859-14" has label "iso885914" (characterSet)
+PASS Name "ISO-8859-14" has label "iso885914" (inputEncoding)
+PASS Name "ISO-8859-14" has label "iso885914" (charset)
+PASS Name "ISO-8859-15" has label "csisolatin9" (characterSet)
+PASS Name "ISO-8859-15" has label "csisolatin9" (inputEncoding)
+PASS Name "ISO-8859-15" has label "csisolatin9" (charset)
+PASS Name "ISO-8859-15" has label "iso-8859-15" (characterSet)
+PASS Name "ISO-8859-15" has label "iso-8859-15" (inputEncoding)
+PASS Name "ISO-8859-15" has label "iso-8859-15" (charset)
+PASS Name "ISO-8859-15" has label "iso8859-15" (characterSet)
+PASS Name "ISO-8859-15" has label "iso8859-15" (inputEncoding)
+PASS Name "ISO-8859-15" has label "iso8859-15" (charset)
+PASS Name "ISO-8859-15" has label "iso885915" (characterSet)
+PASS Name "ISO-8859-15" has label "iso885915" (inputEncoding)
+PASS Name "ISO-8859-15" has label "iso885915" (charset)
+PASS Name "ISO-8859-15" has label "iso_8859-15" (characterSet)
+PASS Name "ISO-8859-15" has label "iso_8859-15" (inputEncoding)
+PASS Name "ISO-8859-15" has label "iso_8859-15" (charset)
+PASS Name "ISO-8859-15" has label "l9" (characterSet)
+PASS Name "ISO-8859-15" has label "l9" (inputEncoding)
+PASS Name "ISO-8859-15" has label "l9" (charset)
+PASS Name "ISO-8859-16" has label "iso-8859-16" (characterSet)
+PASS Name "ISO-8859-16" has label "iso-8859-16" (inputEncoding)
+PASS Name "ISO-8859-16" has label "iso-8859-16" (charset)
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcharacterSetnormalization1html"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-1.html (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-1.html                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-1.html      2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,157 @@
</span><ins>+<!doctype html>
+<title>document.characterSet (inputEncoding and charset as aliases) normalization tests</title>
+<link rel=author title="Aryeh Gregor" href=ayg@aryeh.name>
+<meta name=timeout content=long>
+<div id=log></div>
+<script src=/resources/testharness.js></script>
+<script src=/resources/testharnessreport.js></script>
+<script src="./characterset-helper.js"></script>
+<style>iframe { display: none }</style>
+<script>
+"use strict";
+
+// Taken straight from https://encoding.spec.whatwg.org/
+var encodingMap = {
+  "UTF-8": [
+    "unicode-1-1-utf-8",
+    "utf-8",
+    "utf8",
+    // As we use <meta>, utf-16 will map to utf-8 per
+    // https://html.spec.whatwg.org/multipage/#documentEncoding
+    "utf-16",
+    "utf-16le",
+    "utf-16be",
+  ],
+  "IBM866": [
+    "866",
+    "cp866",
+    "csibm866",
+    "ibm866",
+  ],
+  "ISO-8859-2": [
+    "csisolatin2",
+    "iso-8859-2",
+    "iso-ir-101",
+    "iso8859-2",
+    "iso88592",
+    "iso_8859-2",
+    "iso_8859-2:1987",
+    "l2",
+    "latin2",
+  ],
+  "ISO-8859-3": [
+    "csisolatin3",
+    "iso-8859-3",
+    "iso-ir-109",
+    "iso8859-3",
+    "iso88593",
+    "iso_8859-3",
+    "iso_8859-3:1988",
+    "l3",
+    "latin3",
+  ],
+  "ISO-8859-4": [
+    "csisolatin4",
+    "iso-8859-4",
+    "iso-ir-110",
+    "iso8859-4",
+    "iso88594",
+    "iso_8859-4",
+    "iso_8859-4:1988",
+    "l4",
+    "latin4",
+  ],
+  "ISO-8859-5": [
+    "csisolatincyrillic",
+    "cyrillic",
+    "iso-8859-5",
+    "iso-ir-144",
+    "iso8859-5",
+    "iso88595",
+    "iso_8859-5",
+    "iso_8859-5:1988",
+  ],
+  "ISO-8859-6": [
+    "arabic",
+    "asmo-708",
+    "csiso88596e",
+    "csiso88596i",
+    "csisolatinarabic",
+    "ecma-114",
+    "iso-8859-6",
+    "iso-8859-6-e",
+    "iso-8859-6-i",
+    "iso-ir-127",
+    "iso8859-6",
+    "iso88596",
+    "iso_8859-6",
+    "iso_8859-6:1987",
+  ],
+  "ISO-8859-7": [
+    "csisolatingreek",
+    "ecma-118",
+    "elot_928",
+    "greek",
+    "greek8",
+    "iso-8859-7",
+    "iso-ir-126",
+    "iso8859-7",
+    "iso88597",
+    "iso_8859-7",
+    "iso_8859-7:1987",
+    "sun_eu_greek",
+  ],
+  "ISO-8859-8": [
+    "csiso88598e",
+    "csisolatinhebrew",
+    "hebrew",
+    "iso-8859-8",
+    "iso-8859-8-e",
+    "iso-ir-138",
+    "iso8859-8",
+    "iso88598",
+    "iso_8859-8",
+    "iso_8859-8:1988",
+    "visual",
+  ],
+  "ISO-8859-8-I": [
+    "csiso88598i",
+    "iso-8859-8-i",
+    "logical",
+  ],
+  "ISO-8859-10": [
+    "csisolatin6",
+    "iso-8859-10",
+    "iso-ir-157",
+    "iso8859-10",
+    "iso885910",
+    "l6",
+    "latin6",
+  ],
+  "ISO-8859-13": [
+    "iso-8859-13",
+    "iso8859-13",
+    "iso885913",
+  ],
+  "ISO-8859-14": [
+    "iso-8859-14",
+    "iso8859-14",
+    "iso885914",
+  ],
+  "ISO-8859-15": [
+    "csisolatin9",
+    "iso-8859-15",
+    "iso8859-15",
+    "iso885915",
+    "iso_8859-15",
+    "l9",
+  ],
+  "ISO-8859-16": [
+    "iso-8859-16",
+  ],
+};
+
+runCharacterSetTests(encodingMap);
+
+</script>
+<!-- vim: set expandtab tabstop=2 shiftwidth=2: -->
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcharacterSetnormalization2expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-2-expected.txt (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-2-expected.txt                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-2-expected.txt      2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,341 @@
</span><ins>+
+PASS Name "KOI8-R" has label "cskoi8r" (characterSet)
+PASS Name "KOI8-R" has label "cskoi8r" (inputEncoding)
+PASS Name "KOI8-R" has label "cskoi8r" (charset)
+PASS Name "KOI8-R" has label "koi" (characterSet)
+PASS Name "KOI8-R" has label "koi" (inputEncoding)
+PASS Name "KOI8-R" has label "koi" (charset)
+PASS Name "KOI8-R" has label "koi8" (characterSet)
+PASS Name "KOI8-R" has label "koi8" (inputEncoding)
+PASS Name "KOI8-R" has label "koi8" (charset)
+PASS Name "KOI8-R" has label "koi8-r" (characterSet)
+PASS Name "KOI8-R" has label "koi8-r" (inputEncoding)
+PASS Name "KOI8-R" has label "koi8-r" (charset)
+PASS Name "KOI8-R" has label "koi8_r" (characterSet)
+PASS Name "KOI8-R" has label "koi8_r" (inputEncoding)
+PASS Name "KOI8-R" has label "koi8_r" (charset)
+PASS Name "KOI8-U" has label "koi8-ru" (characterSet)
+PASS Name "KOI8-U" has label "koi8-ru" (inputEncoding)
+PASS Name "KOI8-U" has label "koi8-ru" (charset)
+PASS Name "KOI8-U" has label "koi8-u" (characterSet)
+PASS Name "KOI8-U" has label "koi8-u" (inputEncoding)
+PASS Name "KOI8-U" has label "koi8-u" (charset)
+PASS Name "macintosh" has label "csmacintosh" (characterSet)
+PASS Name "macintosh" has label "csmacintosh" (inputEncoding)
+PASS Name "macintosh" has label "csmacintosh" (charset)
+PASS Name "macintosh" has label "mac" (characterSet)
+PASS Name "macintosh" has label "mac" (inputEncoding)
+PASS Name "macintosh" has label "mac" (charset)
+PASS Name "macintosh" has label "macintosh" (characterSet)
+PASS Name "macintosh" has label "macintosh" (inputEncoding)
+PASS Name "macintosh" has label "macintosh" (charset)
+PASS Name "macintosh" has label "x-mac-roman" (characterSet)
+PASS Name "macintosh" has label "x-mac-roman" (inputEncoding)
+PASS Name "macintosh" has label "x-mac-roman" (charset)
+PASS Name "windows-874" has label "dos-874" (characterSet)
+PASS Name "windows-874" has label "dos-874" (inputEncoding)
+PASS Name "windows-874" has label "dos-874" (charset)
+PASS Name "windows-874" has label "iso-8859-11" (characterSet)
+PASS Name "windows-874" has label "iso-8859-11" (inputEncoding)
+PASS Name "windows-874" has label "iso-8859-11" (charset)
+PASS Name "windows-874" has label "iso8859-11" (characterSet)
+PASS Name "windows-874" has label "iso8859-11" (inputEncoding)
+PASS Name "windows-874" has label "iso8859-11" (charset)
+PASS Name "windows-874" has label "iso885911" (characterSet)
+PASS Name "windows-874" has label "iso885911" (inputEncoding)
+PASS Name "windows-874" has label "iso885911" (charset)
+PASS Name "windows-874" has label "tis-620" (characterSet)
+PASS Name "windows-874" has label "tis-620" (inputEncoding)
+PASS Name "windows-874" has label "tis-620" (charset)
+PASS Name "windows-874" has label "windows-874" (characterSet)
+PASS Name "windows-874" has label "windows-874" (inputEncoding)
+PASS Name "windows-874" has label "windows-874" (charset)
+PASS Name "windows-1250" has label "cp1250" (characterSet)
+PASS Name "windows-1250" has label "cp1250" (inputEncoding)
+PASS Name "windows-1250" has label "cp1250" (charset)
+PASS Name "windows-1250" has label "windows-1250" (characterSet)
+PASS Name "windows-1250" has label "windows-1250" (inputEncoding)
+PASS Name "windows-1250" has label "windows-1250" (charset)
+PASS Name "windows-1250" has label "x-cp1250" (characterSet)
+PASS Name "windows-1250" has label "x-cp1250" (inputEncoding)
+PASS Name "windows-1250" has label "x-cp1250" (charset)
+PASS Name "windows-1251" has label "cp1251" (characterSet)
+PASS Name "windows-1251" has label "cp1251" (inputEncoding)
+PASS Name "windows-1251" has label "cp1251" (charset)
+PASS Name "windows-1251" has label "windows-1251" (characterSet)
+PASS Name "windows-1251" has label "windows-1251" (inputEncoding)
+PASS Name "windows-1251" has label "windows-1251" (charset)
+PASS Name "windows-1251" has label "x-cp1251" (characterSet)
+PASS Name "windows-1251" has label "x-cp1251" (inputEncoding)
+PASS Name "windows-1251" has label "x-cp1251" (charset)
+PASS Name "windows-1252" has label "ansi_x3.4-1968" (characterSet)
+PASS Name "windows-1252" has label "ansi_x3.4-1968" (inputEncoding)
+PASS Name "windows-1252" has label "ansi_x3.4-1968" (charset)
+PASS Name "windows-1252" has label "ascii" (characterSet)
+PASS Name "windows-1252" has label "ascii" (inputEncoding)
+PASS Name "windows-1252" has label "ascii" (charset)
+PASS Name "windows-1252" has label "cp1252" (characterSet)
+PASS Name "windows-1252" has label "cp1252" (inputEncoding)
+PASS Name "windows-1252" has label "cp1252" (charset)
+PASS Name "windows-1252" has label "cp819" (characterSet)
+PASS Name "windows-1252" has label "cp819" (inputEncoding)
+PASS Name "windows-1252" has label "cp819" (charset)
+PASS Name "windows-1252" has label "csisolatin1" (characterSet)
+PASS Name "windows-1252" has label "csisolatin1" (inputEncoding)
+PASS Name "windows-1252" has label "csisolatin1" (charset)
+PASS Name "windows-1252" has label "ibm819" (characterSet)
+PASS Name "windows-1252" has label "ibm819" (inputEncoding)
+PASS Name "windows-1252" has label "ibm819" (charset)
+PASS Name "windows-1252" has label "iso-8859-1" (characterSet)
+PASS Name "windows-1252" has label "iso-8859-1" (inputEncoding)
+PASS Name "windows-1252" has label "iso-8859-1" (charset)
+PASS Name "windows-1252" has label "iso-ir-100" (characterSet)
+PASS Name "windows-1252" has label "iso-ir-100" (inputEncoding)
+PASS Name "windows-1252" has label "iso-ir-100" (charset)
+PASS Name "windows-1252" has label "iso8859-1" (characterSet)
+PASS Name "windows-1252" has label "iso8859-1" (inputEncoding)
+PASS Name "windows-1252" has label "iso8859-1" (charset)
+PASS Name "windows-1252" has label "iso88591" (characterSet)
+PASS Name "windows-1252" has label "iso88591" (inputEncoding)
+PASS Name "windows-1252" has label "iso88591" (charset)
+PASS Name "windows-1252" has label "iso_8859-1" (characterSet)
+PASS Name "windows-1252" has label "iso_8859-1" (inputEncoding)
+PASS Name "windows-1252" has label "iso_8859-1" (charset)
+PASS Name "windows-1252" has label "iso_8859-1:1987" (characterSet)
+PASS Name "windows-1252" has label "iso_8859-1:1987" (inputEncoding)
+PASS Name "windows-1252" has label "iso_8859-1:1987" (charset)
+PASS Name "windows-1252" has label "l1" (characterSet)
+PASS Name "windows-1252" has label "l1" (inputEncoding)
+PASS Name "windows-1252" has label "l1" (charset)
+PASS Name "windows-1252" has label "latin1" (characterSet)
+PASS Name "windows-1252" has label "latin1" (inputEncoding)
+PASS Name "windows-1252" has label "latin1" (charset)
+PASS Name "windows-1252" has label "us-ascii" (characterSet)
+PASS Name "windows-1252" has label "us-ascii" (inputEncoding)
+PASS Name "windows-1252" has label "us-ascii" (charset)
+PASS Name "windows-1252" has label "windows-1252" (characterSet)
+PASS Name "windows-1252" has label "windows-1252" (inputEncoding)
+PASS Name "windows-1252" has label "windows-1252" (charset)
+PASS Name "windows-1252" has label "x-cp1252" (characterSet)
+PASS Name "windows-1252" has label "x-cp1252" (inputEncoding)
+PASS Name "windows-1252" has label "x-cp1252" (charset)
+PASS Name "windows-1252" has label "x-user-defined" (characterSet)
+PASS Name "windows-1252" has label "x-user-defined" (inputEncoding)
+PASS Name "windows-1252" has label "x-user-defined" (charset)
+PASS Name "windows-1253" has label "cp1253" (characterSet)
+PASS Name "windows-1253" has label "cp1253" (inputEncoding)
+PASS Name "windows-1253" has label "cp1253" (charset)
+PASS Name "windows-1253" has label "windows-1253" (characterSet)
+PASS Name "windows-1253" has label "windows-1253" (inputEncoding)
+PASS Name "windows-1253" has label "windows-1253" (charset)
+PASS Name "windows-1253" has label "x-cp1253" (characterSet)
+PASS Name "windows-1253" has label "x-cp1253" (inputEncoding)
+PASS Name "windows-1253" has label "x-cp1253" (charset)
+PASS Name "windows-1254" has label "cp1254" (characterSet)
+PASS Name "windows-1254" has label "cp1254" (inputEncoding)
+PASS Name "windows-1254" has label "cp1254" (charset)
+PASS Name "windows-1254" has label "csisolatin5" (characterSet)
+PASS Name "windows-1254" has label "csisolatin5" (inputEncoding)
+PASS Name "windows-1254" has label "csisolatin5" (charset)
+PASS Name "windows-1254" has label "iso-8859-9" (characterSet)
+PASS Name "windows-1254" has label "iso-8859-9" (inputEncoding)
+PASS Name "windows-1254" has label "iso-8859-9" (charset)
+PASS Name "windows-1254" has label "iso-ir-148" (characterSet)
+PASS Name "windows-1254" has label "iso-ir-148" (inputEncoding)
+PASS Name "windows-1254" has label "iso-ir-148" (charset)
+PASS Name "windows-1254" has label "iso8859-9" (characterSet)
+PASS Name "windows-1254" has label "iso8859-9" (inputEncoding)
+PASS Name "windows-1254" has label "iso8859-9" (charset)
+PASS Name "windows-1254" has label "iso88599" (characterSet)
+PASS Name "windows-1254" has label "iso88599" (inputEncoding)
+PASS Name "windows-1254" has label "iso88599" (charset)
+PASS Name "windows-1254" has label "iso_8859-9" (characterSet)
+PASS Name "windows-1254" has label "iso_8859-9" (inputEncoding)
+PASS Name "windows-1254" has label "iso_8859-9" (charset)
+PASS Name "windows-1254" has label "iso_8859-9:1989" (characterSet)
+PASS Name "windows-1254" has label "iso_8859-9:1989" (inputEncoding)
+PASS Name "windows-1254" has label "iso_8859-9:1989" (charset)
+PASS Name "windows-1254" has label "l5" (characterSet)
+PASS Name "windows-1254" has label "l5" (inputEncoding)
+PASS Name "windows-1254" has label "l5" (charset)
+PASS Name "windows-1254" has label "latin5" (characterSet)
+PASS Name "windows-1254" has label "latin5" (inputEncoding)
+PASS Name "windows-1254" has label "latin5" (charset)
+PASS Name "windows-1254" has label "windows-1254" (characterSet)
+PASS Name "windows-1254" has label "windows-1254" (inputEncoding)
+PASS Name "windows-1254" has label "windows-1254" (charset)
+PASS Name "windows-1254" has label "x-cp1254" (characterSet)
+PASS Name "windows-1254" has label "x-cp1254" (inputEncoding)
+PASS Name "windows-1254" has label "x-cp1254" (charset)
+PASS Name "windows-1255" has label "cp1255" (characterSet)
+PASS Name "windows-1255" has label "cp1255" (inputEncoding)
+PASS Name "windows-1255" has label "cp1255" (charset)
+PASS Name "windows-1255" has label "windows-1255" (characterSet)
+PASS Name "windows-1255" has label "windows-1255" (inputEncoding)
+PASS Name "windows-1255" has label "windows-1255" (charset)
+PASS Name "windows-1255" has label "x-cp1255" (characterSet)
+PASS Name "windows-1255" has label "x-cp1255" (inputEncoding)
+PASS Name "windows-1255" has label "x-cp1255" (charset)
+PASS Name "windows-1256" has label "cp1256" (characterSet)
+PASS Name "windows-1256" has label "cp1256" (inputEncoding)
+PASS Name "windows-1256" has label "cp1256" (charset)
+PASS Name "windows-1256" has label "windows-1256" (characterSet)
+PASS Name "windows-1256" has label "windows-1256" (inputEncoding)
+PASS Name "windows-1256" has label "windows-1256" (charset)
+PASS Name "windows-1256" has label "x-cp1256" (characterSet)
+PASS Name "windows-1256" has label "x-cp1256" (inputEncoding)
+PASS Name "windows-1256" has label "x-cp1256" (charset)
+PASS Name "windows-1257" has label "cp1257" (characterSet)
+PASS Name "windows-1257" has label "cp1257" (inputEncoding)
+PASS Name "windows-1257" has label "cp1257" (charset)
+PASS Name "windows-1257" has label "windows-1257" (characterSet)
+PASS Name "windows-1257" has label "windows-1257" (inputEncoding)
+PASS Name "windows-1257" has label "windows-1257" (charset)
+PASS Name "windows-1257" has label "x-cp1257" (characterSet)
+PASS Name "windows-1257" has label "x-cp1257" (inputEncoding)
+PASS Name "windows-1257" has label "x-cp1257" (charset)
+PASS Name "windows-1258" has label "cp1258" (characterSet)
+PASS Name "windows-1258" has label "cp1258" (inputEncoding)
+PASS Name "windows-1258" has label "cp1258" (charset)
+PASS Name "windows-1258" has label "windows-1258" (characterSet)
+PASS Name "windows-1258" has label "windows-1258" (inputEncoding)
+PASS Name "windows-1258" has label "windows-1258" (charset)
+PASS Name "windows-1258" has label "x-cp1258" (characterSet)
+PASS Name "windows-1258" has label "x-cp1258" (inputEncoding)
+PASS Name "windows-1258" has label "x-cp1258" (charset)
+PASS Name "x-mac-cyrillic" has label "x-mac-cyrillic" (characterSet)
+PASS Name "x-mac-cyrillic" has label "x-mac-cyrillic" (inputEncoding)
+PASS Name "x-mac-cyrillic" has label "x-mac-cyrillic" (charset)
+PASS Name "x-mac-cyrillic" has label "x-mac-ukrainian" (characterSet)
+PASS Name "x-mac-cyrillic" has label "x-mac-ukrainian" (inputEncoding)
+PASS Name "x-mac-cyrillic" has label "x-mac-ukrainian" (charset)
+PASS Name "GBK" has label "chinese" (characterSet)
+PASS Name "GBK" has label "chinese" (inputEncoding)
+PASS Name "GBK" has label "chinese" (charset)
+PASS Name "GBK" has label "csgb2312" (characterSet)
+PASS Name "GBK" has label "csgb2312" (inputEncoding)
+PASS Name "GBK" has label "csgb2312" (charset)
+PASS Name "GBK" has label "csiso58gb231280" (characterSet)
+PASS Name "GBK" has label "csiso58gb231280" (inputEncoding)
+PASS Name "GBK" has label "csiso58gb231280" (charset)
+PASS Name "GBK" has label "gb2312" (characterSet)
+PASS Name "GBK" has label "gb2312" (inputEncoding)
+PASS Name "GBK" has label "gb2312" (charset)
+PASS Name "GBK" has label "gb_2312" (characterSet)
+PASS Name "GBK" has label "gb_2312" (inputEncoding)
+PASS Name "GBK" has label "gb_2312" (charset)
+PASS Name "GBK" has label "gb_2312-80" (characterSet)
+PASS Name "GBK" has label "gb_2312-80" (inputEncoding)
+PASS Name "GBK" has label "gb_2312-80" (charset)
+PASS Name "GBK" has label "gbk" (characterSet)
+PASS Name "GBK" has label "gbk" (inputEncoding)
+PASS Name "GBK" has label "gbk" (charset)
+PASS Name "GBK" has label "iso-ir-58" (characterSet)
+PASS Name "GBK" has label "iso-ir-58" (inputEncoding)
+PASS Name "GBK" has label "iso-ir-58" (charset)
+PASS Name "GBK" has label "x-gbk" (characterSet)
+PASS Name "GBK" has label "x-gbk" (inputEncoding)
+PASS Name "GBK" has label "x-gbk" (charset)
+PASS Name "gb18030" has label "gb18030" (characterSet)
+PASS Name "gb18030" has label "gb18030" (inputEncoding)
+PASS Name "gb18030" has label "gb18030" (charset)
+PASS Name "Big5" has label "big5" (characterSet)
+PASS Name "Big5" has label "big5" (inputEncoding)
+PASS Name "Big5" has label "big5" (charset)
+PASS Name "Big5" has label "big5-hkscs" (characterSet)
+PASS Name "Big5" has label "big5-hkscs" (inputEncoding)
+PASS Name "Big5" has label "big5-hkscs" (charset)
+PASS Name "Big5" has label "cn-big5" (characterSet)
+PASS Name "Big5" has label "cn-big5" (inputEncoding)
+PASS Name "Big5" has label "cn-big5" (charset)
+PASS Name "Big5" has label "csbig5" (characterSet)
+PASS Name "Big5" has label "csbig5" (inputEncoding)
+PASS Name "Big5" has label "csbig5" (charset)
+PASS Name "Big5" has label "x-x-big5" (characterSet)
+PASS Name "Big5" has label "x-x-big5" (inputEncoding)
+PASS Name "Big5" has label "x-x-big5" (charset)
+PASS Name "EUC-JP" has label "cseucpkdfmtjapanese" (characterSet)
+PASS Name "EUC-JP" has label "cseucpkdfmtjapanese" (inputEncoding)
+PASS Name "EUC-JP" has label "cseucpkdfmtjapanese" (charset)
+PASS Name "EUC-JP" has label "euc-jp" (characterSet)
+PASS Name "EUC-JP" has label "euc-jp" (inputEncoding)
+PASS Name "EUC-JP" has label "euc-jp" (charset)
+PASS Name "EUC-JP" has label "x-euc-jp" (characterSet)
+PASS Name "EUC-JP" has label "x-euc-jp" (inputEncoding)
+PASS Name "EUC-JP" has label "x-euc-jp" (charset)
+PASS Name "ISO-2022-JP" has label "csiso2022jp" (characterSet)
+PASS Name "ISO-2022-JP" has label "csiso2022jp" (inputEncoding)
+PASS Name "ISO-2022-JP" has label "csiso2022jp" (charset)
+PASS Name "ISO-2022-JP" has label "iso-2022-jp" (characterSet)
+PASS Name "ISO-2022-JP" has label "iso-2022-jp" (inputEncoding)
+PASS Name "ISO-2022-JP" has label "iso-2022-jp" (charset)
+PASS Name "Shift_JIS" has label "csshiftjis" (characterSet)
+PASS Name "Shift_JIS" has label "csshiftjis" (inputEncoding)
+PASS Name "Shift_JIS" has label "csshiftjis" (charset)
+PASS Name "Shift_JIS" has label "ms932" (characterSet)
+PASS Name "Shift_JIS" has label "ms932" (inputEncoding)
+PASS Name "Shift_JIS" has label "ms932" (charset)
+PASS Name "Shift_JIS" has label "ms_kanji" (characterSet)
+PASS Name "Shift_JIS" has label "ms_kanji" (inputEncoding)
+PASS Name "Shift_JIS" has label "ms_kanji" (charset)
+PASS Name "Shift_JIS" has label "shift-jis" (characterSet)
+PASS Name "Shift_JIS" has label "shift-jis" (inputEncoding)
+PASS Name "Shift_JIS" has label "shift-jis" (charset)
+PASS Name "Shift_JIS" has label "shift_jis" (characterSet)
+PASS Name "Shift_JIS" has label "shift_jis" (inputEncoding)
+PASS Name "Shift_JIS" has label "shift_jis" (charset)
+PASS Name "Shift_JIS" has label "sjis" (characterSet)
+PASS Name "Shift_JIS" has label "sjis" (inputEncoding)
+PASS Name "Shift_JIS" has label "sjis" (charset)
+PASS Name "Shift_JIS" has label "windows-31j" (characterSet)
+PASS Name "Shift_JIS" has label "windows-31j" (inputEncoding)
+PASS Name "Shift_JIS" has label "windows-31j" (charset)
+PASS Name "Shift_JIS" has label "x-sjis" (characterSet)
+PASS Name "Shift_JIS" has label "x-sjis" (inputEncoding)
+PASS Name "Shift_JIS" has label "x-sjis" (charset)
+PASS Name "EUC-KR" has label "cseuckr" (characterSet)
+PASS Name "EUC-KR" has label "cseuckr" (inputEncoding)
+PASS Name "EUC-KR" has label "cseuckr" (charset)
+PASS Name "EUC-KR" has label "csksc56011987" (characterSet)
+PASS Name "EUC-KR" has label "csksc56011987" (inputEncoding)
+PASS Name "EUC-KR" has label "csksc56011987" (charset)
+PASS Name "EUC-KR" has label "euc-kr" (characterSet)
+PASS Name "EUC-KR" has label "euc-kr" (inputEncoding)
+PASS Name "EUC-KR" has label "euc-kr" (charset)
+PASS Name "EUC-KR" has label "iso-ir-149" (characterSet)
+PASS Name "EUC-KR" has label "iso-ir-149" (inputEncoding)
+PASS Name "EUC-KR" has label "iso-ir-149" (charset)
+PASS Name "EUC-KR" has label "korean" (characterSet)
+PASS Name "EUC-KR" has label "korean" (inputEncoding)
+PASS Name "EUC-KR" has label "korean" (charset)
+PASS Name "EUC-KR" has label "ks_c_5601-1987" (characterSet)
+PASS Name "EUC-KR" has label "ks_c_5601-1987" (inputEncoding)
+PASS Name "EUC-KR" has label "ks_c_5601-1987" (charset)
+PASS Name "EUC-KR" has label "ks_c_5601-1989" (characterSet)
+PASS Name "EUC-KR" has label "ks_c_5601-1989" (inputEncoding)
+PASS Name "EUC-KR" has label "ks_c_5601-1989" (charset)
+PASS Name "EUC-KR" has label "ksc5601" (characterSet)
+PASS Name "EUC-KR" has label "ksc5601" (inputEncoding)
+PASS Name "EUC-KR" has label "ksc5601" (charset)
+PASS Name "EUC-KR" has label "ksc_5601" (characterSet)
+PASS Name "EUC-KR" has label "ksc_5601" (inputEncoding)
+PASS Name "EUC-KR" has label "ksc_5601" (charset)
+PASS Name "EUC-KR" has label "windows-949" (characterSet)
+PASS Name "EUC-KR" has label "windows-949" (inputEncoding)
+PASS Name "EUC-KR" has label "windows-949" (charset)
+PASS Name "replacement" has label "csiso2022kr" (characterSet)
+PASS Name "replacement" has label "csiso2022kr" (inputEncoding)
+PASS Name "replacement" has label "csiso2022kr" (charset)
+PASS Name "replacement" has label "hz-gb-2312" (characterSet)
+PASS Name "replacement" has label "hz-gb-2312" (inputEncoding)
+PASS Name "replacement" has label "hz-gb-2312" (charset)
+PASS Name "replacement" has label "iso-2022-cn" (characterSet)
+PASS Name "replacement" has label "iso-2022-cn" (inputEncoding)
+PASS Name "replacement" has label "iso-2022-cn" (charset)
+PASS Name "replacement" has label "iso-2022-cn-ext" (characterSet)
+PASS Name "replacement" has label "iso-2022-cn-ext" (inputEncoding)
+PASS Name "replacement" has label "iso-2022-cn-ext" (charset)
+PASS Name "replacement" has label "iso-2022-kr" (characterSet)
+PASS Name "replacement" has label "iso-2022-kr" (inputEncoding)
+PASS Name "replacement" has label "iso-2022-kr" (charset)
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcharacterSetnormalization2html"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-2.html (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-2.html                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-2.html      2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,179 @@
</span><ins>+<!doctype html>
+<title>document.characterSet (inputEncoding and charset as aliases) normalization tests</title>
+<link rel=author title="Aryeh Gregor" href=ayg@aryeh.name>
+<meta name=timeout content=long>
+<div id=log></div>
+<script src=/resources/testharness.js></script>
+<script src=/resources/testharnessreport.js></script>
+<script src="./characterset-helper.js"></script>
+<style>iframe { display: none }</style>
+<script>
+"use strict";
+
+// Taken straight from https://encoding.spec.whatwg.org/
+var encodingMap = {
+  "KOI8-R": [
+    "cskoi8r",
+    "koi",
+    "koi8",
+    "koi8-r",
+    "koi8_r",
+  ],
+  "KOI8-U": [
+    "koi8-ru",
+    "koi8-u",
+  ],
+  "macintosh": [
+    "csmacintosh",
+    "mac",
+    "macintosh",
+    "x-mac-roman",
+  ],
+  "windows-874": [
+    "dos-874",
+    "iso-8859-11",
+    "iso8859-11",
+    "iso885911",
+    "tis-620",
+    "windows-874",
+  ],
+  "windows-1250": [
+    "cp1250",
+    "windows-1250",
+    "x-cp1250",
+  ],
+  "windows-1251": [
+    "cp1251",
+    "windows-1251",
+    "x-cp1251",
+  ],
+  "windows-1252": [
+    "ansi_x3.4-1968",
+    "ascii",
+    "cp1252",
+    "cp819",
+    "csisolatin1",
+    "ibm819",
+    "iso-8859-1",
+    "iso-ir-100",
+    "iso8859-1",
+    "iso88591",
+    "iso_8859-1",
+    "iso_8859-1:1987",
+    "l1",
+    "latin1",
+    "us-ascii",
+    "windows-1252",
+    "x-cp1252",
+    // As we use <meta>, x-user-defined will map to windows-1252 per
+    // https://html.spec.whatwg.org/multipage/#documentEncoding
+    "x-user-defined"
+  ],
+  "windows-1253": [
+    "cp1253",
+    "windows-1253",
+    "x-cp1253",
+  ],
+  "windows-1254": [
+    "cp1254",
+    "csisolatin5",
+    "iso-8859-9",
+    "iso-ir-148",
+    "iso8859-9",
+    "iso88599",
+    "iso_8859-9",
+    "iso_8859-9:1989",
+    "l5",
+    "latin5",
+    "windows-1254",
+    "x-cp1254",
+  ],
+  "windows-1255": [
+    "cp1255",
+    "windows-1255",
+    "x-cp1255",
+  ],
+  "windows-1256": [
+    "cp1256",
+    "windows-1256",
+    "x-cp1256",
+  ],
+  "windows-1257": [
+    "cp1257",
+    "windows-1257",
+    "x-cp1257",
+  ],
+  "windows-1258": [
+    "cp1258",
+    "windows-1258",
+    "x-cp1258",
+  ],
+  "x-mac-cyrillic": [
+    "x-mac-cyrillic",
+    "x-mac-ukrainian",
+  ],
+  "GBK": [
+    "chinese",
+    "csgb2312",
+    "csiso58gb231280",
+    "gb2312",
+    "gb_2312",
+    "gb_2312-80",
+    "gbk",
+    "iso-ir-58",
+    "x-gbk",
+  ],
+  "gb18030": [
+    "gb18030",
+  ],
+  "Big5": [
+    "big5",
+    "big5-hkscs",
+    "cn-big5",
+    "csbig5",
+    "x-x-big5",
+  ],
+  "EUC-JP": [
+    "cseucpkdfmtjapanese",
+    "euc-jp",
+    "x-euc-jp",
+  ],
+  "ISO-2022-JP": [
+    "csiso2022jp",
+    "iso-2022-jp",
+  ],
+  "Shift_JIS": [
+    "csshiftjis",
+    "ms932",
+    "ms_kanji",
+    "shift-jis",
+    "shift_jis",
+    "sjis",
+    "windows-31j",
+    "x-sjis",
+  ],
+  "EUC-KR": [
+    "cseuckr",
+    "csksc56011987",
+    "euc-kr",
+    "iso-ir-149",
+    "korean",
+    "ks_c_5601-1987",
+    "ks_c_5601-1989",
+    "ksc5601",
+    "ksc_5601",
+    "windows-949",
+  ],
+  "replacement": [
+    "csiso2022kr",
+    "hz-gb-2312",
+    "iso-2022-cn",
+    "iso-2022-cn-ext",
+    "iso-2022-kr",
+  ],
+};
+
+runCharacterSetTests(encodingMap);
+
+</script>
+<!-- vim: set expandtab tabstop=2 shiftwidth=2: -->
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcharacterSetnormalizationhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization.html (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization.html     2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization.html        2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -1,373 +0,0 @@
</span><del>-<!doctype html>
-<title>document.characterSet (inputEncoding and charset as aliases) normalization tests</title>
-<link rel=author title="Aryeh Gregor" href=ayg@aryeh.name>
-<meta name=timeout content=long>
-<div id=log></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<style>iframe { display: none }</style>
-<script>
-"use strict";
-
-// Taken straight from https://encoding.spec.whatwg.org/
-var encodingMap = {
-  "UTF-8": [
-    "unicode-1-1-utf-8",
-    "utf-8",
-    "utf8",
-    // As we use <meta>, utf-16 will map to utf-8 per
-    // https://html.spec.whatwg.org/multipage/#documentEncoding
-    "utf-16",
-    "utf-16le",
-    "utf-16be",
-  ],
-  "IBM866": [
-    "866",
-    "cp866",
-    "csibm866",
-    "ibm866",
-  ],
-  "ISO-8859-2": [
-    "csisolatin2",
-    "iso-8859-2",
-    "iso-ir-101",
-    "iso8859-2",
-    "iso88592",
-    "iso_8859-2",
-    "iso_8859-2:1987",
-    "l2",
-    "latin2",
-  ],
-  "ISO-8859-3": [
-    "csisolatin3",
-    "iso-8859-3",
-    "iso-ir-109",
-    "iso8859-3",
-    "iso88593",
-    "iso_8859-3",
-    "iso_8859-3:1988",
-    "l3",
-    "latin3",
-  ],
-  "ISO-8859-4": [
-    "csisolatin4",
-    "iso-8859-4",
-    "iso-ir-110",
-    "iso8859-4",
-    "iso88594",
-    "iso_8859-4",
-    "iso_8859-4:1988",
-    "l4",
-    "latin4",
-  ],
-  "ISO-8859-5": [
-    "csisolatincyrillic",
-    "cyrillic",
-    "iso-8859-5",
-    "iso-ir-144",
-    "iso8859-5",
-    "iso88595",
-    "iso_8859-5",
-    "iso_8859-5:1988",
-  ],
-  "ISO-8859-6": [
-    "arabic",
-    "asmo-708",
-    "csiso88596e",
-    "csiso88596i",
-    "csisolatinarabic",
-    "ecma-114",
-    "iso-8859-6",
-    "iso-8859-6-e",
-    "iso-8859-6-i",
-    "iso-ir-127",
-    "iso8859-6",
-    "iso88596",
-    "iso_8859-6",
-    "iso_8859-6:1987",
-  ],
-  "ISO-8859-7": [
-    "csisolatingreek",
-    "ecma-118",
-    "elot_928",
-    "greek",
-    "greek8",
-    "iso-8859-7",
-    "iso-ir-126",
-    "iso8859-7",
-    "iso88597",
-    "iso_8859-7",
-    "iso_8859-7:1987",
-    "sun_eu_greek",
-  ],
-  "ISO-8859-8": [
-    "csiso88598e",
-    "csisolatinhebrew",
-    "hebrew",
-    "iso-8859-8",
-    "iso-8859-8-e",
-    "iso-ir-138",
-    "iso8859-8",
-    "iso88598",
-    "iso_8859-8",
-    "iso_8859-8:1988",
-    "visual",
-  ],
-  "ISO-8859-8-I": [
-    "csiso88598i",
-    "iso-8859-8-i",
-    "logical",
-  ],
-  "ISO-8859-10": [
-    "csisolatin6",
-    "iso-8859-10",
-    "iso-ir-157",
-    "iso8859-10",
-    "iso885910",
-    "l6",
-    "latin6",
-  ],
-  "ISO-8859-13": [
-    "iso-8859-13",
-    "iso8859-13",
-    "iso885913",
-  ],
-  "ISO-8859-14": [
-    "iso-8859-14",
-    "iso8859-14",
-    "iso885914",
-  ],
-  "ISO-8859-15": [
-    "csisolatin9",
-    "iso-8859-15",
-    "iso8859-15",
-    "iso885915",
-    "iso_8859-15",
-    "l9",
-  ],
-  "ISO-8859-16": [
-    "iso-8859-16",
-  ],
-  "KOI8-R": [
-    "cskoi8r",
-    "koi",
-    "koi8",
-    "koi8-r",
-    "koi8_r",
-  ],
-  "KOI8-U": [
-    "koi8-ru",
-    "koi8-u",
-  ],
-  "macintosh": [
-    "csmacintosh",
-    "mac",
-    "macintosh",
-    "x-mac-roman",
-  ],
-  "windows-874": [
-    "dos-874",
-    "iso-8859-11",
-    "iso8859-11",
-    "iso885911",
-    "tis-620",
-    "windows-874",
-  ],
-  "windows-1250": [
-    "cp1250",
-    "windows-1250",
-    "x-cp1250",
-  ],
-  "windows-1251": [
-    "cp1251",
-    "windows-1251",
-    "x-cp1251",
-  ],
-  "windows-1252": [
-    "ansi_x3.4-1968",
-    "ascii",
-    "cp1252",
-    "cp819",
-    "csisolatin1",
-    "ibm819",
-    "iso-8859-1",
-    "iso-ir-100",
-    "iso8859-1",
-    "iso88591",
-    "iso_8859-1",
-    "iso_8859-1:1987",
-    "l1",
-    "latin1",
-    "us-ascii",
-    "windows-1252",
-    "x-cp1252",
-    // As we use <meta>, x-user-defined will map to windows-1252 per
-    // https://html.spec.whatwg.org/multipage/#documentEncoding
-    "x-user-defined"
-  ],
-  "windows-1253": [
-    "cp1253",
-    "windows-1253",
-    "x-cp1253",
-  ],
-  "windows-1254": [
-    "cp1254",
-    "csisolatin5",
-    "iso-8859-9",
-    "iso-ir-148",
-    "iso8859-9",
-    "iso88599",
-    "iso_8859-9",
-    "iso_8859-9:1989",
-    "l5",
-    "latin5",
-    "windows-1254",
-    "x-cp1254",
-  ],
-  "windows-1255": [
-    "cp1255",
-    "windows-1255",
-    "x-cp1255",
-  ],
-  "windows-1256": [
-    "cp1256",
-    "windows-1256",
-    "x-cp1256",
-  ],
-  "windows-1257": [
-    "cp1257",
-    "windows-1257",
-    "x-cp1257",
-  ],
-  "windows-1258": [
-    "cp1258",
-    "windows-1258",
-    "x-cp1258",
-  ],
-  "x-mac-cyrillic": [
-    "x-mac-cyrillic",
-    "x-mac-ukrainian",
-  ],
-  "GBK": [
-    "chinese",
-    "csgb2312",
-    "csiso58gb231280",
-    "gb2312",
-    "gb_2312",
-    "gb_2312-80",
-    "gbk",
-    "iso-ir-58",
-    "x-gbk",
-  ],
-  "gb18030": [
-    "gb18030",
-  ],
-  "Big5": [
-    "big5",
-    "big5-hkscs",
-    "cn-big5",
-    "csbig5",
-    "x-x-big5",
-  ],
-  "EUC-JP": [
-    "cseucpkdfmtjapanese",
-    "euc-jp",
-    "x-euc-jp",
-  ],
-  "ISO-2022-JP": [
-    "csiso2022jp",
-    "iso-2022-jp",
-  ],
-  "Shift_JIS": [
-    "csshiftjis",
-    "ms932",
-    "ms_kanji",
-    "shift-jis",
-    "shift_jis",
-    "sjis",
-    "windows-31j",
-    "x-sjis",
-  ],
-  "EUC-KR": [
-    "cseuckr",
-    "csksc56011987",
-    "euc-kr",
-    "iso-ir-149",
-    "korean",
-    "ks_c_5601-1987",
-    "ks_c_5601-1989",
-    "ksc5601",
-    "ksc_5601",
-    "windows-949",
-  ],
-  "replacement": [
-    "csiso2022kr",
-    "hz-gb-2312",
-    "iso-2022-cn",
-    "iso-2022-cn-ext",
-    "iso-2022-kr",
-  ],
-};
-
-// Add spaces and mix up case
-Object.keys(encodingMap).forEach(function(name) {
-  var lower = encodingMap[name];
-  var upper = encodingMap[name].map(function(s) { return s.toUpperCase() });
-  var mixed = encodingMap[name].map(function(s) {
-    var ret = "";
-    for (var i = 0; i < s.length; i += 2) {
-      ret += s[i].toUpperCase();
-      if (i + 1 < s.length) {
-        ret += s[i + 1];
-      }
-    }
-    return ret;
-  });
-  var spacey = encodingMap[name].map(function(s) {
-    return " \t\n\f\r" + s + " \t\n\f\r";
-  });
-  encodingMap[name] = [];
-  for (var i = 0; i < lower.length; i++) {
-    encodingMap[name].push(lower[i]);
-    /*
-    if (lower[i] != upper[i]) {
-      encodingMap[name].push(upper[i]);
-    }
-    if (lower[i] != mixed[i] && upper[i] != mixed[i]) {
-      encodingMap[name].push(mixed[i]);
-    }
-    encodingMap[name].push(spacey[i]);
-    */
-  }
-});
-
-Object.keys(encodingMap).forEach(function(name) {
-  encodingMap[name].forEach(function(label) {
-    var iframe = document.createElement("iframe");
-    var t = async_test("Name " + format_value(name) +
-                       " has label " + format_value(label) + " (characterSet)");
-    var t2 = async_test("Name " + format_value(name) +
-                       " has label " + format_value(label) + " (inputEncoding)");
-    var t3 = async_test("Name " + format_value(name) +
-                       " has label " + format_value(label) + " (charset)");
-    iframe.src = "encoding.py?label=" + label;
-    iframe.onload = function() {
-      t.step(function() {
-        assert_equals(iframe.contentDocument.characterSet, name);
-      });
-      t2.step(function() {
-        assert_equals(iframe.contentDocument.inputEncoding, name);
-      });
-      t3.step(function() {
-        assert_equals(iframe.contentDocument.charset, name);
-      });
-      document.body.removeChild(iframe);
-      t.done();
-      t2.done();
-      t3.done();
-    };
-    document.body.appendChild(iframe);
-  });
-});
-</script>
-<!-- vim: set expandtab tabstop=2 shiftwidth=2: -->
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodecontainsxmlxml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-contains-xml.xml (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-contains-xml.xml        2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-contains-xml.xml   2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx">   assert_equals(pi.contains(document), false, "Processing instruction shouldn't contain document");
</span><span class="cx">   assert_equals(document.contains(pi), false, "Document shouldn't contain newly created processing instruction");
</span><span class="cx">   document.documentElement.appendChild(pi);
</span><del>-  document.contains(pi, true, "Document should contain processing instruction");
</del><ins>+  assert_equals(document.contains(pi), true, "Document should contain processing instruction");
</ins><span class="cx"> }, "contains with a processing instruction");
</span><span class="cx"> 
</span><span class="cx"> test(function() {
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesariaelementreflectiontentativeexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/aria-element-reflection.tentative-expected.txt (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/aria-element-reflection.tentative-expected.txt       2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/aria-element-reflection.tentative-expected.txt  2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -52,7 +52,7 @@
</span><span class="cx"> FAIL Setting the IDL attribute to an element which is not the first element in DOM order with its ID causes the content attribute to be an empty string assert_true: expected true got false
</span><span class="cx"> FAIL Setting an element reference that crosses into a shadow tree is disallowed, but setting one that is in a shadow inclusive ancestor is allowed. assert_equals: expected (object) null but got (undefined) undefined
</span><span class="cx"> FAIL aria-errormessage assert_equals: expected (string) "errorMessage" but got (object) null
</span><del>-FAIL aria-details assert_equals: expected (object) null but got (undefined) undefined
</del><ins>+FAIL aria-details assert_array_equals: value is undefined, expected array
</ins><span class="cx"> FAIL Deleting a reflected element should return null for the IDL attribute and cause the content attribute to become stale. assert_equals: expected (object) Element node <div role="option" id="contentAttrElement">Item 1</div> but got (undefined) undefined
</span><span class="cx"> FAIL Changing the ID of an element causes the content attribute to become out of sync. assert_equals: expected (object) Element node <div role="option" id="changingIdElement">Item 1</div> but got (undefined) undefined
</span><span class="cx"> FAIL Reparenting an element into a descendant shadow scope hides the element reference. assert_equals: null before expected (object) null but got (undefined) undefined
</span><span class="lines">@@ -63,7 +63,7 @@
</span><span class="cx"> FAIL aria-describedby. assert_array_equals: value is undefined, expected array
</span><span class="cx"> FAIL aria-flowto. assert_array_equals: value is undefined, expected array
</span><span class="cx"> FAIL aria-owns. assert_array_equals: value is undefined, expected array
</span><del>-FAIL shadow DOM behaviour for FrozenArray element reflection. assert_equals: expected (object) null but got (undefined) undefined
</del><ins>+FAIL shadow DOM behaviour for FrozenArray element reflection. assert_array_equals: value is undefined, expected array
</ins><span class="cx"> FAIL Moving explicitly set elements across shadow DOM boundaries. assert_equals: expected (string) "buttonDescription1 buttonDescription2" but got (object) null
</span><span class="cx"> FAIL Moving explicitly set elements around within the same scope, and removing from the DOM. assert_array_equals: aria-labeled by is supported by IDL getter. value is undefined, expected array
</span><span class="cx"> PASS Reparenting.
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesariaelementreflectiontentativehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/aria-element-reflection.tentative.html (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/aria-element-reflection.tentative.html       2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/aria-element-reflection.tentative.html  2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -147,7 +147,7 @@
</span><span class="cx">   <script>
</span><span class="cx"> 
</span><span class="cx">   test(function(t) {
</span><del>-    assert_equals(passwordField.ariaDetailsElements, null);
</del><ins>+    assert_array_equals(passwordField.ariaDetailsElements, []);
</ins><span class="cx">     passwordField.ariaDetailsElements = [ listItem1 ];
</span><span class="cx">     assert_equals(passwordField.getAttribute("aria-details"), "listItem1");
</span><span class="cx"> 
</span><span class="lines">@@ -341,7 +341,7 @@
</span><span class="cx">   test(function(t) {
</span><span class="cx">     const billingElement = document.getElementById("billingElement")
</span><span class="cx">     assert_array_equals(input1.ariaLabelledByElements, [billingElement, nameElement], "parsed content attribute sets element references.");
</span><del>-    assert_equals(input2.ariaLabelledByElements, null, "Testing empty content attribute after parsing.");
</del><ins>+    assert_equals(input2.ariaLabelledByElements, null, "Testing missing content attribute after parsing.");
</ins><span class="cx"> 
</span><span class="cx">     input2.ariaLabelledByElements = [billingElement, addressElement];
</span><span class="cx">     assert_array_equals(input2.ariaLabelledByElements, [billingElement, addressElement], "Testing IDL setter/getter.");
</span><span class="lines">@@ -351,12 +351,12 @@
</span><span class="cx">     // As it was explicitly set the underlying association will remain intact,
</span><span class="cx">     // but it will be hidden until the element is moved back into a valid scope.
</span><span class="cx">     billingElement.remove();
</span><del>-    assert_array_equals(input2.ariaLabelledByElements, [addressElement]);
</del><ins>+    assert_array_equals(input2.ariaLabelledByElements, [addressElement], "Computed ariaLabelledByElements shouldn't include billing when out of scope.");
</ins><span class="cx"> 
</span><span class="cx">     // Insert the billingElement back into the DOM and check that it is visible
</span><span class="cx">     // again, as the underlying association should have been kept intact.
</span><span class="cx">     billingElementContainer.appendChild(billingElement);
</span><del>-    assert_array_equals(input2.ariaLabelledByElements, [billingElement, addressElement]);
</del><ins>+    assert_array_equals(input2.ariaLabelledByElements, [billingElement, addressElement], "Billing element back in scope.");
</ins><span class="cx"> 
</span><span class="cx">     input2.ariaLabelledByElements = [];
</span><span class="cx">     assert_array_equals(input2.ariaLabelledByElements, [], "Testing IDL setter/getter for empty array.");
</span><span class="lines">@@ -366,7 +366,8 @@
</span><span class="cx">     assert_equals(input1.ariaLabelledByElements, null);
</span><span class="cx"> 
</span><span class="cx">     input1.setAttribute("aria-labelledby", "nameElement addressElement");
</span><del>-    assert_array_equals(input1.ariaLabelledByElements, [nameElement, addressElement]);
</del><ins>+    assert_array_equals(input1.ariaLabelledByElements, [nameElement, addressElement],
+      "computed value after setting attribute directly");
</ins><span class="cx"> 
</span><span class="cx">     input1.ariaLabelledByElements = null;
</span><span class="cx">     assert_false(input1.hasAttribute("aria-labelledby", "Nullifying the IDL attribute should remove the content attribute."));
</span><span class="lines">@@ -516,7 +517,7 @@
</span><span class="cx"> 
</span><span class="cx">     // The elements in the content attribute are in a "darker" tree - they
</span><span class="cx">     // enter a shadow encapsulation boundary, so not be associated any more.
</span><del>-    assert_equals(lightDomHeading.ariaFlowToElements, null);
</del><ins>+    assert_array_equals(lightDomHeading.ariaFlowToElements, []);
</ins><span class="cx"> 
</span><span class="cx">     // These elements are in a shadow including ancestor, i.e "lighter" tree.
</span><span class="cx">     // Valid for the IDL attribute, but content attribute should be null.
</span><span class="lines">@@ -526,7 +527,7 @@
</span><span class="cx">     // These IDs belong to a different scope, so the attr-associated-element
</span><span class="cx">     // cannot be computed.
</span><span class="cx">     shadowChild2.setAttribute("aria-flowto", "lightDomText1 lightDomText2");
</span><del>-    assert_equals(shadowChild2.ariaFlowToElements, null);
</del><ins>+    assert_array_equals(shadowChild2.ariaFlowToElements, []);
</ins><span class="cx"> 
</span><span class="cx">     // Elements that cross into shadow DOM are dropped, only reflect the valid
</span><span class="cx">     // elements in IDL and in the content attribute.
</span><span class="lines">@@ -661,8 +662,6 @@
</span><span class="cx">       input.ariaActiveDescendantElement = first;
</span><span class="cx">       first.parentElement.appendChild(first);
</span><span class="cx"> 
</span><del>-      // This behaviour is currently under discussion by WHATWG.
-      // See: https://github.com/whatwg/html/pull/3917#issuecomment-527263562
</del><span class="cx">       assert_equals(input.ariaActiveDescendantElement, first);
</span><span class="cx">     }, "Reparenting.");
</span><span class="cx">   </script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodescharactersethelperjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/characterset-helper.js (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/characterset-helper.js                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/characterset-helper.js  2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,62 @@
</span><ins>+function runCharacterSetTests(encodingMap) {
+  // Add spaces and mix up case
+  Object.keys(encodingMap).forEach(function(name) {
+    var lower = encodingMap[name];
+    var upper = encodingMap[name].map(function(s) { return s.toUpperCase() });
+    var mixed = encodingMap[name].map(function(s) {
+      var ret = "";
+      for (var i = 0; i < s.length; i += 2) {
+        ret += s[i].toUpperCase();
+        if (i + 1 < s.length) {
+          ret += s[i + 1];
+        }
+      }
+      return ret;
+    });
+    var spacey = encodingMap[name].map(function(s) {
+      return " \t\n\f\r" + s + " \t\n\f\r";
+    });
+    encodingMap[name] = [];
+    for (var i = 0; i < lower.length; i++) {
+      encodingMap[name].push(lower[i]);
+      /*
+      if (lower[i] != upper[i]) {
+        encodingMap[name].push(upper[i]);
+      }
+      if (lower[i] != mixed[i] && upper[i] != mixed[i]) {
+        encodingMap[name].push(mixed[i]);
+      }
+      encodingMap[name].push(spacey[i]);
+      */
+    }
+  });
+
+  Object.keys(encodingMap).forEach(function(name) {
+    encodingMap[name].forEach(function(label) {
+      var iframe = document.createElement("iframe");
+      var t = async_test("Name " + format_value(name) +
+                        " has label " + format_value(label) + " (characterSet)");
+      var t2 = async_test("Name " + format_value(name) +
+                        " has label " + format_value(label) + " (inputEncoding)");
+      var t3 = async_test("Name " + format_value(name) +
+                        " has label " + format_value(label) + " (charset)");
+      iframe.src = "encoding.py?label=" + label;
+      iframe.onload = function() {
+        t.step(function() {
+          assert_equals(iframe.contentDocument.characterSet, name);
+        });
+        t2.step(function() {
+          assert_equals(iframe.contentDocument.inputEncoding, name);
+        });
+        t3.step(function() {
+          assert_equals(iframe.contentDocument.charset, name);
+        });
+        document.body.removeChild(iframe);
+        t.done();
+        t2.done();
+        t3.done();
+      };
+      document.body.appendChild(iframe);
+    });
+  });
+}
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesencodingpy"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/encoding.py (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/encoding.py  2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/encoding.py     2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -1,7 +1,4 @@
</span><del>-try:
-    from cgi import escape
-except ImportError:
-    from html import escape
</del><ins>+from html import escape
</ins><span class="cx"> 
</span><span class="cx"> from wptserve.utils import isomorphic_decode
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesnodeappendchildcrashhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/node-appendchild-crash.html (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/node-appendchild-crash.html                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/node-appendchild-crash.html     2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+<!DOCTYPE html>
+<meta charset="utf-8">
+<link rel="author" href="mailto:masonf@chromium.org">
+<link rel="help" href="https://crbug.com/1210480">
+<meta name="assert" content="The renderer should not crash.">
+
+<iframe id=iframe></iframe>
+<select>Text Node
+  <option id=option></option>
+</select>
+
+<script>
+  window.onload=function() {
+    iframe.addEventListener('DOMNodeInsertedIntoDocument',function() {});
+    option.remove();
+    iframe.contentDocument.body.appendChild(document.body);
+  }
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/w3c-import.log (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/w3c-import.log       2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/w3c-import.log  2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -41,7 +41,8 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-Element-getElementsByTagNameNS.js
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-URL.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-adoptNode.html
</span><del>-/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization.html
</del><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-1.html
+/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-2.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-constructor-svg.svg
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-constructor-xml.xml
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-constructor.html
</span><span class="lines">@@ -211,6 +212,7 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes.js
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/case.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/case.js
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/characterset-helper.js
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/creators.js
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/encoding.py
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-01.htm
</span><span class="lines">@@ -250,6 +252,7 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassNameFrame.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/insert-adjacent.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/mutationobservers.js
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/node-appendchild-crash.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/pre-insertion-validation-hierarchy.js
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/pre-insertion-validation-notfound.js
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/prepend-on-Document.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomrangesRangecollapsehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-collapse.html (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-collapse.html 2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-collapse.html    2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -10,19 +10,11 @@
</span><span class="cx"> "use strict";
</span><span class="cx"> 
</span><span class="cx"> function testCollapse(rangeEndpoints, toStart) {
</span><del>-  var range;
-  if (rangeEndpoints == "detached") {
-    range = document.createRange();
-    range.detach(); // should be a no-op and therefore the following should not throw
-    range.collapse(toStart);
-    assert_equals(true, range.collapsed);
-  }
-
</del><span class="cx">   // Have to account for Ranges involving Documents!
</span><span class="cx">   var ownerDoc = rangeEndpoints[0].nodeType == Node.DOCUMENT_NODE
</span><span class="cx">     ? rangeEndpoints[0]
</span><span class="cx">     : rangeEndpoints[0].ownerDocument;
</span><del>-  range = ownerDoc.createRange();
</del><ins>+  var range = ownerDoc.createRange();
</ins><span class="cx">   range.setStart(rangeEndpoints[0], rangeEndpoints[1]);
</span><span class="cx">   range.setEnd(rangeEndpoints[2], rangeEndpoints[3]);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomsvginsertcrashhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/svg-insert-crash.html (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/svg-insert-crash.html      2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/svg-insert-crash.html 2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <meta charset="utf-8">
</span><del>-<link rel="author" title="Mason Freed" href="mailto:masonfreed@chromium.org">
</del><ins>+<link rel="author" href="mailto:masonf@chromium.org">
</ins><span class="cx"> <link rel="help" href="https://crbug.com/1029262">
</span><span class="cx"> <meta name="assert" content="The renderer should not crash.">
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomxsltREADMEmd"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/README.md (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/README.md                             (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/README.md        2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+# XSLT
+
+This directory contains tentative tests for [XSLT](https://dom.spec.whatwg.org/#xslt).
+
+See [whatwg/dom#181](https://github.com/whatwg/dom/issues/181) for getting XSLT
+better specified.
+
+There are additional details on XSLT in HTML:
+- [Interactions with XPath and XSLT](https://html.spec.whatwg.org/multipage/infrastructure.html#interactions-with-xpath-and-xslt)
+- [Interaction of `script` elements and XSLT](https://html.spec.whatwg.org/multipage/scripting.html#scriptTagXSLT) (non-normative)
+- [Interaction of `template` elements with XSLT and XPath](https://html.spec.whatwg.org/multipage/scripting.html#template-XSLT-XPath) (non-normative)
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomxsltexternalScriptjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/externalScript.js (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/externalScript.js                             (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/externalScript.js        2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+window.externalScript = true;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomxsltinvalidoutputencodingcrashhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/invalid-output-encoding-crash.html (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/invalid-output-encoding-crash.html                            (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/invalid-output-encoding-crash.html       2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,26 @@
</span><ins>+<body>
+
+<script id=o_xml type="text/plain">
+  <?xml version="1.0" encoding="UTF-8"?>
+</script>
+
+<script id=o_xslt type="text/plain"><?xml version="1.0" encoding="UTF-8"?>
+  <xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+    <xsl:output indent="no" omit-xml-declaration="no" encoding="bad-encoding" standalone="yes" />
+  </xsl:transform>
+</script>
+
+<script>
+addEventListener("load", function() {
+  const doc = new DOMParser();
+  const xml = doc.parseFromString(o_xml.textContent, "text/xml");
+  const xsl = doc.parseFromString(o_xslt.textContent, "text/xml");
+  const xsltPrs = new XSLTProcessor();
+  xsltPrs.importStylesheet(xsl);
+  xsltPrs.transformToDocument(xml);
+
+  document.body.appendChild(document.createTextNode("PASS: renderer didn't crash"));
+});
+</script>
+
+</body>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomxslttransformToFragmentonnodefrominactivedocumentcrashhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/transformToFragment-on-node-from-inactive-document-crash.html (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/transformToFragment-on-node-from-inactive-document-crash.html                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/transformToFragment-on-node-from-inactive-document-crash.html    2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+<body>
+<iframe id=i></iframe>
+<script>
+var el = i.contentDocument.documentElement;
+i.remove()
+var x = new XSLTProcessor();
+var xsl =new DOMParser().parseFromString('<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"/>','application/xml');
+x.importStylesheet(xsl);
+x.transformToDocument(el);
+</script>
+</body>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomxslttransformToFragmenttentativewindowexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/transformToFragment.tentative.window-expected.txt (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/transformToFragment.tentative.window-expected.txt                             (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/transformToFragment.tentative.window-expected.txt        2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+FAIL internal script assert_true: script element from XSLTProcessor.transformToFragment() is evaluated expected true got undefined
+FAIL external script assert_true: script element from XSLTProcessor.transformToFragment() is evaluated expected true got undefined
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomxslttransformToFragmenttentativewindowhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/transformToFragment.tentative.window.html (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/transformToFragment.tentative.window.html                             (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/transformToFragment.tentative.window.html        2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+<!-- This file is required for WebKit test infrastructure to run the templated test -->
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomxslttransformToFragmenttentativewindowjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/transformToFragment.tentative.window.js (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/transformToFragment.tentative.window.js                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/transformToFragment.tentative.window.js  2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+const cases = {
+  internal: '<script>window.internalScript = true;</script>',
+  external: '<script src="externalScript.js"></script>',
+};
+
+const loaded = new Promise(resolve => {
+  window.addEventListener('load', resolve);
+});
+
+Object.entries(cases).forEach(([k, v]) => {
+  const xsltSrc = `<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:output method="html" encoding="utf-8" version="5"/>
+<xsl:template match="/">
+  <section>
+    ${v}
+  </section>
+</xsl:template>
+</xsl:stylesheet>`;
+
+  const processor = new XSLTProcessor();
+  const parser = new DOMParser();
+  processor.importStylesheet(
+    parser.parseFromString(xsltSrc, 'application/xml')
+  );
+  document.body.appendChild(
+    processor.transformToFragment(
+      parser.parseFromString('<x/>', 'application/xml'),
+      document
+    )
+  );
+
+  promise_test(async () => {
+    await loaded;
+    assert_true(
+      window[`${k}Script`],
+      'script element from XSLTProcessor.transformToFragment() is evaluated'
+    );
+  }, `${k} script`);
+})
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomxsltw3cimportlogfromrev279014trunkLayoutTestsimportedw3cwebplatformtestsdomabortw3cimportlog"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/w3c-import.log (from rev 279014, trunk/LayoutTests/imported/w3c/web-platform-tests/dom/abort/w3c-import.log) (0 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/w3c-import.log                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/w3c-import.log   2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -0,0 +1,21 @@
</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 WPT github:
+       https://github.com/web-platform-tests/wpt
+
+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/dom/xslt/README.md
+/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/externalScript.js
+/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/invalid-output-encoding-crash.html
+/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/transformToFragment-on-node-from-inactive-document-crash.html
+/LayoutTests/imported/w3c/web-platform-tests/dom/xslt/transformToFragment.tentative.window.js
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsinterfacesdomidl"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/dom.idl (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/dom.idl     2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/dom.idl        2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> 
</span><span class="cx">   readonly attribute DOMString type;
</span><span class="cx">   readonly attribute EventTarget? target;
</span><del>-  readonly attribute EventTarget? srcElement; // historical
</del><ins>+  readonly attribute EventTarget? srcElement; // legacy
</ins><span class="cx">   readonly attribute EventTarget? currentTarget;
</span><span class="cx">   sequence<EventTarget> composedPath();
</span><span class="cx"> 
</span><span class="lines">@@ -20,12 +20,12 @@
</span><span class="cx">   readonly attribute unsigned short eventPhase;
</span><span class="cx"> 
</span><span class="cx">   undefined stopPropagation();
</span><del>-           attribute boolean cancelBubble; // historical alias of .stopPropagation
</del><ins>+           attribute boolean cancelBubble; // legacy alias of .stopPropagation()
</ins><span class="cx">   undefined stopImmediatePropagation();
</span><span class="cx"> 
</span><span class="cx">   readonly attribute boolean bubbles;
</span><span class="cx">   readonly attribute boolean cancelable;
</span><del>-           attribute boolean returnValue;  // historical
</del><ins>+           attribute boolean returnValue;  // legacy
</ins><span class="cx">   undefined preventDefault();
</span><span class="cx">   readonly attribute boolean defaultPrevented;
</span><span class="cx">   readonly attribute boolean composed;
</span><span class="lines">@@ -33,7 +33,7 @@
</span><span class="cx">   [LegacyUnforgeable] readonly attribute boolean isTrusted;
</span><span class="cx">   readonly attribute DOMHighResTimeStamp timeStamp;
</span><span class="cx"> 
</span><del>-  undefined initEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false); // historical
</del><ins>+  undefined initEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false); // legacy
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> dictionary EventInit {
</span><span class="lines">@@ -43,7 +43,7 @@
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> partial interface Window {
</span><del>-  [Replaceable] readonly attribute any event; // historical
</del><ins>+  [Replaceable] readonly attribute (Event or undefined) event; // legacy
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> [Exposed=(Window,Worker)]
</span><span class="lines">@@ -52,7 +52,7 @@
</span><span class="cx"> 
</span><span class="cx">   readonly attribute any detail;
</span><span class="cx"> 
</span><del>-  undefined initCustomEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false, optional any detail = null); // historical
</del><ins>+  undefined initCustomEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false, optional any detail = null); // legacy
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> dictionary CustomEventInit : EventInit {
</span><span class="lines">@@ -79,6 +79,7 @@
</span><span class="cx"> dictionary AddEventListenerOptions : EventListenerOptions {
</span><span class="cx">   boolean passive = false;
</span><span class="cx">   boolean once = false;
</span><ins>+  AbortSignal signal;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> [Exposed=(Window,Worker)]
</span><span class="lines">@@ -92,6 +93,8 @@
</span><span class="cx"> 
</span><span class="cx"> [Exposed=(Window,Worker)]
</span><span class="cx"> interface AbortSignal : EventTarget {
</span><ins>+  [NewObject] static AbortSignal abort();
+
</ins><span class="cx">   readonly attribute boolean aborted;
</span><span class="cx"> 
</span><span class="cx">   attribute EventHandler onabort;
</span><span class="lines">@@ -201,14 +204,14 @@
</span><span class="cx">   const unsigned short ATTRIBUTE_NODE = 2;
</span><span class="cx">   const unsigned short TEXT_NODE = 3;
</span><span class="cx">   const unsigned short CDATA_SECTION_NODE = 4;
</span><del>-  const unsigned short ENTITY_REFERENCE_NODE = 5; // historical
-  const unsigned short ENTITY_NODE = 6; // historical
</del><ins>+  const unsigned short ENTITY_REFERENCE_NODE = 5; // legacy
+  const unsigned short ENTITY_NODE = 6; // legacy
</ins><span class="cx">   const unsigned short PROCESSING_INSTRUCTION_NODE = 7;
</span><span class="cx">   const unsigned short COMMENT_NODE = 8;
</span><span class="cx">   const unsigned short DOCUMENT_NODE = 9;
</span><span class="cx">   const unsigned short DOCUMENT_TYPE_NODE = 10;
</span><span class="cx">   const unsigned short DOCUMENT_FRAGMENT_NODE = 11;
</span><del>-  const unsigned short NOTATION_NODE = 12; // historical
</del><ins>+  const unsigned short NOTATION_NODE = 12; // legacy
</ins><span class="cx">   readonly attribute unsigned short nodeType;
</span><span class="cx">   readonly attribute DOMString nodeName;
</span><span class="cx"> 
</span><span class="lines">@@ -232,7 +235,7 @@
</span><span class="cx"> 
</span><span class="cx">   [CEReactions, NewObject] Node cloneNode(optional boolean deep = false);
</span><span class="cx">   boolean isEqualNode(Node? otherNode);
</span><del>-  boolean isSameNode(Node? otherNode); // historical alias of ===
</del><ins>+  boolean isSameNode(Node? otherNode); // legacy alias of ===
</ins><span class="cx"> 
</span><span class="cx">   const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01;
</span><span class="cx">   const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02;
</span><span class="lines">@@ -266,8 +269,8 @@
</span><span class="cx">   readonly attribute USVString documentURI;
</span><span class="cx">   readonly attribute DOMString compatMode;
</span><span class="cx">   readonly attribute DOMString characterSet;
</span><del>-  readonly attribute DOMString charset; // historical alias of .characterSet
-  readonly attribute DOMString inputEncoding; // historical alias of .characterSet
</del><ins>+  readonly attribute DOMString charset; // legacy alias of .characterSet
+  readonly attribute DOMString inputEncoding; // legacy alias of .characterSet
</ins><span class="cx">   readonly attribute DOMString contentType;
</span><span class="cx"> 
</span><span class="cx">   readonly attribute DocumentType? doctype;
</span><span class="lines">@@ -290,7 +293,7 @@
</span><span class="cx">   [NewObject] Attr createAttribute(DOMString localName);
</span><span class="cx">   [NewObject] Attr createAttributeNS(DOMString? namespace, DOMString qualifiedName);
</span><span class="cx"> 
</span><del>-  [NewObject] Event createEvent(DOMString interface); // historical
</del><ins>+  [NewObject] Event createEvent(DOMString interface); // legacy
</ins><span class="cx"> 
</span><span class="cx">   [NewObject] Range createRange();
</span><span class="cx"> 
</span><span class="lines">@@ -330,11 +333,14 @@
</span><span class="cx"> [Exposed=Window]
</span><span class="cx"> interface ShadowRoot : DocumentFragment {
</span><span class="cx">   readonly attribute ShadowRootMode mode;
</span><ins>+  readonly attribute boolean delegatesFocus;
+  readonly attribute SlotAssignmentMode slotAssignment;
</ins><span class="cx">   readonly attribute Element host;
</span><span class="cx">   attribute EventHandler onslotchange;
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> enum ShadowRootMode { "open", "closed" };
</span><ins>+enum SlotAssignmentMode { "manual", "named" };
</ins><span class="cx"> 
</span><span class="cx"> [Exposed=Window]
</span><span class="cx"> interface Element : Node {
</span><span class="lines">@@ -372,19 +378,20 @@
</span><span class="cx"> 
</span><span class="cx">   Element? closest(DOMString selectors);
</span><span class="cx">   boolean matches(DOMString selectors);
</span><del>-  boolean webkitMatchesSelector(DOMString selectors); // historical alias of .matches
</del><ins>+  boolean webkitMatchesSelector(DOMString selectors); // legacy alias of .matches
</ins><span class="cx"> 
</span><span class="cx">   HTMLCollection getElementsByTagName(DOMString qualifiedName);
</span><span class="cx">   HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString localName);
</span><span class="cx">   HTMLCollection getElementsByClassName(DOMString classNames);
</span><span class="cx"> 
</span><del>-  [CEReactions] Element? insertAdjacentElement(DOMString where, Element element); // historical
-  undefined insertAdjacentText(DOMString where, DOMString data); // historical
</del><ins>+  [CEReactions] Element? insertAdjacentElement(DOMString where, Element element); // legacy
+  undefined insertAdjacentText(DOMString where, DOMString data); // legacy
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> dictionary ShadowRootInit {
</span><span class="cx">   required ShadowRootMode mode;
</span><span class="cx">   boolean delegatesFocus = false;
</span><ins>+  SlotAssignmentMode slotAssignment = "named";
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> [Exposed=Window,
</span><span class="lines">@@ -545,14 +552,14 @@
</span><span class="cx">   const unsigned long SHOW_ATTRIBUTE = 0x2;
</span><span class="cx">   const unsigned long SHOW_TEXT = 0x4;
</span><span class="cx">   const unsigned long SHOW_CDATA_SECTION = 0x8;
</span><del>-  const unsigned long SHOW_ENTITY_REFERENCE = 0x10; // historical
-  const unsigned long SHOW_ENTITY = 0x20; // historical
</del><ins>+  const unsigned long SHOW_ENTITY_REFERENCE = 0x10; // legacy
+  const unsigned long SHOW_ENTITY = 0x20; // legacy
</ins><span class="cx">   const unsigned long SHOW_PROCESSING_INSTRUCTION = 0x40;
</span><span class="cx">   const unsigned long SHOW_COMMENT = 0x80;
</span><span class="cx">   const unsigned long SHOW_DOCUMENT = 0x100;
</span><span class="cx">   const unsigned long SHOW_DOCUMENT_TYPE = 0x200;
</span><span class="cx">   const unsigned long SHOW_DOCUMENT_FRAGMENT = 0x400;
</span><del>-  const unsigned long SHOW_NOTATION = 0x800; // historical
</del><ins>+  const unsigned long SHOW_NOTATION = 0x800; // legacy
</ins><span class="cx"> 
</span><span class="cx">   unsigned short acceptNode(Node node);
</span><span class="cx"> };
</span><span class="lines">@@ -620,3 +627,16 @@
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> XPathEvaluator includes XPathEvaluatorBase;
</span><ins>+
+[Exposed=Window]
+interface XSLTProcessor {
+  constructor();
+  undefined importStylesheet(Node style);
+  [CEReactions] DocumentFragment transformToFragment(Node source, Document output);
+  [CEReactions] Document transformToDocument(Node source);
+  undefined setParameter([LegacyNullToEmptyString] DOMString namespaceURI, DOMString localName, any value);
+  any getParameter([LegacyNullToEmptyString] DOMString namespaceURI, DOMString localName);
+  undefined removeParameter([LegacyNullToEmptyString] DOMString namespaceURI, DOMString localName);
+  undefined clearParameters();
+  undefined reset();
+};
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiosTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios/TestExpectations (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios/TestExpectations  2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/platform/ios/TestExpectations     2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -34,8 +34,6 @@
</span><span class="cx"> http/tests/preload/viewport [ Pass ]
</span><span class="cx"> http/tests/gzip-content-encoding [ Pass ]
</span><span class="cx"> 
</span><del>-imported/w3c/web-platform-tests/dom/events/document-level-touchmove-event-listener-passive-by-default.html [ Pass ]
-
</del><span class="cx"> imported/w3c/web-platform-tests/speech-api/ [ Pass ]
</span><span class="cx"> 
</span><span class="cx"> #//////////////////////////////////////////////////////////////////////////////////////////
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk2TestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac-wk2/TestExpectations (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk2/TestExpectations      2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/platform/mac-wk2/TestExpectations 2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -934,8 +934,6 @@
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/208396 http/tests/misc/object-embedding-svg-delayed-size-negotiation-2.htm [ Pass Failure ]
</span><span class="cx"> 
</span><del>-webkit.org/b/208394 imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization.html [ Pass Failure ]
-
</del><span class="cx"> webkit.org/b/208577 [ Release ] fast/hidpi/image-srcset-relative-svg-canvas.html [ Pass ImageOnlyFailure ]
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/208590 [ Debug ] fast/events/beforeunload-prompt.html [ Pass Crash ]
</span><span class="lines">@@ -1376,4 +1374,4 @@
</span><span class="cx"> webkit.org/b/225521 [ Release ] media/modern-media-controls/pip-support/pip-support-enabled.html [ Pass Failure ]
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/226783 [ arm64 ] http/tests/contentextensions/plugin-doesnt-crash.html [ Skip ]
</span><del>-webkit.org/b/226783 [ arm64 ] tiled-drawing/scrolling/non-fast-region/wheel-event-plugin.html [ Skip ]
</del><span class="cx">\ No newline at end of file
</span><ins>+webkit.org/b/226783 [ arm64 ] tiled-drawing/scrolling/non-fast-region/wheel-event-plugin.html [ Skip ]
</ins></span></pre></div>
<a id="trunkLayoutTeststestsoptionsjson"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tests-options.json (279014 => 279015)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tests-options.json     2021-06-17 22:14:17 UTC (rev 279014)
+++ trunk/LayoutTests/tests-options.json        2021-06-17 22:20:37 UTC (rev 279015)
</span><span class="lines">@@ -716,6 +716,12 @@
</span><span class="cx">     "imported/w3c/web-platform-tests/dom/events/scrolling/scrollend-event-fired-for-scrollIntoView.html": [
</span><span class="cx">         "slow"
</span><span class="cx">     ],
</span><ins>+    "imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-1.html": [
+        "slow"
+    ],
+    "imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-2.html": [
+        "slow"
+    ],
</ins><span class="cx">     "imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization.html": [
</span><span class="cx">         "slow"
</span><span class="cx">     ],
</span></span></pre>
</div>
</div>

</body>
</html>