Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Unified Diff: LayoutTests/http/tests/appcache/resources/obsolete-error-events-frame.html

Issue 217133002: AppCache error details tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Restore missing files Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698