1 <html manifest="resources/document-write-html-element.manifest"> 2 <script> 3 if (window.layoutTestController) { 4 layoutTestController.dumpAsText(); 5 layoutTestController.waitUntilDone(); 6 } 7 8 function test() 9 { 10 document.write("SUCCESS, no assertion failure"); 11 document.write("<br>applicationCache.status == " + applicationCache.status); 12 13 if (window.layoutTestController) 14 layoutTestController.notifyDone(); 15 } 16 17 applicationCache.oncached = test; 18 applicationCache.onnoupdate = test; 19 </script> 20