diff options
Diffstat (limited to 'LayoutTests/http/tests/appcache/document-write-html-element-2.html')
-rw-r--r-- | LayoutTests/http/tests/appcache/document-write-html-element-2.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/LayoutTests/http/tests/appcache/document-write-html-element-2.html b/LayoutTests/http/tests/appcache/document-write-html-element-2.html new file mode 100644 index 0000000..bee9fe0 --- /dev/null +++ b/LayoutTests/http/tests/appcache/document-write-html-element-2.html @@ -0,0 +1,19 @@ +<html manifest="resources/document-write-html-element.manifest"> +<script> +if (window.layoutTestController) { + layoutTestController.dumpAsText(); + layoutTestController.waitUntilDone(); +} + +function test() +{ + document.write("SUCCESS, no assertion failure"); + document.write("<br>applicationCache.status == " + applicationCache.status); + + if (window.layoutTestController) + layoutTestController.notifyDone(); +} + +applicationCache.oncached = test; +applicationCache.onnoupdate = test; +</script> |