diff options
Diffstat (limited to 'dom/security/test/contentverifier/file_about_newtab_bad_csp.html')
-rw-r--r-- | dom/security/test/contentverifier/file_about_newtab_bad_csp.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dom/security/test/contentverifier/file_about_newtab_bad_csp.html b/dom/security/test/contentverifier/file_about_newtab_bad_csp.html new file mode 100644 index 000000000..f8044b73f --- /dev/null +++ b/dom/security/test/contentverifier/file_about_newtab_bad_csp.html @@ -0,0 +1,14 @@ +<!DOCTYPE HTML> +<html> +<head> + <meta charset="utf-8"> + <title>Testpage for CSP violation (inline script)</title> +</head> +<body> + CSP violation test succeeded. + <script> + // This inline script would override the success string if loaded. + document.body.innerHTML = "CSP violation test failed."; + </script> +</body> +</html>
\ No newline at end of file |