summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_strict_dynamic_script_events.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/security/test/csp/file_strict_dynamic_script_events.html')
-rw-r--r--dom/security/test/csp/file_strict_dynamic_script_events.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/dom/security/test/csp/file_strict_dynamic_script_events.html b/dom/security/test/csp/file_strict_dynamic_script_events.html
new file mode 100644
index 0000000000..0889583821
--- /dev/null
+++ b/dom/security/test/csp/file_strict_dynamic_script_events.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <title>Bug 1316826 - 'strict-dynamic' blocking DOM event handlers</title>
+</head>
+<body>
+<div id="testdiv">blocked</div>
+
+ <img src='/nonexisting.jpg'
+ onerror='document.getElementById("testdiv").innerHTML = "allowed";'
+ style='display:none'>
+
+</body>
+</html>