1
0
Fork 0
firefox/testing/web-platform/tests/speculation-rules/prerender/resources/prerendered-page.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

17 lines
490 B
HTML

<!DOCTYPE html>
<title>Prerendered page</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/speculation-rules/prerender/resources/utils.js"></script>
<body>
<script>
assert_true(document.prerendering);
const params = new URLSearchParams(location.search);
const uid = params.get('uid');
const bc = new PrerenderChannel('prerender-channel', uid);
bc.postMessage('prerender success');
bc.close();
</script>
</body>