tor-browser

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

test_bug383383_2.xhtml (562B)


      1 <html xmlns="http://www.w3.org/1999/xhtml">
      2 <head>
      3  <title>Test for bug 383383</title>
      4  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      5  <link rel="stylesheet" href="/tests/SimpleTest/test.css"/>
      6 </head>
      7 <body>
      8  <script>
      9    SimpleTest.waitForExplicitFinish()
     10  </script>
     11  <script for="window" event="bar">
     12    // This script should not run, but should not cause a parse error either.
     13    ok(false, "Script was unexpectedly run")
     14  </script>
     15  <script>
     16    ok(true, "Script was run as it should")
     17    SimpleTest.finish()
     18  </script>
     19 </body>
     20 </html>