content/base/crashtests/593302-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 class="reftest-wait">
     3   <head>
     4     <script type="text/javascript">
     5       function boom()
     6       {
     7         iframe = document.getElementById("iframe");
     8         iframeBody = iframe.contentDocument.body;
     9         iframeBody.appendChild(makeNamedSpan("w"));
    10         remove(iframe);
    11         iframeBody.appendChild(makeNamedSpan("w"));
    12         remove(iframeBody);
    13         document.documentElement.className = "";
    14       }
    16       function makeNamedSpan(i)
    17       {
    18         var s = document.createElement("span");
    19         s.id = i;
    20         return s;
    21       }
    23       function remove(n)    { n.parentNode.removeChild(n); }
    24     </script>
    25   </head>
    26   <body onload="boom();">
    27     <iframe id="iframe" src="data:text/html,S"></iframe>
    28   </body>
    29 </html>

mercurial