tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_bug1366.html (850B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=1366
      5 -->
      6 <head>
      7  <title>Test for Bug 1366</title>
      8  <script src="/tests/SimpleTest/SimpleTest.js"></script>        
      9  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
     10 </head>
     11 <body>
     12 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1366">Mozilla Bug 1366</a>
     13 <p id="display"></p>
     14 <div id="content" style="display: none">
     15 <table id="testtable" width=150 border>
     16 <tbody id="testbody">
     17 	<tr>
     18 		<td>cell content</td>
     19 	</tr>
     20 </tbody>
     21 </table>
     22 </div>
     23 <pre id="test">
     24 <script class="testbody" type="text/javascript">
     25 
     26 /** Test for Bug 1366 */
     27 $('testtable').removeChild($('testbody'));
     28 $('display').innerHTML = "SCRIPT: deleted first ROWGROUP\n";
     29 is($('testbody'), null, "deleting tbody works");
     30 
     31 </script>
     32 </pre>
     33 </body>
     34 </html>