event_updateready-manual.html (638B)
1 <!DOCTYPE HTML> 2 <html manifest="../resources/manifest/clock.manifest"> 3 <head> 4 <title>Offline Application Cache - Event_updateready</title> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 </head> 8 <body> 9 <ol> 10 <li>Modify the commented part in the manifest file (manifest/clock.manifest) on the server.</li> 11 <li>Refresh the page.</li> 12 </ol> 13 <div id="log"></div> 14 15 <script> 16 var t = async_test("updateready event test"); 17 var cache = window.applicationCache; 18 19 cache.onupdateready = t.done(); 20 </script> 21 </body> 22 </html>