diff options
Diffstat (limited to 'devtools/client/webconsole/test/browser/test-csp-violation-event-handler.html')
-rw-r--r-- | devtools/client/webconsole/test/browser/test-csp-violation-event-handler.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/devtools/client/webconsole/test/browser/test-csp-violation-event-handler.html b/devtools/client/webconsole/test/browser/test-csp-violation-event-handler.html new file mode 100644 index 0000000000..49ab77a0c8 --- /dev/null +++ b/devtools/client/webconsole/test/browser/test-csp-violation-event-handler.html @@ -0,0 +1,8 @@ + <html> + <head> + <title>CSP Inline Event Handlers Violations Test</title> + </head> + <body onload="document.body.textContent = 'JavaScript executed!';"> + JavaScript should not execute. + </body> +</html> |