tor-browser

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

test_bug389630.html (942B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=389630
      5 -->
      6 <head>
      7  <title>Test for Bug 389630</title>
      8  <script src="/tests/SimpleTest/SimpleTest.js"></script>        
      9  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
     10  <style>.fl:first-letter { }
     11  </style>
     12 </head>
     13 <body>
     14 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=389630">Mozilla Bug 389630</a>
     15 <div id="content" style="direction: rtl;"><table><tr><td width="1"><div id="div" class="fl"><font><span>x y</span></font></div></td></tr></table></div>
     16 <pre id="test">
     17 <script class="testbody" type="text/javascript">
     18 function boom()
     19 {
     20 /** Test for Bug 389630 */
     21  document.getElementById("div").className = "";
     22  ok(true, "Should not crash");
     23  SimpleTest.finish();
     24 }
     25  SimpleTest.requestFlakyTimeout("untriaged");
     26  setTimeout(boom, 500);
     27  SimpleTest.waitForExplicitFinish();
     28 </script>
     29 </pre>
     30 </body>
     31 </html>