diff options
Diffstat (limited to 'LayoutTests/http/tests/appcache/resources/quota-origin-iframe-2.html')
-rw-r--r-- | LayoutTests/http/tests/appcache/resources/quota-origin-iframe-2.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/LayoutTests/http/tests/appcache/resources/quota-origin-iframe-2.html b/LayoutTests/http/tests/appcache/resources/quota-origin-iframe-2.html new file mode 100644 index 0000000..0f1c11b --- /dev/null +++ b/LayoutTests/http/tests/appcache/resources/quota-origin-iframe-2.html @@ -0,0 +1,8 @@ +<html manifest="quota-origin-iframe-2.manifest"> +<script> +// iframe-2 is expected to fail due to exceeding the origin quota. +applicationCache.oncached = function() { parent.postMessage("FAIL - cached iframe-2, expected this this fail because it reached the quota", "*"); }; +applicationCache.onerror = function() { parent.postMessage("PASS - error caching iframe-2 as expected", "*"); }; +applicationCache.onnoupdate = function() { parent.postMessage("FAIL - no update iframe-2, all caches should have been deleted before this test", "*"); }; +</script> +</html> |