tor-browser

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

test_sanityException.html (455B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4  <title>Test that uncaught exceptions in mochitests cause failures</title>
      5  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      6 </head>
      7 <body>
      8 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=670817">Mozilla Bug 670817</a>
      9 <script>
     10 ok(true, "a call to ok");
     11 SimpleTest.expectUncaughtException();
     12 // eslint-disable-next-line no-throw-literal
     13 throw "an uncaught exception";
     14 </script>
     15 </body>
     16 </html>