layout/generic/crashtests/372376-1.xhtml

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 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     2 <head>
     3 <script>
     4 <![CDATA[
     6 var HTML_NS = "http://www.w3.org/1999/xhtml";
     8 function boom()
     9 {
    10   var $table = document.getElementById('table');
    11   var $oldtd = document.getElementById('oldtd');
    13   $table.style.outline = "1px solid green";
    15   var $tr = document.createElementNS(HTML_NS, 'tr');
    16   $tr.style.display = "inherit";
    17   $table.insertBefore($tr, $oldtd);
    19   var $td = document.createElementNS(HTML_NS, 'td'); 
    20   $tr.appendChild($td);
    22   var $anothertr = document.createElementNS(HTML_NS, 'tr'); 
    23   $table.insertBefore($anothertr, $tr);
    25   document.documentElement.removeAttribute("class");
    26 }
    28 ]]>
    29 </script>
    30 </head>
    32 <body onload="setTimeout(boom, 30)">
    34 <table border="1" id="table">
    35 <td id="oldtd"></td>
    36 </table>
    38 </body>
    39 </html>

mercurial