Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (15 sloc) 493 Bytes
<!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) => {
portal.onload = resolve;
win.document.body.appendChild(portal);
});
return portal.activate();
});
</script>
You can’t perform that action at this time.