summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/offline/introduction-4/event_updateready-manual.html
blob: 4de435144d8514ca10172c202778e2ffa4591137 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE HTML>
<html manifest="../resources/manifest/clock.manifest">
  <head>
    <title>Offline Application Cache - Event_updateready</title>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
  </head>
  <body>
    <ol>
      <li>Modify the commented part in the manifest file (manifest/clock.manifest) on the server.</li>
      <li>Refresh the page.</li>
    </ol>
    <div id="log"></div>

    <script>
      var t = async_test("updateready event test");
      var cache = window.applicationCache;

      cache.onupdateready = t.done();
    </script>
  </body>
</html>