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.

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

mercurial