summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/content-security-policy/generic/fail-0_1.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/content-security-policy/generic/fail-0_1.js')
-rw-r--r--testing/web-platform/tests/content-security-policy/generic/fail-0_1.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/web-platform/tests/content-security-policy/generic/fail-0_1.js b/testing/web-platform/tests/content-security-policy/generic/fail-0_1.js
new file mode 100644
index 0000000000..5c580273dc
--- /dev/null
+++ b/testing/web-platform/tests/content-security-policy/generic/fail-0_1.js
@@ -0,0 +1,3 @@
+(function () {
+ scriptsrc1.step(function() { assert_unreached('Unsafe inline script ran.') });
+})();