tor-browser

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

api_status_checking-manual.html (660B)


      1 <!DOCTYPE HTML>
      2 <html manifest="../resources/manifest/clock.manifest">
      3  <head>
      4    <title>Offline Application Cache - API_status_CHECKING</title>
      5    <script src="/resources/testharness.js"></script>
      6    <script src="/resources/testharnessreport.js"></script>
      7  </head>
      8  <body>
      9    <ol>
     10      <li>Refresh the page.</li>
     11    </ol>
     12 
     13    <div id="log"></div>
     14    <script>
     15      var t = async_test("checking status test"),
     16          cache = window.applicationCache;
     17 
     18      cache.onchecking = t.step_func_done(function() {
     19        assert_equals(cache.status, cache.CHECKING, "cache.status should equals cache.CHECKING");
     20      });
     21    </script>
     22  </body>
     23 </html>