tor-browser

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

unhandled-rejection-following-subtest.html (410B)


      1 <!DOCTYPE html>
      2 <meta charset=utf-8>
      3 <title>Unhandled rejection following subtest</title>
      4 <script src="/resources/testharness.js"></script>
      5 <script src="/resources/testharnessreport.js"></script>
      6 <script>
      7 setup({ explicit_done: true });
      8 window.addEventListener('unhandledrejection', () => { done(); }, {once: true});
      9 test(function() {});
     10 Promise.reject(new Error("error outside any setup or test"));
     11 </script>