Index: LayoutTests/http/tests/appcache/resources/obsolete-error-events-frame.html |
diff --git a/LayoutTests/http/tests/appcache/resources/obsolete-error-events-frame.html b/LayoutTests/http/tests/appcache/resources/obsolete-error-events-frame.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6a62202ecbbbf078ba98e23e26d01a69e72f3b3d |
--- /dev/null |
+++ b/LayoutTests/http/tests/appcache/resources/obsolete-error-events-frame.html |
@@ -0,0 +1,19 @@ |
+<html manifest="fail-on-update.php"> |
+<script> |
+ |
+applicationCache.addEventListener('obsolete', function(e) { |
+ window.parent.postMessage({ |
+ type: e.type |
+ }, '*'); |
+}); |
+ |
+applicationCache.addEventListener('error', function(e) { |
+ window.parent.postMessage({ |
+ type: e.type, |
+ reason: e.reason, |
+ url: e.url, |
+ status: e.status |
+ }, '*'); |
+}); |
+</script> |
+</html> |