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