tor-browser

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

test_showModalDialog_removed.html (903B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=1077002
      5 -->
      6 <head>
      7  <title>Test for showModalDialog unavailability in e10s</title>
      8  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      9  <script src="/tests/SimpleTest/EventUtils.js"></script>
     10  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     11 </head>
     12 <body>
     13 <a target="_blank"
     14    href="https://bugzilla.mozilla.org/show_bug.cgi?id=1077002">Mozilla Bug 1077002</a>
     15 <p id="display"></p>
     16 <div id="content">
     17  <iframe id="frame" style="height:100px; width:100px; border:0"></iframe>
     18  <div id="status" style="display: none"></div>
     19 </div>
     20 <pre id="test">
     21 <script type="application/javascript">
     22 
     23 /** Test for showModalDialog unavailability in Firefox. */
     24 
     25 // showModalDialog was removed in bug 981796.
     26 ok(!window.showModalDialog, "showModalDialog should not exist");
     27 
     28 </script>
     29 </pre>
     30 </body>
     31 </html>