docshell/base/crashtests/678872-1.html

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:73723ec9596b
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5
6 var f1, f2;
7
8 function b1()
9 {
10 f1 = document.getElementById("f1");
11 f2 = document.getElementById("f2");
12 f1.contentWindow.document.write("11");
13 f1.contentWindow.history.back();
14 setTimeout(b2, 0);
15 }
16
17 function b2()
18 {
19 f2.contentWindow.history.forward();
20 f2.contentWindow.location.reload();
21 f1.parentNode.removeChild(f1);
22 }
23
24 </script>
25
26
27 </script>
28 </head>
29
30 <body onload="setTimeout(b1, 0);">
31
32 <iframe id="f1" src="data:text/html,1"></iframe>
33 <iframe id="f2" src="data:text/html,2"></iframe>
34
35 </body>
36 </html>

mercurial