Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / appcache / document-write-html-element.html
blobad6afdc10174a9a9fb4fcaa13f78d7017aff610c
1 <script>
2 if (window.testRunner) {
3 testRunner.dumpAsText();
4 testRunner.waitUntilDone();
7 window.onload = function()
9 document.write("<html manifest='resources/document-write-html-element.manifest'>");
10 applicationCache.oncached = function() {
11 alert("FAIL: appcache cached");
13 applicationCache.onnoupdate = function() {
14 alert("FAIL: appcache noupdate");
16 applicationCache.onerror = function() {
17 alert("FAIL: appcache error");
20 setTimeout(function() {
21 document.write("DONE. Passed if there were no alerts displayed.");
22 if (window.testRunner)
23 testRunner.notifyDone();
24 }, 100);
26 </script>