summaryrefslogtreecommitdiffstats
path: root/LayoutTests/storage/domstorage/events/resources/body-event-handler.html
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/storage/domstorage/events/resources/body-event-handler.html')
-rw-r--r--LayoutTests/storage/domstorage/events/resources/body-event-handler.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/LayoutTests/storage/domstorage/events/resources/body-event-handler.html b/LayoutTests/storage/domstorage/events/resources/body-event-handler.html
new file mode 100644
index 0000000..a1218fe
--- /dev/null
+++ b/LayoutTests/storage/domstorage/events/resources/body-event-handler.html
@@ -0,0 +1,8 @@
+<html><head><script>
+
+function handleStorageEvent(e) {
+ window.parent.storageEventList.push(e);
+}
+
+</script></head><body onstorage="handleStorageEvent(window.event);">
+</body></html>