1
0
Fork 0
firefox/testing/web-platform/tests/partitioned-popins/resources/partitioned-popins.recursive.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

18 lines
624 B
HTML

<!doctype html>
<meta charset="utf-8">
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<script>
(async function() {
test_driver.set_test_context(window.opener);
// Step 3 (partitioned-popins/partitioned-popins.recursive.tentative.sub.https.window.js)
let message = "Could not open inner popin";
try {
window.open("/partitioned-popins/resources/partitioned-popins.close.html", '_blank', 'popin');
message = "Did open inner popin";
} catch (_) {}
window.opener.postMessage({type: "popin", message: message}, "*");
window.close();
})();
</script>