no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / docshell / test / navigation / iframe_slow_onload_inner.html
blobad39eba79539f8e80ff4c0c757303a1ae348bbb1
1 <html>
2 <head>
3 <script>
4 function load() {
5 // Let the test page know that it can try to navigate.
6 top.postMessage("onload", "*");
7 // We're starting an infinite loop, but we need to time out after a
8 // while, or the loop will keep running until shutdown.
9 let t0 = performance.now();
10 while (performance.now() - t0 < 5000) {
11 document.getElementById("output").innerText = Math.random();
14 </script>
15 </head>
16 <body onload="load()">
17 <p id="output"></p>
18 </body>
19 </html>