| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <html manifest="simple_page.manifest"> | |
| 3 <head> | |
| 4 <title>OK</title> | |
| 5 <script type="text/javascript"> | |
| 6 function onCachedEvent() { | |
| 7 window.document.title = "AppCache updated"; | |
| 8 } | |
| 9 | |
| 10 function onLoad() { | |
| 11 window.applicationCache.addEventListener('cached', onCachedEvent, false); | |
| 12 } | |
| 13 </script> | |
| 14 </head> | |
| 15 | |
| 16 <body onload="onLoad()"> | |
| 17 <p><img src="logo.png" width="336" height="69" /></p> | |
| 18 Basic AppCache test. The manifest for this page is specified in the | |
| 19 simple_page.manifest file. The title of the page is set to AppCache updated | |
| 20 if the cache is successfully updated. | |
| 21 </body> | |
| 22 </html> | |
| OLD | NEW |