tor-browser

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

test_bug755320.html (732B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=755320
      5 -->
      6 <head>
      7  <title>Test for Bug 755320</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=755320">Mozilla Bug 755320</a>
     13 
     14 <script type="text/javascript">
     15 
     16 /** Test for Bug 755320 */
     17 
     18 SimpleTest.waitForExplicitFinish();
     19 
     20 function finish() {
     21  ok(true, "Got onload for iframe.");
     22  SimpleTest.finish();
     23 }
     24 </script>
     25 
     26 <!-- remote="true" should be ignored on vanilla iframes. -->
     27 <iframe remote="true" onload='finish()' src="data:text/html,It worked."></iframe>
     28 
     29 </body>
     30 </html>