diff options
Diffstat (limited to 'devtools/client/netmonitor/test/html_csp-test-page.html')
-rw-r--r-- | devtools/client/netmonitor/test/html_csp-test-page.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/devtools/client/netmonitor/test/html_csp-test-page.html b/devtools/client/netmonitor/test/html_csp-test-page.html new file mode 100644 index 0000000000..2329f4fa1e --- /dev/null +++ b/devtools/client/netmonitor/test/html_csp-test-page.html @@ -0,0 +1,18 @@ +<!DOCTYPE HTML> +<html> + <head> + <meta charset=utf-8> + <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> + <meta http-equiv="Pragma" content="no-cache" /> + <meta http-equiv="Expires" content="0" /> + <meta http-equiv="Content-Security-Policy" content="script-src 'none'; style-src 'none';"> + <title>Tests breaking CSP with script</title> + <link href="internal-loaded.css" rel="stylesheet" type="text/css"> + </head> + <body> + + The script in this page will CSP: + + <script src="js_websocket-worker-test.js"></script> + </body> +</html> |