tor-browser

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

test_bug414291.html (807B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=414291
      5 -->
      6 <head>
      7  <title>Test for Bug 414291</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=414291">Mozilla Bug 414291</a>
     13 <script class="testbody" type="text/javascript">
     14 
     15 /** Test for Bug 414291 */
     16 var result1 = 0;
     17 var result2 = 0;
     18 
     19 window.open("file1_bug414291.html", "w1");
     20 is(result1, 0, "window should not be opened either as modal or loaded synchronously.");
     21 
     22 window.open("file2_bug414291.html", "w2", "modal=yes");
     23 is(result2, 0, "window should not be opened either as modal or data loaded synchronously.");
     24 
     25 </script>
     26 </pre>
     27 </body>
     28 </html>