docshell/base/crashtests/678872-1.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <!DOCTYPE html>
     2 <html>
     3 <head>
     4 <script>
     6 var f1, f2;
     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 }
    17 function b2()
    18 {
    19   f2.contentWindow.history.forward();
    20   f2.contentWindow.location.reload();
    21   f1.parentNode.removeChild(f1);
    22 }
    24 </script>
    27 </script>
    28 </head>
    30 <body onload="setTimeout(b1, 0);">
    32 <iframe id="f1" src="data:text/html,1"></iframe>
    33 <iframe id="f2" src="data:text/html,2"></iframe>
    35 </body>
    36 </html>

mercurial