<!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>[279894] 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/279894">279894</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2021-07-13 15:40:14 -0700 (Tue, 13 Jul 2021)</dd>
</dl>

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

Reviewed by Geoffrey Garen.

Resync webmessaging WPT tests from upstream 42c571ee2ec9742f0c46ca.

* resources/resource-files.json:
* web-platform-tests/webmessaging/*: Updated.</pre>

<h3>Modified Paths</h3>
<ul>
<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="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingeventsourcehtm">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/event.source.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingeventsourcexoriginsubhtm">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/event.source.xorigin.sub.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingsupportw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/support/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsplatformioswk2TestExpectations">trunk/LayoutTests/platform/ios-wk2/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformmacTestExpectations">trunk/LayoutTests/platform/mac/TestExpectations</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_Blobanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_Blobanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_Blobanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_Blobanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_Blobanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_DataCloneErranyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_DataCloneErranyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_DataCloneErranyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_DataCloneErranyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_DataCloneErranyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_portanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_portanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_portanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_portanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_portanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_port_erroranyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_port_erroranyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_port_erroranyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_port_erroranyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_port_erroranyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_event_propertiesanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_event_propertiesanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_event_propertiesanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_event_propertiesanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_event_propertiesanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_ports_readonly_arrayanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_ports_readonly_arrayanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_ports_readonly_arrayanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_ports_readonly_arrayanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_ports_readonly_arrayanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_target_sourceanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_target_sourceanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_target_sourceanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_target_sourceanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_target_sourceanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedwindowexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.window-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedwindowhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.window.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedwindowjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.window.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_initial_disabledanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_initial_disabledanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_initial_disabledanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_initial_disabledanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_initial_disabledanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_onmessage_startanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_onmessage_startanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_onmessage_startanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_onmessage_startanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_onmessage_startanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelbasicsanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelbasicsanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelbasicsanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelbasicsanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelbasicsanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelinterfaceanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelinterfaceanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelinterfaceanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelinterfaceanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelinterfaceanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsbasicsanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsbasicsanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsbasicsanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsbasicsanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsbasicsanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelscloseanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelscloseanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelscloseanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelscloseanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelscloseanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelscrossdocumentexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/cross-document-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelscrossdocumenthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/cross-document.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsdictionarytransferrableanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsdictionarytransferrableanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsdictionarytransferrableanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsdictionarytransferrableanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsdictionarytransferrableanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsimpliedstartanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsimpliedstartanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsimpliedstartanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsimpliedstartanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsimpliedstartanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsnostartanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsnostartanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsnostartanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsnostartanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsnostartanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any.worker.html</a></li>
<li>trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/resources/</li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsresourcescrossdocument1html">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/resources/cross-document-1.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsresourcescrossdocument2html">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/resources/cross-document-2.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsresourcesw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/resources/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsuseractivationtentativeanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsuseractivationtentativeanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsuseractivationtentativeanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsuseractivationtentativeanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsuseractivationtentativeanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkerpostaftercloseanyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkerpostaftercloseanyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkerpostaftercloseanyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkerpostaftercloseanyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkerpostaftercloseanyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any.worker.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkeranyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkeranyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkeranyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkeranyworkerexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any.worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkeranyworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any.worker.html</a></li>
<li>trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/</li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalsbroadcastchannelcurrentsubexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/broadcastchannel-current.sub-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalsbroadcastchannelcurrentsubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/broadcastchannel-current.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalsbroadcastchannelincumbentsubexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/broadcastchannel-incumbent.sub-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalsbroadcastchannelincumbentsubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/broadcastchannel-incumbent.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalsmessageportcurrentexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/messageport-current-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalsmessageportcurrenthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/messageport-current.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalsmessageportincumbentexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/messageport-incumbent-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalsmessageportincumbenthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/messageport-incumbent.html</a></li>
<li>trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/</li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalssupportcurrentdocumentdomainsubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/current-document-domain.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalssupportcurrenthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/current.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalssupportincumbentdocumentdomainsubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/incumbent-document-domain.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalssupportincumbenthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/incumbent.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalssupportw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalsw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingsupportMessageEventtrustedworkerjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/support/MessageEvent-trusted-worker.js</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_Blobhtm">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_DataCloneErrhtm">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_porthtm">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_port_errorhtm">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_event_propertieshtm">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_ports_readonly_arrayhtm">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_target_sourcehtm">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedworkerjs">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted-worker.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_initial_disabledhtm">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_onmessage_starthtm">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelbasicshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelinterfacehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels001expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/001-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels001html">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/001.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels002expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/002-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels002html">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/002.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels003expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/003-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels003html">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/003.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels0041html">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004-1.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels0042html">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004-2.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels004expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels004html">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsclosehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsdictionarytransferrablehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsuseractivationtentativehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkerpostafterclosehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkerhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.html</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog 2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/ChangeLog    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,5 +1,17 @@
</span><span class="cx"> 2021-07-13  Chris Dumez  <cdumez@apple.com>
</span><span class="cx"> 
</span><ins>+        Resync webmessaging WPT tests from upstream
+        https://bugs.webkit.org/show_bug.cgi?id=227919
+
+        Reviewed by Geoffrey Garen.
+
+        Resync webmessaging WPT tests from upstream 42c571ee2ec9742f0c46ca.
+
+        * resources/resource-files.json:
+        * web-platform-tests/webmessaging/*: Updated.
+
+2021-07-13  Chris Dumez  <cdumez@apple.com>
+
</ins><span class="cx">         Revoking Blob URL after calling XMLHttpRequest::open() causes the XHR to fail
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=227821
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cresourcesresourcefilesjson"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/resources/resource-files.json (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/resources/resource-files.json     2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/resources/resource-files.json        2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -2877,6 +2877,10 @@
</span><span class="cx">         "web-platform-tests/upgrade-insecure-requests/support/post-origin-to-parent.html",
</span><span class="cx">         "web-platform-tests/webmessaging/message-channels/004-1.html",
</span><span class="cx">         "web-platform-tests/webmessaging/message-channels/004-2.html",
</span><ins>+        "web-platform-tests/webmessaging/multi-globals/support/current-document-domain.sub.html",
+        "web-platform-tests/webmessaging/multi-globals/support/current.html",
+        "web-platform-tests/webmessaging/multi-globals/support/incumbent-document-domain.sub.html",
+        "web-platform-tests/webmessaging/multi-globals/support/incumbent.html",
</ins><span class="cx">         "web-platform-tests/webmessaging/support/ChildWindowPostMessage.htm",
</span><span class="cx">         "web-platform-tests/webmessaging/without-ports/019-1.html",
</span><span class="cx">         "web-platform-tests/webmessaging/without-ports/020-1.html",
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_Blobanyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any-expected.txt                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any-expected.txt    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Test Description: Messages can contain Blobs.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_Blobanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any.html                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any.html    2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_Blobanyjsfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_Blobhtm"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any.js (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.htm) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any.js                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any.js      2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,34 @@
</span><ins>+// META: title=postMessage() with a Blob
+
+    var TARGET = null;
+    var SOURCE = null;
+    var description = "Messages can contain Blobs.";
+
+    var t = async_test("Test Description: " + description);
+
+    var channel = new MessageChannel();
+    SOURCE = channel.port1;
+    TARGET = channel.port2;
+    TARGET.start();
+    TARGET.addEventListener("message", t.step_func(TestMessageEvent), true);
+
+    (function() {
+      SOURCE.postMessage({blob: new Blob(['foo', 'bar'])});
+    })();
+    // TODO(https://github.com/web-platform-tests/wpt/issues/7899): Change to
+    // some sort of cross-browser GC trigger.
+    if (self.gc) self.gc();
+
+    function TestMessageEvent(evt)
+    {
+        assert_true('blob' in evt.data);
+        assert_true(evt.data.blob instanceof Blob);
+        assert_equals(evt.data.blob.size, 6);
+        const reader = new FileReader();
+        reader.onerror = t.unreached_func('Reading blob failed');
+        reader.onload = t.step_func(() => {
+            assert_equals(reader.result, 'foobar');
+            t.done();
+          });
+        reader.readAsText(evt.data.blob);
+    }
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_Blobanyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any.worker-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any.worker-expected.txt                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any.worker-expected.txt     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Test Description: Messages can contain Blobs.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_Blobanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any.worker.html                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any.worker.html     2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_Blobhtm"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.htm (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.htm      2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.htm 2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,45 +0,0 @@
</span><del>-<!DOCTYPE html>
-<html>
-<head>
-<title> postMessage() with a Blob </title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-</head>
-<body>
-<div id=log></div>
-<script>
-    var TARGET = null;
-    var SOURCE = null;
-    var description = "Messages can contain Blobs.";
-
-    var t = async_test("Test Description: " + description);
-
-    var channel = new MessageChannel();
-    SOURCE = channel.port1;
-    TARGET = channel.port2;
-    TARGET.start();
-    TARGET.addEventListener("message", t.step_func(TestMessageEvent), true);
-
-    (function() {
-      SOURCE.postMessage({blob: new Blob(['foo', 'bar'])});
-    })();
-    // TODO(https://github.com/web-platform-tests/wpt/issues/7899): Change to
-    // some sort of cross-browser GC trigger.
-    if (self.gc) self.gc();
-
-    function TestMessageEvent(evt)
-    {
-        assert_true('blob' in evt.data);
-        assert_true(evt.data.blob instanceof Blob);
-        assert_equals(evt.data.blob.size, 6);
-        const reader = new FileReader();
-        reader.onerror = t.unreached_func('Reading blob failed');
-        reader.onload = t.step_func(() => {
-            assert_equals(reader.result, 'foobar');
-            t.done();
-          });
-        reader.readAsText(evt.data.blob);
-    }
-</script>
-</body>
-</html>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_DataCloneErranyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any-expected.txt                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any-expected.txt    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Throw a DataCloneError when a host object (e.g. a DOM node) is used with postMessage.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_DataCloneErranyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any.html                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any.html    2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_DataCloneErranyjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any.js (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any.js                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any.js      2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+// META: title=postMessage() with a host object raises DataCloneError
+
+    var description = "Throw a DataCloneError when a host object (e.g. a DOM node) is used with postMessage.";
+
+    test(function()
+    {
+        var channel = new MessageChannel();
+        channel.port1.start();
+
+        assert_throws_dom("DATA_CLONE_ERR", function()
+        {
+            channel.port1.postMessage(globalThis);
+        });
+    }, description);
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_DataCloneErranyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any.worker-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any.worker-expected.txt                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any.worker-expected.txt     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Throw a DataCloneError when a host object (e.g. a DOM node) is used with postMessage.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_DataCloneErranyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any.worker.html                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any.worker.html     2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_DataCloneErrhtm"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.htm (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.htm      2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.htm 2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,26 +0,0 @@
</span><del>-<!DOCTYPE html>
-<html>
-<head>
-<title> postMessage() with a host object raises DataCloneError </title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-</head>
-<body>
-<div id=log></div>
-<script>
-
-    var description = "Throw a DataCloneError when a host object (e.g. a DOM node) is used with postMessage.";
-
-    test(function()
-    {
-        var channel = new MessageChannel();
-        channel.port1.start();
-
-        assert_throws_dom("DATA_CLONE_ERR", function()
-        {
-            channel.port1.postMessage(navigator);
-        });
-    }, description);
-</script>
-</body>
-</html>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_portanyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any-expected.txt                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any-expected.txt      2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+PASS Test Description: Test Description: When the user agent is to clone a port original port, with the clone being owned by owner, it must return a new MessagePort object
+PASS Data sent through remote port is received by the new cloned port
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_portanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any.html                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any.html      2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_portanyjsfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_porthtm"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any.js (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.htm) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any.js                             (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any.js        2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+// META: title=postMessage(): clone a port
+
+    var OriginalPort = null;
+    var ClonedPort = null;
+    var description = "Test Description: When the user agent is to clone a port original port, with "
+                    + "the clone being owned by owner, it must return a new MessagePort object";
+
+    var t = async_test("Test Description: " + description);
+
+    var ChannelA = new MessageChannel();
+    var ChannelB = new MessageChannel();
+    OriginalPort = ChannelB.port2;
+
+    ChannelA.port2.onmessage = t.step_func(function(evt)
+    {
+        if(evt.data == "ports")
+        {
+            ClonedPort = evt.ports[0];
+
+            assert_not_equals(ClonedPort, OriginalPort, "new cloned port object should not equal to the original port!");
+
+            ClonedPort.onmessage = function(e)
+            {
+                test(function(){ assert_equals(e.data, "ping"); }, "Data sent through remote port is received by the new cloned port");
+                t.done();
+            }
+        }
+    });
+
+    ChannelA.port1.postMessage("ports", [OriginalPort]);
+    ChannelB.port1.postMessage("ping");
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_portanyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any.worker-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any.worker-expected.txt                            (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any.worker-expected.txt       2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+PASS Test Description: Test Description: When the user agent is to clone a port original port, with the clone being owned by owner, it must return a new MessagePort object
+PASS Data sent through remote port is received by the new cloned port
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_portanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any.worker.html                            (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any.worker.html       2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_porthtm"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.htm (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.htm        2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.htm   2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,42 +0,0 @@
</span><del>-<!DOCTYPE html>
-<html>
-<head>
-<title> postMessage(): clone a port </title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-</head>
-<body>
-<div id=log></div>
-<script>
-    var OriginalPort = null;
-    var ClonedPort = null;
-    var description = "Test Description: When the user agent is to clone a port original port, with "
-                    + "the clone being owned by owner, it must return a new MessagePort object";
-
-    var t = async_test("Test Description: " + description);
-
-    var ChannelA = new MessageChannel();
-    var ChannelB = new MessageChannel();
-    OriginalPort = ChannelB.port2;
-
-    ChannelA.port2.onmessage = t.step_func(function(evt)
-    {
-        if(evt.data == "ports")
-        {
-            ClonedPort = evt.ports[0];
-
-            assert_not_equals(ClonedPort, OriginalPort, "new cloned port object should not equal to the original port!");
-
-            ClonedPort.onmessage = function(e)
-            {
-                test(function(){ assert_equals(e.data, "ping"); }, "Data sent through remote port is received by the new cloned port");
-                t.done();
-            }
-        }
-    });
-
-    ChannelA.port1.postMessage("ports", [OriginalPort]);
-    ChannelB.port1.postMessage("ping");
-</script>
-</body>
-</html>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_port_erroranyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any-expected.txt                             (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any-expected.txt        2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Test Description: Throw a DataCloneError if transfer array in postMessage contains source port.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_port_erroranyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any.html                             (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any.html        2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_port_erroranyjsfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_port_errorhtm"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any.js (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.htm) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any.js                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any.js  2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+// META: title=postMessage() DataCloneError: cloning source port
+
+    var description = "Test Description: Throw a DataCloneError if transfer array in postMessage contains source port.";
+
+    test(function()
+    {
+        var channel = new MessageChannel();
+        channel.port1.start();
+
+        assert_throws_dom("DATA_CLONE_ERR", function()
+        {
+            channel.port1.postMessage("ports", [channel.port1]);
+        });
+    }, description);
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_port_erroranyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any.worker-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any.worker-expected.txt                              (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any.worker-expected.txt 2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Test Description: Throw a DataCloneError if transfer array in postMessage contains source port.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_port_erroranyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any.worker.html                              (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any.worker.html 2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_clone_port_errorhtm"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.htm (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.htm  2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.htm     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,26 +0,0 @@
</span><del>-<!DOCTYPE html>
-<html>
-<head>
-<title> postMessage() DataCloneError: cloning source port </title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-</head>
-<body>
-<div id=log></div>
-<script>
-
-    var description = "Test Description: Throw a DataCloneError if transfer array in postMessage contains source port.";
-
-    test(function()
-    {
-        var channel = new MessageChannel();
-        channel.port1.start();
-
-        assert_throws_dom("DATA_CLONE_ERR", function()
-        {
-            channel.port1.postMessage("ports", [channel.port1]);
-        });
-    }, description);
-</script>
-</body>
-</html>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_event_propertiesanyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any-expected.txt                             (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any-expected.txt        2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Test Description: The postMessage() method - Create an event that uses the MessageEvent interface, with the name message, which does not bubble and is not cancelable.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_event_propertiesanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any.html                             (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any.html        2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_event_propertiesanyjsfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_event_propertieshtm"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any.js (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.htm) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any.js                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any.js  2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+// META: title=postMessage(): MessageEvent properties
+
+    var TargetPort = null;
+    var description = "The postMessage() method - Create an event that uses the MessageEvent interface, "
+                    + "with the name message, which does not bubble and is not cancelable.";
+
+    var t = async_test("Test Description: " + description);
+
+    var channel = new MessageChannel();
+
+    TargetPort = channel.port2;
+    TargetPort.start();
+    TargetPort.addEventListener("message", t.step_func(TestMessageEvent), true);
+
+    channel.port1.postMessage("ping");
+
+    function TestMessageEvent(evt)
+    {
+        ExpectedResult = [true, "message", false, false];
+        ActualResult = [(evt instanceof MessageEvent), evt.type, evt.bubbles, evt.cancelable];
+
+        assert_array_equals(ActualResult, ExpectedResult);
+        t.done();
+    }
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_event_propertiesanyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any.worker-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any.worker-expected.txt                              (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any.worker-expected.txt 2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Test Description: The postMessage() method - Create an event that uses the MessageEvent interface, with the name message, which does not bubble and is not cancelable.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_event_propertiesanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any.worker.html                              (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any.worker.html 2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_event_propertieshtm"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.htm (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.htm  2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.htm     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,36 +0,0 @@
</span><del>-<!DOCTYPE html>
-<html>
-<head>
-<title> postMessage(): MessageEvent properties </title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-</head>
-<body>
-<div id=log></div>
-<script>
-
-    var TargetPort = null;
-    var description = "The postMessage() method - Create an event that uses the MessageEvent interface, "
-                    + "with the name message, which does not bubble and is not cancelable.";
-
-    var t = async_test("Test Description: " + description);
-
-    var channel = new MessageChannel();
-
-    TargetPort = channel.port2;
-    TargetPort.start();
-    TargetPort.addEventListener("message", t.step_func(TestMessageEvent), true);
-
-    channel.port1.postMessage("ping");
-
-    function TestMessageEvent(evt)
-    {
-        ExpectedResult = [true, "message", false, false];
-        ActualResult = [(evt instanceof MessageEvent), evt.type, evt.bubbles, evt.cancelable];
-
-        assert_array_equals(ActualResult, ExpectedResult);
-        t.done();
-    }
-</script>
-</body>
-</html>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_ports_readonly_arrayanyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any-expected.txt                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any-expected.txt    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Test Description: The postMessage() method - Make new ports into a read only array.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_ports_readonly_arrayanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any.html                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any.html    2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_ports_readonly_arrayanyjsfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_ports_readonly_arrayhtm"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any.js (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.htm) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any.js                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any.js      2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,28 @@
</span><ins>+// META: title=postMessage(): read-only ports array
+
+    "use strict";
+
+    var TargetPort = null;
+    var description = "The postMessage() method - Make new ports into a read only array.";
+
+    var t = async_test("Test Description: " + description);
+
+    var channel = new MessageChannel();
+
+    TargetPort = channel.port2;
+    TargetPort.start();
+    TargetPort.addEventListener("message", t.step_func(TestMessageEvent), true);
+
+    var channel2 = new MessageChannel();
+
+    channel.port1.postMessage("ports", [channel2.port1]);
+
+    function TestMessageEvent(evt)
+    {
+        var channel3 = new MessageChannel();
+        assert_throws_js(TypeError, () => {
+            evt.ports.push(channel3.port1);
+        }, "ports is a frozen object");
+        assert_equals(evt.ports.length, 1, "ports is a read only array with length == 1.");
+        t.done();
+    }
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_ports_readonly_arrayanyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any.worker-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any.worker-expected.txt                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any.worker-expected.txt     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Test Description: The postMessage() method - Make new ports into a read only array.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_ports_readonly_arrayanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any.worker.html                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any.worker.html     2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_ports_readonly_arrayhtm"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.htm (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.htm      2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.htm 2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-<!DOCTYPE html>
-<html>
-<head>
-<title> postMessage(): read-only ports array </title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-</head>
-<body>
-<div id=log></div>
-<script>
-    "use strict";
-
-    var TargetPort = null;
-    var description = "The postMessage() method - Make new ports into a read only array.";
-
-    var t = async_test("Test Description: " + description);
-
-    var channel = new MessageChannel();
-
-    TargetPort = channel.port2;
-    TargetPort.start();
-    TargetPort.addEventListener("message", t.step_func(TestMessageEvent), true);
-
-    var channel2 = new MessageChannel();
-
-    channel.port1.postMessage("ports", [channel2.port1]);
-
-    function TestMessageEvent(evt)
-    {
-        var channel3 = new MessageChannel();
-        assert_throws_js(TypeError, () => {
-            evt.ports.push(channel3.port1);
-        }, "ports is a frozen object");
-        assert_equals(evt.ports.length, 1, "ports is a read only array with length == 1.");
-        t.done();
-    }
-</script>
-</body>
-</html>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_target_sourceanyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any-expected.txt   2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Test Description: The postMessage() method - Let target port be the port with which source port is entangled, if any.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_target_sourceanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any.html   2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_target_sourceanyjsfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_target_sourcehtm"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any.js (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.htm) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any.js                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any.js     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,23 @@
</span><ins>+// META: title=postMessage(): target port and source port
+
+    var TARGET = null;
+    var SOURCE = null;
+    var description = "The postMessage() method - Let target port be the port with which source "
+                    + "port is entangled, if any.";
+
+    var t = async_test("Test Description: " + description);
+
+    var channel = new MessageChannel();
+    SOURCE = channel.port1;
+    TARGET = channel.port2;
+    TARGET.start();
+    TARGET.addEventListener("message", t.step_func(TestMessageEvent), true);
+
+    SOURCE.postMessage("ping");
+
+    function TestMessageEvent(evt)
+    {
+        assert_equals(evt.target, TARGET);
+        assert_not_equals(evt.target, SOURCE);
+        t.done();
+    }
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_target_sourceanyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any.worker-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any.worker-expected.txt                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any.worker-expected.txt    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Test Description: The postMessage() method - Let target port be the port with which source port is entangled, if any.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_target_sourceanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any.worker.html                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any.worker.html    2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingChannel_postMessage_target_sourcehtm"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.htm (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.htm     2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.htm        2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,35 +0,0 @@
</span><del>-<!DOCTYPE html>
-<html>
-<head>
-<title> postMessage(): target port and source port </title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-</head>
-<body>
-<div id=log></div>
-<script>
-
-    var TARGET = null;
-    var SOURCE = null;
-    var description = "The postMessage() method - Let target port be the port with which source "
-                    + "port is entangled, if any.";
-
-    var t = async_test("Test Description: " + description);
-
-    var channel = new MessageChannel();
-    SOURCE = channel.port1;
-    TARGET = channel.port2;
-    TARGET.start();
-    TARGET.addEventListener("message", t.step_func(TestMessageEvent), true);
-
-    SOURCE.postMessage("ping");
-
-    function TestMessageEvent(evt)
-    {
-        assert_equals(evt.target, TARGET);
-        assert_not_equals(evt.target, SOURCE);
-        t.done();
-    }
-</script>
-</body>
-</html>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedworkerjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted-worker.js (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted-worker.js    2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted-worker.js       2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-"use strict";
-
-const channel = new BroadcastChannel("channel name");
-channel.postMessage("ping");
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedanyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any-expected.txt                             (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any-expected.txt        2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+PASS With a MessageChannel and its MessagePorts
+FAIL With a BroadcastChannel assert_true: The browser must support BroadcastChannel expected true got false
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any.html                             (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any.html        2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedanyjsfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any.js (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.html) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any.js                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any.js  2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,32 @@
</span><ins>+// META: title=MessagePort message events are trusted
+
+// See also:
+// - https://github.com/whatwg/html/issues/1602
+// - https://github.com/whatwg/html/pull/1935
+
+"use strict";
+
+async_test(t => {
+  assert_true("MessageChannel" in self, "The browser must support MessageChannel");
+
+  const channel = new MessageChannel();
+
+  channel.port2.onmessage = t.step_func_done(e => {
+    assert_equals(e.isTrusted, true);
+  });
+
+  channel.port1.postMessage("ping");
+}, "With a MessageChannel and its MessagePorts");
+
+async_test(t => {
+  assert_true("BroadcastChannel" in self, "The browser must support BroadcastChannel");
+
+  const channel = new BroadcastChannel("channel name");
+
+  channel.onmessage = t.step_func_done(e => {
+    assert_equals(e.isTrusted, true);
+  });
+
+  new Worker("support/MessageEvent-trusted-worker.js");
+}, "With a BroadcastChannel");
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedanyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any.worker-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any.worker-expected.txt                              (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any.worker-expected.txt 2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+PASS With a MessageChannel and its MessagePorts
+FAIL With a BroadcastChannel assert_true: The browser must support BroadcastChannel expected true got false
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any.worker.html                              (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any.worker.html 2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.html (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.html 2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.html    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,45 +0,0 @@
</span><del>-<!DOCTYPE html>
-<title>MessagePort message events are trusted</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<link rel="help" href="https://html.spec.whatwg.org/multipage/comms.html#dom-messageport-postmessage">
-<!-- See also:
-- https://github.com/whatwg/html/issues/1602
-- https://github.com/whatwg/html/pull/1935
--->
-
-<script>
-"use strict";
-
-async_test(t => {
-  assert_true("MessageChannel" in self, "The browser must support MessageChannel");
-
-  const channel = new MessageChannel();
-
-  channel.port2.onmessage = t.step_func_done(e => {
-    assert_equals(e.isTrusted, true);
-  });
-
-  channel.port1.postMessage("ping");
-}, "With a MessageChannel and its MessagePorts");
-
-async_test(t => {
-  assert_true("BroadcastChannel" in self, "The browser must support BroadcastChannel");
-
-  const channel = new BroadcastChannel("channel name");
-
-  channel.onmessage = t.step_func_done(e => {
-    assert_equals(e.isTrusted, true);
-  });
-
-  new Worker("MessageEvent-trusted-worker.js");
-}, "With a BroadcastChannel");
-
-async_test(t => {
-  window.onmessage = t.step_func_done(e => {
-    assert_equals(e.isTrusted, true);
-  });
-
-  window.postMessage("ping", "*");
-}, "With window");
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedwindowexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.window-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.window-expected.txt                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.window-expected.txt     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS With window
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedwindowhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.window.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.window.html                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.window.html     2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedwindowjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.window.js (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.window.js                            (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.window.js       2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+// META: title=MessagePort message events are trusted with window
+
+async_test(t => {
+  window.onmessage = t.step_func_done(e => {
+    assert_equals(e.isTrusted, true);
+  });
+
+  window.postMessage("ping", "*");
+}, "With window");
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventanyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any-expected.txt                             (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any-expected.txt        2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+
+PASS mozInitMessageEvent on the prototype
+PASS mozInitMessageEvent on the instance
+PASS msInitMessageEvent on the prototype
+PASS msInitMessageEvent on the instance
+PASS oInitMessageEvent on the prototype
+PASS oInitMessageEvent on the instance
+PASS webkitInitMessageEvent on the prototype
+PASS webkitInitMessageEvent on the instance
+PASS initMessageEvent with no arguments
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any.html                             (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any.html        2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventanyjsfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any.js (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.html) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any.js                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any.js  2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,22 @@
</span><ins>+// META: title=MessageEvent
+
+var prefixes = ['moz', 'ms', 'o', 'webkit'];
+prefixes.forEach(function(prefix) {
+  var name = prefix + "InitMessageEvent";
+
+  test(function() {
+    assert_false(name in MessageEvent.prototype);
+  }, name + " on the prototype");
+
+  test(function() {
+    var event = new MessageEvent("message");
+    assert_false(name in event);
+  }, name + " on the instance");
+});
+
+test(function() {
+  var event = new MessageEvent("message");
+  assert_throws_js(TypeError, function() {
+    event.initMessageEvent();
+  }, "Not enough arguments to initMessageEvent");
+}, "initMessageEvent with no arguments");
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventanyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any.worker-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any.worker-expected.txt                              (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any.worker-expected.txt 2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+
+PASS mozInitMessageEvent on the prototype
+PASS mozInitMessageEvent on the instance
+PASS msInitMessageEvent on the prototype
+PASS msInitMessageEvent on the instance
+PASS oInitMessageEvent on the prototype
+PASS oInitMessageEvent on the instance
+PASS webkitInitMessageEvent on the prototype
+PASS webkitInitMessageEvent on the instance
+PASS initMessageEvent with no arguments
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any.worker.html                              (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any.worker.html 2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.html (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.html 2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.html    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,28 +0,0 @@
</span><del>-<!doctype html>
-<meta charset=utf-8>
-<title>MessageEvent</title>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<div id=log></div>
-<script>
-var prefixes = ['moz', 'ms', 'o', 'webkit'];
-prefixes.forEach(function(prefix) {
-  var name = prefix + "InitMessageEvent";
-
-  test(function() {
-    assert_false(name in MessageEvent.prototype);
-  }, name + " on the prototype");
-
-  test(function() {
-    var event = new MessageEvent("message");
-    assert_false(name in event);
-  }, name + " on the instance");
-});
-
-test(function() {
-  var event = new MessageEvent("message");
-  assert_throws_js(TypeError, function() {
-    event.initMessageEvent();
-  }, "Not enough arguments to initMessageEvent");
-}, "initMessageEvent with no arguments");
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_initial_disabledanyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any-expected.txt                             (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any-expected.txt        2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS MessageChannel: port message queue is initially disabled
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_initial_disabledanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any.html                             (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any.html        2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_initial_disabledanyjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any.js (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any.js                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any.js  2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+// META: title=MessageChannel: port message queue is initially disabled
+
+// TODO: duplicate of ./message-channels/no-start.any.js?
+
+async_test(function(t) {
+  var channel = new MessageChannel();
+  channel.port2.addEventListener("message", t.unreached_func(), true);
+  channel.port1.postMessage("ping");
+  setTimeout(t.step_func_done(), 100);
+});
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_initial_disabledanyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any.worker-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any.worker-expected.txt                              (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any.worker-expected.txt 2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS MessageChannel: port message queue is initially disabled
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_initial_disabledanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any.worker.html                              (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any.worker.html 2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_initial_disabledhtm"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.htm (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.htm  2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.htm     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>-<!DOCTYPE html>
-<title>MessageChannel: port message queue is initially disabled</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<div id=log></div>
-<script>
-async_test(function(t) {
-  var channel = new MessageChannel();
-  channel.port2.addEventListener("message", t.unreached_func(), true);
-  channel.port1.postMessage("ping");
-  setTimeout(t.step_func_done(), 100);
-});
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_onmessage_startanyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any-expected.txt                              (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any-expected.txt 2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS MessageChannel: port.onmessage enables message queue
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_onmessage_startanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any.html                              (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any.html 2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_onmessage_startanyjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any.js (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any.js                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any.js   2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+// META: title=MessageChannel: port.onmessage enables message queue
+
+// TODO: duplicate of ./message-channels/implied-start.any.js?
+
+async_test(function(t) {
+  var channel = new MessageChannel();
+  channel.port2.onmessage = t.step_func_done();
+  channel.port1.postMessage("ping");
+  setTimeout(t.unreached_func(), 100);
+});
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_onmessage_startanyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any.worker-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any.worker-expected.txt                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any.worker-expected.txt  2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS MessageChannel: port.onmessage enables message queue
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_onmessage_startanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any.worker.html                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any.worker.html  2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessagePort_onmessage_starthtm"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.htm (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.htm   2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.htm      2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>-<!DOCTYPE html>
-<title>MessageChannel: port.onmessage enables message queue</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<div id=log></div>
-<script>
-async_test(function(t) {
-  var channel = new MessageChannel();
-  channel.port2.onmessage = t.step_func_done();
-  channel.port1.postMessage("ping");
-  setTimeout(t.unreached_func(), 100);
-});
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelbasicsanyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any-expected.txt                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any-expected.txt     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+
+FAIL postMessage results in correct event Can't find variable: BroadcastChannel
+FAIL messages are delivered in port creation order Can't find variable: BroadcastChannel
+FAIL messages aren't delivered to a closed port Can't find variable: BroadcastChannel
+FAIL messages aren't delivered to a port closed after calling postMessage. Can't find variable: BroadcastChannel
+FAIL closing and creating channels during message delivery works correctly Can't find variable: BroadcastChannel
+FAIL Closing a channel in onmessage prevents already queued tasks from firing onmessage events Can't find variable: BroadcastChannel
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelbasicsanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any.html                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any.html     2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelbasicsanyjsfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelbasicshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any.js (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.html) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any.js                            (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any.js       2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,120 @@
</span><ins>+async_test(t => {
+    let c1 = new BroadcastChannel('eventType');
+    let c2 = new BroadcastChannel('eventType');
+
+    c2.onmessage = t.step_func(e => {
+        assert_true(e instanceof MessageEvent);
+        assert_equals(e.target, c2);
+        assert_equals(e.type, 'message');
+        assert_equals(e.origin, location.origin, 'origin');
+        assert_equals(e.data, 'hello world');
+        assert_equals(e.source, null, 'source');
+        t.done();
+      });
+    c1.postMessage('hello world');
+  }, 'postMessage results in correct event');
+
+async_test(t => {
+    let c1 = new BroadcastChannel('order');
+    let c2 = new BroadcastChannel('order');
+    let c3 = new BroadcastChannel('order');
+
+    let events = [];
+    let doneCount = 0;
+    let handler = t.step_func(e => {
+      events.push(e);
+      if (e.data == 'done') {
+        doneCount++;
+        if (doneCount == 2) {
+          assert_equals(events.length, 6);
+          assert_equals(events[0].target, c2, 'target for event 0');
+          assert_equals(events[0].data, 'from c1');
+          assert_equals(events[1].target, c3, 'target for event 1');
+          assert_equals(events[1].data, 'from c1');
+          assert_equals(events[2].target, c1, 'target for event 2');
+          assert_equals(events[2].data, 'from c3');
+          assert_equals(events[3].target, c2, 'target for event 3');
+          assert_equals(events[3].data, 'from c3');
+          assert_equals(events[4].target, c1, 'target for event 4');
+          assert_equals(events[4].data, 'done');
+          assert_equals(events[5].target, c3, 'target for event 5');
+          assert_equals(events[5].data, 'done');
+          t.done();
+        }
+      }
+    });
+    c1.onmessage = handler;
+    c2.onmessage = handler;
+    c3.onmessage = handler;
+
+    c1.postMessage('from c1');
+    c3.postMessage('from c3');
+    c2.postMessage('done');
+  }, 'messages are delivered in port creation order');
+
+async_test(t => {
+    let c1 = new BroadcastChannel('closed');
+    let c2 = new BroadcastChannel('closed');
+    let c3 = new BroadcastChannel('closed');
+
+    c2.onmessage = t.unreached_func();
+    c2.close();
+    c3.onmessage = t.step_func(() => t.done());
+    c1.postMessage('test');
+  }, 'messages aren\'t delivered to a closed port');
+
+ async_test(t => {
+    let c1 = new BroadcastChannel('closed');
+    let c2 = new BroadcastChannel('closed');
+    let c3 = new BroadcastChannel('closed');
+
+    c2.onmessage = t.unreached_func();
+    c3.onmessage = t.step_func(() => t.done());
+    c1.postMessage('test');
+    c2.close();
+}, 'messages aren\'t delivered to a port closed after calling postMessage.');
+
+async_test(t => {
+    let c1 = new BroadcastChannel('create-in-onmessage');
+    let c2 = new BroadcastChannel('create-in-onmessage');
+
+    c2.onmessage = t.step_func(e => {
+        assert_equals(e.data, 'first');
+        c2.close();
+        let c3 = new BroadcastChannel('create-in-onmessage');
+        c3.onmessage = t.step_func(event => {
+            assert_equals(event.data, 'done');
+            t.done();
+          });
+        c1.postMessage('done');
+      });
+    c1.postMessage('first');
+    c2.postMessage('second');
+  }, 'closing and creating channels during message delivery works correctly');
+
+async_test(t => {
+    let c1 = new BroadcastChannel('close-in-onmessage');
+    let c2 = new BroadcastChannel('close-in-onmessage');
+    let c3 = new BroadcastChannel('close-in-onmessage');
+    let events = [];
+    c1.onmessage = e => events.push('c1: ' + e.data);
+    c2.onmessage = e => events.push('c2: ' + e.data);
+    c3.onmessage = e => events.push('c3: ' + e.data);
+
+    // c2 closes itself when it receives the first message
+    c2.addEventListener('message', e => {
+        c2.close();
+      });
+
+    c3.addEventListener('message', t.step_func(e => {
+        if (e.data == 'done') {
+          assert_array_equals(events, [
+              'c2: first',
+              'c3: first',
+              'c3: done']);
+          t.done();
+        }
+      }));
+    c1.postMessage('first');
+    c1.postMessage('done');
+  }, 'Closing a channel in onmessage prevents already queued tasks from firing onmessage events');
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelbasicsanyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any.worker-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any.worker-expected.txt                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any.worker-expected.txt      2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+
+FAIL postMessage results in correct event Can't find variable: BroadcastChannel
+FAIL messages are delivered in port creation order Can't find variable: BroadcastChannel
+FAIL messages aren't delivered to a closed port Can't find variable: BroadcastChannel
+FAIL messages aren't delivered to a port closed after calling postMessage. Can't find variable: BroadcastChannel
+FAIL closing and creating channels during message delivery works correctly Can't find variable: BroadcastChannel
+FAIL Closing a channel in onmessage prevents already queued tasks from firing onmessage events Can't find variable: BroadcastChannel
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelbasicsanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any.worker.html                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any.worker.html      2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelbasicshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.html (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.html      2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.html 2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,128 +0,0 @@
</span><del>-<!DOCTYPE html>
-<meta charset=utf-8>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script>
-
-async_test(t => {
-    let c1 = new BroadcastChannel('eventType');
-    let c2 = new BroadcastChannel('eventType');
-
-    c2.onmessage = t.step_func(e => {
-        assert_true(e instanceof MessageEvent);
-        assert_equals(e.target, c2);
-        assert_equals(e.type, 'message');
-        assert_equals(e.origin, location.origin, 'origin');
-        assert_equals(e.data, 'hello world');
-        assert_equals(e.source, null, 'source');
-        t.done();
-      });
-    c1.postMessage('hello world');
-  }, 'postMessage results in correct event');
-
-async_test(t => {
-    let c1 = new BroadcastChannel('order');
-    let c2 = new BroadcastChannel('order');
-    let c3 = new BroadcastChannel('order');
-
-    let events = [];
-    let doneCount = 0;
-    let handler = t.step_func(e => {
-      events.push(e);
-      if (e.data == 'done') {
-        doneCount++;
-        if (doneCount == 2) {
-          assert_equals(events.length, 6);
-          assert_equals(events[0].target, c2, 'target for event 0');
-          assert_equals(events[0].data, 'from c1');
-          assert_equals(events[1].target, c3, 'target for event 1');
-          assert_equals(events[1].data, 'from c1');
-          assert_equals(events[2].target, c1, 'target for event 2');
-          assert_equals(events[2].data, 'from c3');
-          assert_equals(events[3].target, c2, 'target for event 3');
-          assert_equals(events[3].data, 'from c3');
-          assert_equals(events[4].target, c1, 'target for event 4');
-          assert_equals(events[4].data, 'done');
-          assert_equals(events[5].target, c3, 'target for event 5');
-          assert_equals(events[5].data, 'done');
-          t.done();
-        }
-      }
-    });
-    c1.onmessage = handler;
-    c2.onmessage = handler;
-    c3.onmessage = handler;
-
-    c1.postMessage('from c1');
-    c3.postMessage('from c3');
-    c2.postMessage('done');
-  }, 'messages are delivered in port creation order');
-
-async_test(t => {
-    let c1 = new BroadcastChannel('closed');
-    let c2 = new BroadcastChannel('closed');
-    let c3 = new BroadcastChannel('closed');
-
-    c2.onmessage = t.unreached_func();
-    c2.close();
-    c3.onmessage = t.step_func(() => t.done());
-    c1.postMessage('test');
-  }, 'messages aren\'t delivered to a closed port');
-
- async_test(t => {
-    let c1 = new BroadcastChannel('closed');
-    let c2 = new BroadcastChannel('closed');
-    let c3 = new BroadcastChannel('closed');
-
-    c2.onmessage = t.unreached_func();
-    c3.onmessage = t.step_func(() => t.done());
-    c1.postMessage('test');
-    c2.close();
-}, 'messages aren\'t delivered to a port closed after calling postMessage.');
-
-async_test(t => {
-    let c1 = new BroadcastChannel('create-in-onmessage');
-    let c2 = new BroadcastChannel('create-in-onmessage');
-
-    c2.onmessage = t.step_func(e => {
-        assert_equals(e.data, 'first');
-        c2.close();
-        let c3 = new BroadcastChannel('create-in-onmessage');
-        c3.onmessage = t.step_func(event => {
-            assert_equals(event.data, 'done');
-            t.done();
-          });
-        c1.postMessage('done');
-      });
-    c1.postMessage('first');
-    c2.postMessage('second');
-  }, 'closing and creating channels during message delivery works correctly');
-
-async_test(t => {
-    let c1 = new BroadcastChannel('close-in-onmessage');
-    let c2 = new BroadcastChannel('close-in-onmessage');
-    let c3 = new BroadcastChannel('close-in-onmessage');
-    let events = [];
-    c1.onmessage = e => events.push('c1: ' + e.data);
-    c2.onmessage = e => events.push('c2: ' + e.data);
-    c3.onmessage = e => events.push('c3: ' + e.data);
-
-    // c2 closes itself when it receives the first message
-    c2.addEventListener('message', e => {
-        c2.close();
-      });
-
-    c3.addEventListener('message', t.step_func(e => {
-        if (e.data == 'done') {
-          assert_array_equals(events, [
-              'c2: first',
-              'c3: first',
-              'c3: done']);
-          t.done();
-        }
-      }));
-    c1.postMessage('first');
-    c1.postMessage('done');
-  }, 'Closing a channel in onmessage prevents already queued tasks from firing onmessage events');
-
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelinterfaceanyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any-expected.txt                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any-expected.txt  2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+
+FAIL Should throw if no name is provided assert_throws_js: function "() => new BroadcastChannel()" threw object "ReferenceError: Can't find variable: BroadcastChannel" ("ReferenceError") expected instance of function "function TypeError() {
+    [native code]
+}" ("TypeError")
+FAIL Null name should not throw Can't find variable: BroadcastChannel
+FAIL Undefined name should not throw Can't find variable: BroadcastChannel
+FAIL Non-empty name should not throw Can't find variable: BroadcastChannel
+FAIL Non-string name should not throw Can't find variable: BroadcastChannel
+FAIL postMessage without parameters should throw Can't find variable: BroadcastChannel
+FAIL postMessage with null should not throw Can't find variable: BroadcastChannel
+FAIL close should not throw Can't find variable: BroadcastChannel
+FAIL close should not throw when called multiple times Can't find variable: BroadcastChannel
+FAIL postMessage after close should throw Can't find variable: BroadcastChannel
+FAIL BroadcastChannel should have an onmessage event Can't find variable: BroadcastChannel
+FAIL postMessage should throw with uncloneable data Can't find variable: BroadcastChannel
+FAIL postMessage should throw InvalidStateError after close, even with uncloneable data Can't find variable: BroadcastChannel
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelinterfaceanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any.html                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any.html  2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelinterfaceanyjsfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelinterfacehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any.js (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.html) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any.js                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any.js    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,65 @@
</span><ins>+test(() => assert_throws_js(TypeError, () => new BroadcastChannel()),
+  'Should throw if no name is provided');
+
+test(() => {
+    let c = new BroadcastChannel(null);
+    assert_equals(c.name, 'null');
+  }, 'Null name should not throw');
+
+test(() => {
+    let c = new BroadcastChannel(undefined);
+    assert_equals(c.name, 'undefined');
+  }, 'Undefined name should not throw');
+
+test(() => {
+    let c = new BroadcastChannel('fooBar');
+    assert_equals(c.name, 'fooBar');
+  }, 'Non-empty name should not throw');
+
+test(() => {
+    let c = new BroadcastChannel(123);
+    assert_equals(c.name, '123');
+  }, 'Non-string name should not throw');
+
+test(() => {
+    let c = new BroadcastChannel('');
+    assert_throws_js(TypeError, () => c.postMessage());
+  }, 'postMessage without parameters should throw');
+
+test(() => {
+    let c = new BroadcastChannel('');
+    c.postMessage(null);
+  }, 'postMessage with null should not throw');
+
+test(() => {
+    let c = new BroadcastChannel('');
+    c.close();
+  }, 'close should not throw');
+
+test(() => {
+    let c = new BroadcastChannel('');
+    c.close();
+    c.close();
+  }, 'close should not throw when called multiple times');
+
+test(() => {
+    let c = new BroadcastChannel('');
+    c.close();
+    assert_throws_dom('InvalidStateError', () => c.postMessage(''));
+  }, 'postMessage after close should throw');
+
+test(() => {
+    let c = new BroadcastChannel('');
+    assert_not_equals(c.onmessage, undefined);
+  }, 'BroadcastChannel should have an onmessage event');
+
+test(() => {
+    let c = new BroadcastChannel('');
+    assert_throws_dom('DataCloneError', () => c.postMessage(Symbol()));
+  }, 'postMessage should throw with uncloneable data');
+
+test(() => {
+    let c = new BroadcastChannel('');
+    c.close();
+    assert_throws_dom('InvalidStateError', () => c.postMessage(Symbol()));
+  }, 'postMessage should throw InvalidStateError after close, even with uncloneable data');
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelinterfaceanyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any.worker-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any.worker-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any.worker-expected.txt   2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+
+FAIL Should throw if no name is provided assert_throws_js: function "() => new BroadcastChannel()" threw object "ReferenceError: Can't find variable: BroadcastChannel" ("ReferenceError") expected instance of function "function TypeError() {
+    [native code]
+}" ("TypeError")
+FAIL Null name should not throw Can't find variable: BroadcastChannel
+FAIL Undefined name should not throw Can't find variable: BroadcastChannel
+FAIL Non-empty name should not throw Can't find variable: BroadcastChannel
+FAIL Non-string name should not throw Can't find variable: BroadcastChannel
+FAIL postMessage without parameters should throw Can't find variable: BroadcastChannel
+FAIL postMessage with null should not throw Can't find variable: BroadcastChannel
+FAIL close should not throw Can't find variable: BroadcastChannel
+FAIL close should not throw when called multiple times Can't find variable: BroadcastChannel
+FAIL postMessage after close should throw Can't find variable: BroadcastChannel
+FAIL BroadcastChannel should have an onmessage event Can't find variable: BroadcastChannel
+FAIL postMessage should throw with uncloneable data Can't find variable: BroadcastChannel
+FAIL postMessage should throw InvalidStateError after close, even with uncloneable data Can't find variable: BroadcastChannel
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelinterfaceanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any.worker.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any.worker.html   2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelinterfacehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.html (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.html   2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.html      2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<!DOCTYPE html>
-<meta charset=utf-8>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script>
-
-test(() => assert_throws_js(TypeError, () => new BroadcastChannel()),
-  'Should throw if no name is provided');
-
-test(() => {
-    let c = new BroadcastChannel(null);
-    assert_equals(c.name, 'null');
-  }, 'Null name should not throw');
-
-test(() => {
-    let c = new BroadcastChannel(undefined);
-    assert_equals(c.name, 'undefined');
-  }, 'Undefined name should not throw');
-
-test(() => {
-    let c = new BroadcastChannel('fooBar');
-    assert_equals(c.name, 'fooBar');
-  }, 'Non-empty name should not throw');
-
-test(() => {
-    let c = new BroadcastChannel(123);
-    assert_equals(c.name, '123');
-  }, 'Non-string name should not throw');
-
-test(() => {
-    let c = new BroadcastChannel('');
-    assert_throws_js(TypeError, () => c.postMessage());
-  }, 'postMessage without parameters should throw');
-
-test(() => {
-    let c = new BroadcastChannel('');
-    c.postMessage(null);
-  }, 'postMessage with null should not throw');
-
-test(() => {
-    let c = new BroadcastChannel('');
-    c.close();
-  }, 'close should not throw');
-
-test(() => {
-    let c = new BroadcastChannel('');
-    c.close();
-    c.close();
-  }, 'close should not throw when called multiple times');
-
-test(() => {
-    let c = new BroadcastChannel('');
-    c.close();
-    assert_throws_dom('InvalidStateError', () => c.postMessage(''));
-  }, 'postMessage after close should throw');
-
-test(() => {
-    let c = new BroadcastChannel('');
-    assert_not_equals(c.onmessage, undefined);
-  }, 'BroadcastChannel should have an onmessage event');
-
-test(() => {
-    let c = new BroadcastChannel('');
-    assert_throws_dom('DataCloneError', () => c.postMessage(Symbol()));
-  }, 'postMessage should throw with uncloneable data');
-
-test(() => {
-    let c = new BroadcastChannel('');
-    c.close();
-    assert_throws_dom('InvalidStateError', () => c.postMessage(Symbol()));
-  }, 'postMessage should throw InvalidStateError after close, even with uncloneable data');
-
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingbroadcastchannelw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/w3c-import.log (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/w3c-import.log   2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/w3c-import.log      2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -14,9 +14,9 @@
</span><span class="cx"> None
</span><span class="cx"> ------------------------------------------------------------------------
</span><span class="cx"> List of files:
</span><del>-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.html
</del><ins>+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/basics.any.js
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/blobs.html
</span><del>-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.html
</del><ins>+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/interface.any.js
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/origin.window.js
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/sandbox.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/webmessaging/broadcastchannel/workers.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingeventsourcehtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/event.source.htm (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/event.source.htm  2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/event.source.htm     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx">             ActualResult.push(e.origin, "AccessCookieDenied");
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        assert_true(e.source === TARGET.contentWindow);
</del><ins>+        assert_equals(e.source, TARGET.contentWindow);
</ins><span class="cx">         assert_array_equals(ActualResult, ExpectedResult, "ActualResult");
</span><span class="cx">         t.done();
</span><span class="cx">     });
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingeventsourcexoriginsubhtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/event.source.xorigin.sub.htm (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/event.source.xorigin.sub.htm      2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/event.source.xorigin.sub.htm 2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx">             ActualResult.push(e.origin, "AccessCookieDenied");
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        assert_true(e.source.parent === window);
</del><ins>+        assert_equals(e.source.parent, window);
</ins><span class="cx">         assert_array_equals(ActualResult, ExpectedResult, "ActualResult");
</span><span class="cx">         t.done();
</span><span class="cx">     });
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels001expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/001-expected.txt (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/001-expected.txt 2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/001-expected.txt    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-
-PASS basic messagechannel test
-
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels001html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/001.html (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/001.html 2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/001.html    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,17 +0,0 @@
</span><del>-<!doctype html>
-<title>basic messagechannel test</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<div id="log"></div>
-<script>
-async_test(function(t) {
-  var channel = new MessageChannel();
-  channel.port1.postMessage(1);
-  channel.port2.onmessage = t.step_func(
-    function(e) {
-      assert_equals(e.data, 1);
-      t.done();
-    });
-  channel.port2.start();
-});
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels002expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/002-expected.txt (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/002-expected.txt 2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/002-expected.txt    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-
-PASS without start()
-
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels002html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/002.html (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/002.html 2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/002.html    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,14 +0,0 @@
</span><del>-<!doctype html>
-<title>without start()</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<div id="log"></div>
-<script>
-async_test(function(t) {
-  var channel = new MessageChannel();
-  channel.port1.postMessage(1);
-  var i = 0;
-  channel.port2.addEventListener('message', function() { i++; }, false);
-  setTimeout(t.step_func(function() { assert_equals(i, 0); t.done();}), 50);
-});
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels003expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/003-expected.txt (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/003-expected.txt 2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/003-expected.txt    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-
-PASS onmessage implied start()
-
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels003html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/003.html (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/003.html 2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/003.html    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,19 +0,0 @@
</span><del>-<!doctype html>
-<title>onmessage implied start()</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<div id="log"></div>
-<script>
-async_test(function(t) {
-  var channel = new MessageChannel();
-  channel.port1.postMessage(1);
-  channel.port2.onmessage = function() {
-    setTimeout(t.step_func(function() {
-      t.done();
-    }), 50);
-    channel.port2.onmessage = t.step_func(function() {
-      assert_unreached();
-    });
-  }; // implies start()
-});
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels0041html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004-1.html (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004-1.html       2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004-1.html  2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-<!doctype html>
-<title>004-1</title>
-<script>
-onmessage = function(e) {
-  var port = e.ports[0];
-  port.postMessage(e.data);
-}
-</script>
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels0042html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004-2.html (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004-2.html       2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004-2.html  2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-<!doctype html>
-<title>004-2</title>
-<script>
-onmessage = function(e) {
-  var port = e.ports[0];
-  port.onmessage = function(e) { // implied start()
-    parent.postMessage(e.data, '*');
-  }
-}
-</script>
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels004expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004-expected.txt (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004-expected.txt 2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004-expected.txt    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-
-
-PASS cross-document channel
-
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels004html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004.html (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004.html 2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004.html    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,22 +0,0 @@
</span><del>-<!doctype html>
-<title>cross-document channel</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<iframe src=004-1.html></iframe><iframe src=004-2.html></iframe>
-<div id="log"></div>
-<script>
-var t = async_test();
-onload = t.step_func(
-  function() {
-    var channel = new MessageChannel();
-    window[0].postMessage(1, '*', [channel.port1]);
-    window[1].postMessage(2, '*', [channel.port2]);
-    channel = null;
-    window.onmessage = t.step_func(
-      function(e) {
-        assert_equals(e.data, 1);
-        t.done();
-      });
-  }
-);
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsbasicsanyexpectedtxtfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels001expectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any-expected.txt (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/001-expected.txt) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any-expected.txt                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any-expected.txt     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS basic messagechannel test
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsbasicsanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any.html                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any.html     2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsbasicsanyjsfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels001html"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any.js (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/001.html) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any.js                            (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any.js       2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+// META: title=basic messagechannel test
+
+async_test(function(t) {
+  var channel = new MessageChannel();
+  channel.port1.postMessage(1);
+  channel.port2.onmessage = t.step_func(
+    function(e) {
+      assert_equals(e.data, 1);
+      t.done();
+    });
+  channel.port2.start();
+});
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsbasicsanyworkerexpectedtxtfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels001expectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any.worker-expected.txt (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/001-expected.txt) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any.worker-expected.txt                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any.worker-expected.txt      2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS basic messagechannel test
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsbasicsanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any.worker.html                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any.worker.html      2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelscloseanyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any-expected.txt                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any-expected.txt      2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+
+PASS Message sent to closed port should not arrive.
+PASS Message sent from closed port should not arrive.
+PASS Message sent to closed port from transferred port should not arrive.
+PASS Inflight messages should be delivered even when sending port is closed afterwards.
+PASS Close in onmessage should not cancel inflight messages.
+FAIL close() detaches a MessagePort (but not the one its entangled with) assert_throws_dom: function "() => c2.port1.postMessage(null, [c1.port1])" did not throw
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelscloseanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any.html                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any.html      2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelscloseanyjsfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsclosehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any.js (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.html) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any.js                             (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any.js        2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,62 @@
</span><ins>+// How long (in ms) these tests should wait before deciding no further messages
+// will be received.
+const time_to_wait_for_messages = 100;
+
+async_test(t => {
+    const c = new MessageChannel();
+    c.port1.onmessage = t.unreached_func('Should not have delivered message');
+    c.port1.close();
+    c.port2.postMessage('TEST');
+    setTimeout(t.step_func_done(), time_to_wait_for_messages);
+  }, 'Message sent to closed port should not arrive.');
+
+async_test(t => {
+    const c = new MessageChannel();
+    c.port1.onmessage = t.unreached_func('Should not have delivered message');
+    c.port2.close();
+    c.port2.postMessage('TEST');
+    setTimeout(t.step_func_done(), time_to_wait_for_messages);
+  }, 'Message sent from closed port should not arrive.');
+
+async_test(t => {
+    const c = new MessageChannel();
+    c.port1.onmessage = t.unreached_func('Should not have delivered message');
+    c.port1.close();
+    const c2 = new MessageChannel();
+    c2.port1.onmessage = t.step_func(e => {
+        e.ports[0].postMessage('TESTMSG');
+        setTimeout(t.step_func_done(), time_to_wait_for_messages);
+      });
+    c2.port2.postMessage('TEST', [c.port2]);
+  }, 'Message sent to closed port from transferred port should not arrive.');
+
+async_test(t => {
+    const c = new MessageChannel();
+    let isClosed = false;
+    c.port1.onmessage = t.step_func_done(e => {
+        assert_true(isClosed);
+        assert_equals(e.data, 'TEST');
+      });
+    c.port2.postMessage('TEST');
+    c.port2.close();
+    isClosed = true;
+  }, 'Inflight messages should be delivered even when sending port is closed afterwards.');
+
+async_test(t => {
+    const c = new MessageChannel();
+    c.port1.onmessage = t.step_func_done(e => {
+        if (e.data == 'DONE') t.done();
+        assert_equals(e.data, 'TEST');
+        c.port1.close();
+      });
+    c.port2.postMessage('TEST');
+    c.port2.postMessage('DONE');
+  }, 'Close in onmessage should not cancel inflight messages.');
+
+test(() => {
+  const c1 = new MessageChannel();
+  const c2 = new MessageChannel();
+  c1.port1.close();
+  assert_throws_dom("DataCloneError", () => c2.port1.postMessage(null, [c1.port1]));
+  c2.port1.postMessage(null, [c1.port2]);
+}, "close() detaches a MessagePort (but not the one its entangled with)");
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelscloseanyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any.worker-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any.worker-expected.txt                            (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any.worker-expected.txt       2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+
+PASS Message sent to closed port should not arrive.
+PASS Message sent from closed port should not arrive.
+PASS Message sent to closed port from transferred port should not arrive.
+PASS Inflight messages should be delivered even when sending port is closed afterwards.
+PASS Close in onmessage should not cancel inflight messages.
+FAIL close() detaches a MessagePort (but not the one its entangled with) assert_throws_dom: function "() => c2.port1.postMessage(null, [c1.port1])" did not throw
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelscloseanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any.worker.html                            (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any.worker.html       2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsclosehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.html (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.html       2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.html  2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,68 +0,0 @@
</span><del>-<!DOCTYPE html>
-<meta charset=utf-8>
-<link rel="help" href="https://html.spec.whatwg.org/multipage/comms.html#dom-messageport-close">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script>
-// How long (in ms) these tests should wait before deciding no further messages
-// will be received.
-const time_to_wait_for_messages = 100;
-
-async_test(t => {
-    const c = new MessageChannel();
-    c.port1.onmessage = t.unreached_func('Should not have delivered message');
-    c.port1.close();
-    c.port2.postMessage('TEST');
-    setTimeout(t.step_func_done(), time_to_wait_for_messages);
-  }, 'Message sent to closed port should not arrive.');
-
-async_test(t => {
-    const c = new MessageChannel();
-    c.port1.onmessage = t.unreached_func('Should not have delivered message');
-    c.port2.close();
-    c.port2.postMessage('TEST');
-    setTimeout(t.step_func_done(), time_to_wait_for_messages);
-  }, 'Message sent from closed port should not arrive.');
-
-async_test(t => {
-    const c = new MessageChannel();
-    c.port1.onmessage = t.unreached_func('Should not have delivered message');
-    c.port1.close();
-    const c2 = new MessageChannel();
-    c2.port1.onmessage = t.step_func(e => {
-        e.ports[0].postMessage('TESTMSG');
-        setTimeout(t.step_func_done(), time_to_wait_for_messages);
-      });
-    c2.port2.postMessage('TEST', [c.port2]);
-  }, 'Message sent to closed port from transferred port should not arrive.');
-
-async_test(t => {
-    const c = new MessageChannel();
-    let isClosed = false;
-    c.port1.onmessage = t.step_func_done(e => {
-        assert_true(isClosed);
-        assert_equals(e.data, 'TEST');
-      });
-    c.port2.postMessage('TEST');
-    c.port2.close();
-    isClosed = true;
-  }, 'Inflight messages should be delivered even when sending port is closed afterwards.');
-
-async_test(t => {
-    const c = new MessageChannel();
-    c.port1.onmessage = t.step_func_done(e => {
-        if (e.data == 'DONE') t.done();
-        assert_equals(e.data, 'TEST');
-        c.port1.close();
-      });
-    c.port2.postMessage('TEST');
-    c.port2.postMessage('DONE');
-  }, 'Close in onmessage should not cancel inflight messages.');
-
-test(() => {
-    const c = new MessageChannel();
-    c.port1.close();
-    assert_throws_dom("DataCloneError", () => self.postMessage(null, "*", [c.port1]));
-    self.postMessage(null, "*", [c.port2]);
-}, "close() detaches a MessagePort (but not the one its entangled with)");
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelscrossdocumentexpectedtxtfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels004expectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/cross-document-expected.txt (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004-expected.txt) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/cross-document-expected.txt                              (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/cross-document-expected.txt 2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+
+PASS cross-document channel
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelscrossdocumenthtmlfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels004html"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/cross-document.html (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004.html) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/cross-document.html                              (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/cross-document.html 2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,22 @@
</span><ins>+<!doctype html>
+<title>cross-document channel</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<iframe src=resources/cross-document-1.html></iframe><iframe src=resources/cross-document-2.html></iframe>
+<div id="log"></div>
+<script>
+var t = async_test();
+onload = t.step_func(
+  function() {
+    var channel = new MessageChannel();
+    window[0].postMessage(1, '*', [channel.port1]);
+    window[1].postMessage(2, '*', [channel.port2]);
+    channel = null;
+    window.onmessage = t.step_func(
+      function(e) {
+        assert_equals(e.data, 1);
+        t.done();
+      });
+  }
+);
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsdictionarytransferrableanyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any-expected.txt   2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS basic messagechannel with transfer
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsdictionarytransferrableanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any.html   2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsdictionarytransferrableanyjsfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsdictionarytransferrablehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any.js (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.html) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any.js                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any.js     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+// META: title=basic messagechannel with transfer
+
+async_test(function(t) {
+  var channel = new MessageChannel();
+  var ab = new ArrayBuffer(1);
+  channel.port1.postMessage(ab, {transfer: [ab]});
+  channel.port2.onmessage = t.step_func(
+    function(e) {
+      assert_equals(e.data.byteLength, 1);
+      t.done();
+    });
+  channel.port2.start();
+});
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsdictionarytransferrableanyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any.worker-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any.worker-expected.txt                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any.worker-expected.txt    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS basic messagechannel with transfer
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsdictionarytransferrableanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any.worker.html                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any.worker.html    2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsdictionarytransferrablehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.html (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.html    2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.html       2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,18 +0,0 @@
</span><del>-<!doctype html>
-<title>basic messagechannel with transfer</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<div id="log"></div>
-<script>
-async_test(function(t) {
-  var channel = new MessageChannel();
-  var ab = new ArrayBuffer(1);
-  channel.port1.postMessage(ab, {transfer: [ab]});
-  channel.port2.onmessage = t.step_func(
-    function(e) {
-      assert_equals(e.data.byteLength, 1);
-      t.done();
-    });
-  channel.port2.start();
-});
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsimpliedstartanyexpectedtxtfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels003expectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any-expected.txt (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/003-expected.txt) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any-expected.txt                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any-expected.txt      2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS onmessage implied start()
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsimpliedstartanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any.html                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any.html      2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsimpliedstartanyjsfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels003html"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any.js (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/003.html) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any.js                             (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any.js        2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+// META: title=onmessage implied start()
+
+async_test(function(t) {
+  var channel = new MessageChannel();
+  channel.port1.postMessage(1);
+  channel.port2.onmessage = function() {
+    setTimeout(t.step_func(function() {
+      t.done();
+    }), 50);
+    channel.port2.onmessage = t.step_func(function() {
+      assert_unreached();
+    });
+  }; // implies start()
+});
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsimpliedstartanyworkerexpectedtxtfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels003expectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any.worker-expected.txt (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/003-expected.txt) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any.worker-expected.txt                            (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any.worker-expected.txt       2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS onmessage implied start()
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsimpliedstartanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any.worker.html                            (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any.worker.html       2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsnostartanyexpectedtxtfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels002expectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any-expected.txt (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/002-expected.txt) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any-expected.txt   2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS without start()
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsnostartanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any.html   2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsnostartanyjsfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels002html"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any.js (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/002.html) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any.js                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any.js     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+// META: title=without start()
+
+async_test(function(t) {
+  var channel = new MessageChannel();
+  channel.port1.postMessage(1);
+  var i = 0;
+  channel.port2.addEventListener('message', function() { i++; }, false);
+  setTimeout(t.step_func(function() { assert_equals(i, 0); t.done();}), 50);
+});
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsnostartanyworkerexpectedtxtfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels002expectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any.worker-expected.txt (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/002-expected.txt) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any.worker-expected.txt                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any.worker-expected.txt    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS without start()
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsnostartanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any.worker.html                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any.worker.html    2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsresourcescrossdocument1htmlfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels0041html"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/resources/cross-document-1.html (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004-1.html) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/resources/cross-document-1.html                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/resources/cross-document-1.html     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+<!doctype html>
+<title>crosss-document-1</title>
+<script>
+onmessage = function(e) {
+  var port = e.ports[0];
+  port.postMessage(e.data);
+}
+</script>
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsresourcescrossdocument2htmlfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannels0042html"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/resources/cross-document-2.html (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004-2.html) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/resources/cross-document-2.html                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/resources/cross-document-2.html     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+<!doctype html>
+<title>004-2</title>
+<script>
+onmessage = function(e) {
+  var port = e.ports[0];
+  port.onmessage = function(e) { // implied start()
+    parent.postMessage(e.data, '*');
+  }
+}
+</script>
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsresourcesw3cimportlogfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingsupportw3cimportlog"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/resources/w3c-import.log (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/support/w3c-import.log) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/resources/w3c-import.log                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/resources/w3c-import.log    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,18 @@
</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/webmessaging/message-channels/resources/cross-document-1.html
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/resources/cross-document-2.html
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsuseractivationtentativeanyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any-expected.txt                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any-expected.txt  2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL user activation messagechannel test undefined is not an object (evaluating 'e.userActivation.isActive')
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsuseractivationtentativeanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any.html                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any.html  2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsuseractivationtentativeanyjsfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsuseractivationtentativehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any.js (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.html) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any.js                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any.js    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,21 @@
</span><ins>+// META: title=user activation messagechannel test
+
+async_test(function(t) {
+  var channel = new MessageChannel();
+  channel.port1.postMessage(1, {includeUserActivation: true});
+  channel.port1.postMessage(2);
+  var expected_data = 1;
+  channel.port2.onmessage = t.step_func(
+    function(e) {
+      assert_equals(e.data, expected_data);
+      expected_data++;
+      if (e.data == 1) {
+        assert_false(e.userActivation.isActive);
+        assert_false(e.userActivation.hasBeenActive);
+      } else {
+        assert_equals(e.userActivation, null);
+        t.done();
+      }
+    });
+  channel.port2.start();
+});
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsuseractivationtentativeanyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any.worker-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any.worker-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any.worker-expected.txt   2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL user activation messagechannel test undefined is not an object (evaluating 'e.userActivation.isActive')
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsuseractivationtentativeanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any.worker.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any.worker.html   2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsuseractivationtentativehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.html (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.html   2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.html      2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,26 +0,0 @@
</span><del>-<!doctype html>
-<title>user activation messagechannel test</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<div id="log"></div>
-<script>
-async_test(function(t) {
-  var channel = new MessageChannel();
-  channel.port1.postMessage(1, {includeUserActivation: true});
-  channel.port1.postMessage(2);
-  var expected_data = 1;
-  channel.port2.onmessage = t.step_func(
-    function(e) {
-      assert_equals(e.data, expected_data);
-      expected_data++;
-      if (e.data == 1) {
-        assert_false(e.userActivation.isActive);
-        assert_false(e.userActivation.hasBeenActive);
-      } else {
-        assert_equals(e.userActivation, null);
-        t.done();
-      }
-    });
-  channel.port2.start();
-});
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/w3c-import.log (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/w3c-import.log   2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/w3c-import.log      2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -14,14 +14,12 @@
</span><span class="cx"> None
</span><span class="cx"> ------------------------------------------------------------------------
</span><span class="cx"> List of files:
</span><del>-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/001.html
-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/002.html
-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/003.html
-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004-1.html
-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004-2.html
-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/004.html
-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.html
-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.html
-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.html
-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.html
-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.html
</del><ins>+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/basics.any.js
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/close.any.js
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/cross-document.html
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/dictionary-transferrable.any.js
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/implied-start.any.js
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/no-start.any.js
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/user-activation.tentative.any.js
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any.js
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any.js
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkerpostaftercloseanyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any-expected.txt                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any-expected.txt    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS MessageChannel/MessagePort should not work after a worker self.close()
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkerpostaftercloseanyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any.html                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any.html    2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkerpostaftercloseanyjsfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkerpostafterclosehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any.js (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.html) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any.js                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any.js      2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,28 @@
</span><ins>+async_test(t => {
+  function workerCode() {
+    onmessage = function(e) {
+      close();
+      var mc = new MessageChannel();
+      mc.port1.onmessage = function() {
+        postMessage("message received!");
+      }
+      mc.port2.postMessage(42);
+      postMessage("done");
+    }
+  }
+
+  var workerBlob = new Blob([workerCode.toString() + ";workerCode();"], {type:"application/javascript"});
+
+  var w = new Worker(URL.createObjectURL(workerBlob));
+  w.postMessage('');
+  w.onmessage = function(e) {
+    if (e.data == "done") {
+      setTimeout(function() {
+        t.done();
+      }, 250);
+    } else {
+      assert_true(false, "A wrong message has been received!");
+    }
+  }
+}, 'MessageChannel/MessagePort should not work after a worker self.close()');
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkerpostaftercloseanyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any.worker-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any.worker-expected.txt                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any.worker-expected.txt     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL MessageChannel/MessagePort should not work after a worker self.close() Can't find variable: Worker
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkerpostaftercloseanyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any.worker.html                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any.worker.html     2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkerpostafterclosehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.html (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.html     2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.html        2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,36 +0,0 @@
</span><del>-<!DOCTYPE html>
-<meta charset=utf-8>
-<link rel="help" href="https://html.spec.whatwg.org/multipage/comms.html#messageevent">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script>
-
-async_test(t => {
-  function workerCode() {
-    onmessage = function(e) {
-      close();
-      var mc = new MessageChannel();
-      mc.port1.onmessage = function() {
-        postMessage("message received!");
-      }
-      mc.port2.postMessage(42);
-      postMessage("done");
-    }
-  }
-
-  var workerBlob = new Blob([workerCode.toString() + ";workerCode();"], {type:"application/javascript"});
-
-  var w = new Worker(URL.createObjectURL(workerBlob));
-  w.postMessage('');
-  w.onmessage = function(e) {
-    if (e.data == "done") {
-      setTimeout(function() {
-        t.done();
-      }, 250);
-    } else {
-      assert_true(false, "A wrong message has been received!");
-    }
-  }
-}, 'MessageChannel/MessagePort should not work after a worker self.close()');
-
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkeranyexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any-expected.txt                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any-expected.txt     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS MessageChannel/MessagePort created and used after a worker self.close()
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkeranyhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any.html                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any.html     2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkeranyjsfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkerhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any.js (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.html) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any.js                            (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any.js       2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+async_test(t => {
+  function workerCode() {
+    close();
+    var mc = new MessageChannel();
+    mc.port1.postMessage(42);
+    mc.port2.postMessage(42);
+    postMessage(true);
+  }
+
+  var workerBlob = new Blob([workerCode.toString() + ";workerCode();"], {type:"application/javascript"});
+
+  var w = new Worker(URL.createObjectURL(workerBlob));
+  w.onmessage = function(e) {
+    assert_true(e.data, "MessageChannel created on worker shutdown.");
+    t.done();
+  }
+}, 'MessageChannel/MessagePort created and used after a worker self.close()');
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkeranyworkerexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any.worker-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any.worker-expected.txt                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any.worker-expected.txt      2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL MessageChannel/MessagePort created and used after a worker self.close() Can't find variable: Worker
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkeranyworkerhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any.worker.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any.worker.html                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any.worker.html      2021-07-13 22:40:14 UTC (rev 279894)
</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="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmessagechannelsworkerhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.html (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.html      2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/message-channels/worker.html 2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1,26 +0,0 @@
</span><del>-<!DOCTYPE html>
-<meta charset=utf-8>
-<link rel="help" href="https://html.spec.whatwg.org/multipage/comms.html#messageevent">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script>
-
-async_test(t => {
-  function workerCode() {
-    close();
-    var mc = new MessageChannel();
-    mc.port1.postMessage(42);
-    mc.port2.postMessage(42);
-    postMessage(true);
-  }
-
-  var workerBlob = new Blob([workerCode.toString() + ";workerCode();"], {type:"application/javascript"});
-
-  var w = new Worker(URL.createObjectURL(workerBlob));
-  w.onmessage = function(e) {
-    assert_true(e.data, "MessageChannel created on worker shutdown.");
-    t.done();
-  }
-}, 'MessageChannel/MessagePort created and used after a worker self.close()');
-
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalsbroadcastchannelcurrentsubexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/broadcastchannel-current.sub-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/broadcastchannel-current.sub-expected.txt                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/broadcastchannel-current.sub-expected.txt      2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Blocked access to external URL http://www.localhost:8800/webmessaging/multi-globals/support/current-document-domain.sub.html
+
+
+FAIL The current page being cross-origin must prevent the BroadcastChannel message from being seen promise_test: Unhandled rejection with value: object "TypeError: undefined is not a constructor (evaluating 'new parent.frames[1].BroadcastChannel(...args)')"
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalsbroadcastchannelcurrentsubhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/broadcastchannel-current.sub.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/broadcastchannel-current.sub.html                           (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/broadcastchannel-current.sub.html      2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,45 @@
</span><ins>+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>The current page being cross-origin must prevent the BroadcastChannel message from being seen</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+
+<!-- This is the entry global -->
+
+<iframe src="support/incumbent-document-domain.sub.html" id="incumbent"></iframe>
+<iframe src="http://{{hosts[][www]}}:{{ports[http][0]}}/webmessaging/multi-globals/support/current-document-domain.sub.html" id="current"></iframe>
+
+<script>
+"use strict";
+document.domain = "{{hosts[][]}}";
+
+setup({ explicit_done: true });
+
+const incumbentIframe = document.querySelector("#incumbent");
+const currentIframe = document.querySelector("#current");
+
+window.onload = () => {
+  promise_test(async t => {
+    const createdCrossOrigin = frames[0].createBroadcastChannel("current");
+    const createdSameOrigin = new BroadcastChannel("current");
+
+    createdSameOrigin.onmessage = t.unreached_func("message event fired");
+    createdSameOrigin.onmessageerror = t.unreached_func("messageerror event fired");
+
+    createdCrossOrigin.postMessage("the message");
+
+    // BroadcastChannel messages are guaranteed to be ordered within an event loop, as they all use
+    // the DOM manipulation task source. So, any messages from the "current" channel, if they are
+    // going to be erroneously delivered, would have to be delivered before those from this
+    // channel. I.e., if we recieve a message from this channel without first recieving one from
+    // the "current" channel, then the test passes.
+    const testEnder = new BroadcastChannel("current / test-ender");
+    const testEnder2 = new BroadcastChannel("current / test-ender");
+
+    testEnder.postMessage("end test");
+    await new Promise(resolve => testEnder2.onmessage = resolve);
+  });
+
+  done();
+};
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalsbroadcastchannelincumbentsubexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/broadcastchannel-incumbent.sub-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/broadcastchannel-incumbent.sub-expected.txt                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/broadcastchannel-incumbent.sub-expected.txt    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Blocked access to external URL http://www.localhost:8800/webmessaging/multi-globals/support/incumbent-document-domain.sub.html
+
+
+FAIL The incumbent page being cross-origin must not prevent the BroadcastChannel message from being seen frames[0].createBroadcastChannel is not a function. (In 'frames[0].createBroadcastChannel("incumbent")', 'frames[0].createBroadcastChannel' is undefined)
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalsbroadcastchannelincumbentsubhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/broadcastchannel-incumbent.sub.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/broadcastchannel-incumbent.sub.html                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/broadcastchannel-incumbent.sub.html    2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,34 @@
</span><ins>+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>The incumbent page being cross-origin must not prevent the BroadcastChannel message from being seen</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+
+<!-- This is the entry global -->
+
+<iframe src="http://{{hosts[][www]}}:{{ports[http][0]}}/webmessaging/multi-globals/support/incumbent-document-domain.sub.html" id="incumbent"></iframe>
+<iframe src="support/current-document-domain.sub.html" id="current"></iframe>
+
+<script>
+"use strict";
+document.domain = "{{hosts[][]}}";
+
+setup({ explicit_done: true });
+
+const incumbentIframe = document.querySelector("#incumbent");
+const currentIframe = document.querySelector("#current");
+
+window.onload = () => {
+  async_test(t => {
+    const createdThroughCrossOrigin = frames[0].createBroadcastChannel("incumbent");
+    const createdSameOrigin = new BroadcastChannel("incumbent");
+
+    createdSameOrigin.onmessage = () => t.done();
+    createdSameOrigin.onmessageerror = t.unreached_func("messageerror event fired");
+
+    createdThroughCrossOrigin.postMessage("the message");
+  });
+
+  done();
+};
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalsmessageportcurrentexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/messageport-current-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/messageport-current-expected.txt                            (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/messageport-current-expected.txt       2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+
+PASS Making the current page become non-active must prevent message transmission
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalsmessageportcurrenthtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/messageport-current.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/messageport-current.html                            (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/messageport-current.html       2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Making the current page become non-active must prevent message transmission</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+
+<!-- This is the entry global -->
+
+<iframe src="support/incumbent.html" id="incumbent"></iframe>
+<iframe src="support/current.html" id="current"></iframe>
+
+<script>
+"use strict";
+const incumbentIframe = document.querySelector("#incumbent");
+const currentIframe = document.querySelector("#current");
+
+window.addEventListener("load", () => {
+  promise_test(async t => {
+    // This will invoke the constructor from currentIframe, but with incumbentIframe as the incumbent.
+    const messageChannel = incumbentIframe.contentWindow.createMessageChannel();
+
+    await new Promise((resolve, reject) => {
+      currentIframe.onload = () => resolve();
+      currentIframe.onerror = () => reject(new Error("Could not navigate the iframe"));
+      currentIframe.src = "/common/blank.html";
+    });
+
+    messageChannel.port1.onmessage = t.unreached_func("message event recieved");
+    messageChannel.port1.onmessageerror = t.unreached_func("messageerror event recieved");
+    messageChannel.port2.postMessage("boo");
+
+    // We are testing that neither of the above two events fire. We assume that a 3 second timeout
+    // is good enough. We can't use any other API for an end condition because each MessagePort has
+    // its own independent port message queue, which has no ordering guarantees relative to other
+    // APIs.
+    await new Promise(resolve => t.step_timeout(resolve, 3000));
+  });
+});
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalsmessageportincumbentexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/messageport-incumbent-expected.txt (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/messageport-incumbent-expected.txt                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/messageport-incumbent-expected.txt     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+
+PASS Making the incumbent page become non-active must not prevent message transmission
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalsmessageportincumbenthtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/messageport-incumbent.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/messageport-incumbent.html                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/messageport-incumbent.html     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,35 @@
</span><ins>+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Making the incumbent page become non-active must not prevent message transmission</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+
+<!-- This is the entry global -->
+
+<iframe src="support/incumbent.html" id="incumbent"></iframe>
+<iframe src="support/current.html" id="current"></iframe>
+
+<script>
+"use strict";
+const incumbentIframe = document.querySelector("#incumbent");
+const currentIframe = document.querySelector("#current");
+
+window.addEventListener("load", () => {
+  promise_test(async () => {
+    // This will invoke the constructor from currentIframe, but with incumbentIframe as the incumbent.
+    const messageChannel = incumbentIframe.contentWindow.createMessageChannel();
+
+    await new Promise((resolve, reject) => {
+      incumbentIframe.onload = () => resolve();
+      incumbentIframe.onerror = () => reject(new Error("Could not navigate the iframe"));
+      incumbentIframe.src = "/common/blank.html";
+    });
+
+    await new Promise((resolve, reject) => {
+      messageChannel.port1.onmessage = () => resolve();
+      messageChannel.port1.onmessageerror = () => reject("messageerror event recieved");
+      messageChannel.port2.postMessage("boo");
+    });
+  });
+});
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalssupportcurrentdocumentdomainsubhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/current-document-domain.sub.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/current-document-domain.sub.html                            (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/current-document-domain.sub.html       2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Current page used as a test helper</title>
+
+<h1>Current</h1>
+
+<script>
+"use strict";
+document.domain = "{{hosts[][]}}";
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalssupportcurrenthtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/current.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/current.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/current.html   2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Current page used as a test helper</title>
+
+<h1>Current</h1>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalssupportincumbentdocumentdomainsubhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/incumbent-document-domain.sub.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/incumbent-document-domain.sub.html                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/incumbent-document-domain.sub.html     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Incumbent page used as a test helper</title>
+
+<h1>Incumbent</h1>
+
+<script>
+"use strict";
+document.domain = "{{hosts[][]}}";
+
+window.createBroadcastChannel = (...args) => {
+  return new parent.frames[1].BroadcastChannel(...args);
+};
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalssupportincumbenthtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/incumbent.html (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/incumbent.html                              (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/incumbent.html 2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Incumbent page used as a test helper</title>
+
+<h1>Incumbent</h1>
+
+<script>
+"use strict";
+
+window.createMessageChannel = () => {
+  return new parent.frames[1].MessageChannel();
+};
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalssupportw3cimportlogfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingsupportw3cimportlog"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/w3c-import.log (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/support/w3c-import.log) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/w3c-import.log                              (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/w3c-import.log 2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,20 @@
</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/webmessaging/multi-globals/support/current-document-domain.sub.html
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/current.html
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/incumbent-document-domain.sub.html
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/support/incumbent.html
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingmultiglobalsw3cimportlogfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingsupportw3cimportlog"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/w3c-import.log (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/support/w3c-import.log) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/w3c-import.log                              (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/w3c-import.log 2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,20 @@
</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/webmessaging/multi-globals/broadcastchannel-current.sub.html
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/broadcastchannel-incumbent.sub.html
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/messageport-current.html
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/multi-globals/messageport-incumbent.html
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingsupportMessageEventtrustedworkerjsfromrev279893trunkLayoutTestsimportedw3cwebplatformtestswebmessagingMessageEventtrustedworkerjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/support/MessageEvent-trusted-worker.js (from rev 279893, trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted-worker.js) (0 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/support/MessageEvent-trusted-worker.js                            (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/support/MessageEvent-trusted-worker.js       2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+"use strict";
+
+const channel = new BroadcastChannel("channel name");
+channel.postMessage("ping");
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingsupportw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/support/w3c-import.log (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/support/w3c-import.log    2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/support/w3c-import.log       2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -15,4 +15,5 @@
</span><span class="cx"> ------------------------------------------------------------------------
</span><span class="cx"> List of files:
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/webmessaging/support/ChildWindowPostMessage.htm
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/support/MessageEvent-trusted-worker.js
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/webmessaging/support/compare.js
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestswebmessagingw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/w3c-import.log (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/w3c-import.log    2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/webmessaging/w3c-import.log       2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -14,25 +14,25 @@
</span><span class="cx"> None
</span><span class="cx"> ------------------------------------------------------------------------
</span><span class="cx"> List of files:
</span><del>-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.htm
-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.htm
-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.htm
-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.htm
-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.htm
-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.htm
-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.htm
</del><ins>+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.any.js
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_DataCloneErr.any.js
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port.any.js
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_clone_port_error.any.js
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_event_properties.any.js
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_ports_readonly_array.any.js
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_target_source.any.js
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_transfer_xsite_incoming_messages.window.js
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_with_transfer_entangled.any.js
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_with_transfer_incoming_messages.any.js
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_with_transfer_outgoing_messages.any.js
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/webmessaging/META.yml
</span><del>-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted-worker.js
-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.html
-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.html
</del><ins>+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any.js
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.window.js
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent.any.js
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent_onmessage_postMessage_infinite_loop.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessageEvent_properties.htm
</span><del>-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.htm
-/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.htm
</del><ins>+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_initial_disabled.any.js
+/LayoutTests/imported/w3c/web-platform-tests/webmessaging/MessagePort_onmessage_start.any.js
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/webmessaging/README.md
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/webmessaging/Transferred_objects_unusable.sub.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/webmessaging/event.data.sub.htm
</span></span></pre></div>
<a id="trunkLayoutTestsplatformioswk2TestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-wk2/TestExpectations (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-wk2/TestExpectations      2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/platform/ios-wk2/TestExpectations 2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1847,8 +1847,6 @@
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/215351 http/wpt/service-workers/module-meta-url-fragment.https.html [ Pass Failure ]
</span><span class="cx"> 
</span><del>-webkit.org/b/208832 imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.htm [ Pass Failure ]
-
</del><span class="cx"> webkit.org/b/215398 [ Release ] imported/w3c/web-platform-tests/css/css-images/idlharness.html [ Pass Timeout ]
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/215403 imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/flex-and-intrinsic-sizes-001.html [ Pass Timeout ]
</span><span class="lines">@@ -1946,4 +1944,4 @@
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/226598 animations/leak-document-with-css-animation.html [ Pass Failure ]
</span><span class="cx"> 
</span><del>-webkit.org/b/227890 fast/canvas/canvas-path-addPath.html [ Pass Timeout ]
</del><span class="cx">\ No newline at end of file
</span><ins>+webkit.org/b/227890 fast/canvas/canvas-path-addPath.html [ Pass Timeout ]
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformmacTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/TestExpectations (279893 => 279894)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/TestExpectations  2021-07-13 21:54:21 UTC (rev 279893)
+++ trunk/LayoutTests/platform/mac/TestExpectations     2021-07-13 22:40:14 UTC (rev 279894)
</span><span class="lines">@@ -1704,8 +1704,6 @@
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/208722 imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/seeking/seek-to-max-value.htm [ Pass Failure ]
</span><span class="cx"> 
</span><del>-webkit.org/b/208832 imported/w3c/web-platform-tests/webmessaging/Channel_postMessage_Blob.htm [ Pass Failure ]
-
</del><span class="cx"> webkit.org/b/208592 svg/custom/object-sizing-explicit-height.xhtml [ Pass Failure ]
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/209257 svg/as-object/object-box-sizing-no-width-height.html [ Pass Failure ]
</span></span></pre>
</div>
</div>

</body>
</html>