Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /preload/prefetch-load-event.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/utils.js"></script>
<link rel="prefetch" href="/xhr/resources/delay.py?ms=100000">
<body>
<script>
promise_test(() => new Promise(resolve => window.addEventListener("load", resolve)),
"Prefetch should not block the load event");
</script>
</body>