comparison: content/base/crashtests/628599-1.html
content/base/crashtests/628599-1.html
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
1 <!DOCTYPE html> |
|
2 <html> |
|
3 <head> |
|
4 <script> |
|
5 |
|
6 var w; |
|
7 |
|
8 function b1() |
|
9 { |
|
10 w = window.open("404.gif", "w2", "f"); |
|
11 setTimeout(b2, 1200); |
|
12 } |
|
13 |
|
14 function b2() |
|
15 { |
|
16 w.close(); |
|
17 setTimeout(b3, 500); |
|
18 } |
|
19 |
|
20 function b3() |
|
21 { |
|
22 w.location = "data:text/html,2"; |
|
23 document.body.appendChild(document.createTextNode("Done")); |
|
24 } |
|
25 |
|
26 </script> |
|
27 </head> |
|
28 <body> |
|
29 <div><button onclick="b1();">Start test</button></div> |
|
30 </body> |
|
31 </html> |