summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/content-security-policy/generic/positiveTest.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/content-security-policy/generic/positiveTest.js')
-rw-r--r--testing/web-platform/tests/content-security-policy/generic/positiveTest.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/web-platform/tests/content-security-policy/generic/positiveTest.js b/testing/web-platform/tests/content-security-policy/generic/positiveTest.js
new file mode 100644
index 000000000..63c999196
--- /dev/null
+++ b/testing/web-platform/tests/content-security-policy/generic/positiveTest.js
@@ -0,0 +1,6 @@
+onload = function() {
+ test(function() {
+ assert_true(true, 'Script ran.')},
+ "Allows scripts from the same host."
+ );
+}