diff options
Diffstat (limited to 'LayoutTests/http/tests/appcache/resources/origins-with-appcache-iframe.html')
-rw-r--r-- | LayoutTests/http/tests/appcache/resources/origins-with-appcache-iframe.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/LayoutTests/http/tests/appcache/resources/origins-with-appcache-iframe.html b/LayoutTests/http/tests/appcache/resources/origins-with-appcache-iframe.html new file mode 100644 index 0000000..92cf1ff --- /dev/null +++ b/LayoutTests/http/tests/appcache/resources/origins-with-appcache-iframe.html @@ -0,0 +1,9 @@ +<html manifest="origins-with-appcache-iframe.manifest"> +<script> +// iframe-1 is expected to succeed. +applicationCache.oncached = function() { parent.postMessage("created_cache", "*"); }; +applicationCache.onerror = function() { parent.postMessage("FAIL - error caching iframe, expected this to succeed", "*"); }; +applicationCache.onnoupdate = function() { parent.postMessage("FAIL - no update iframe, all caches should have been deleted before this test", "*"); }; + +</script> +</html> |