tor-browser

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

event_error-manual.html (598B)


      1 <!DOCTYPE HTML>
      2 <html manifest="../resources/manifest/clock.manifest">
      3  <head>
      4    <title>Offline Application Cache - Event_error</title>
      5    <script src="/resources/testharness.js"></script>
      6    <script src="/resources/testharnessreport.js"></script>
      7  </head>
      8  <body>
      9    <ol>
     10      <li>Add a dummy file in the manifest file (manifest/clock.manifest).</li>
     11      <li>Refresh the page.</li>
     12    </ol>
     13 
     14    <div id="log"></div>
     15 
     16    <script>
     17      var t = async_test("error event test");
     18      var cache = window.applicationCache;
     19 
     20      cache.onerror = t.done();
     21    </script>
     22  </body>
     23 </html>