summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_invalid_source_expression.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/security/test/csp/file_invalid_source_expression.html')
-rw-r--r--dom/security/test/csp/file_invalid_source_expression.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/dom/security/test/csp/file_invalid_source_expression.html b/dom/security/test/csp/file_invalid_source_expression.html
new file mode 100644
index 000000000..83bb0ec0c
--- /dev/null
+++ b/dom/security/test/csp/file_invalid_source_expression.html
@@ -0,0 +1,11 @@
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <title>Bug 1086612 - CSP: Let source expression be the empty set in case no valid source can be parsed</title>
+ </head>
+ <body>
+ <div id="testdiv">blocked</div>
+ <!-- Note, we reuse file_path_matching.js which only updates the testdiv to 'allowed' if loaded !-->
+ <script src="http://test1.example.com/tests/dom/security/test/csp/file_path_matching.js"></script>
+</body>
+</html>