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

Unified Diff: LayoutTests/imported/web-platform-tests/webstorage/resources/event_body_handler.html

Issue 1220543007: Import web-platform-tests/webstorage (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 5 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/imported/web-platform-tests/webstorage/resources/event_body_handler.html
diff --git a/LayoutTests/imported/web-platform-tests/webstorage/resources/event_body_handler.html b/LayoutTests/imported/web-platform-tests/webstorage/resources/event_body_handler.html
new file mode 100644
index 0000000000000000000000000000000000000000..1200f405e67b7f66be70a08d9cd7c9a22d1e0739
--- /dev/null
+++ b/LayoutTests/imported/web-platform-tests/webstorage/resources/event_body_handler.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<script>
+
+function handleStorageEvent(e) {
+ window.parent.storageEventList.push(e);
+}
+
+</script>
+</head>
+<body onstorage="handleStorageEvent(window.event);">
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698