layout/generic/crashtests/372376-1.xhtml

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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