Skip to content
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>
promise_test(async () => {
var win =;
var portal = win.document.createElement("portal");
portal.src = new URL("resources/simple-portal.html", location.href)
await new Promise((resolve, reject) => {
portal.onload = resolve;
return portal.activate();
You can’t perform that action at this time.