Update web-platform-tests to revision e3cf1284464a4a3e46fd15e4138f8e32c6cecdd8

This commit is contained in:
WPT Sync Bot 2019-04-18 21:48:35 -04:00
parent b20333a324
commit c5c325d8bb
57 changed files with 1422 additions and 493 deletions

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
promise_test(async () => {
var win = window.open();
var portal = win.document.createElement("portal");
portal.src = new URL("resources/simple-portal.html", location.href)
await new Promise((resolve, reject) => {
var bc = new BroadcastChannel("simple-portal");
bc.onmessage = () => {
bc.close();
resolve();
}
win.document.body.appendChild(portal);
});
return portal.activate();
});
</script>