1<html manifest="resources/document-write-html-element.manifest"> 2<script> 3if (window.layoutTestController) { 4 layoutTestController.dumpAsText(); 5 layoutTestController.waitUntilDone(); 6} 7 8function 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 17applicationCache.oncached = test; 18applicationCache.onnoupdate = test; 19</script> 20