Bug 1855360 - Fix the skip-if syntax. a=bustage-fix
[gecko.git] / docshell / base / crashtests / 914521.html
blob8196e430167cb5e6c81ab7cd96032626b668b270
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
4 <meta charset="UTF-8">
5 <script>
7 function f()
9 function spin() {
10 for (var i = 0; i < 8; ++i) {
11 var x = new XMLHttpRequest();
12 x.open('GET', 'data:text/html,' + i, false);
13 x.send();
17 window.addEventListener("popstate", spin);
18 window.close();
19 window.location = "#c";
20 setTimeout(finish,0);
23 var win;
24 function finish() {
25 win.close();
26 document.documentElement.removeAttribute("class");
29 function start()
31 win = window.open("javascript:'<html><body>dummy</body></html>';", null, "width=300,height=300");
32 win.onload = f;
35 </script>
36 </head>
37 <body onload="start();"></body>
38 </html>