summaryrefslogtreecommitdiffstats
path: root/dom/html/test/file_iframe_sandbox_fail.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/test/file_iframe_sandbox_fail.js')
-rw-r--r--dom/html/test/file_iframe_sandbox_fail.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/dom/html/test/file_iframe_sandbox_fail.js b/dom/html/test/file_iframe_sandbox_fail.js
new file mode 100644
index 0000000000..1f1290d046
--- /dev/null
+++ b/dom/html/test/file_iframe_sandbox_fail.js
@@ -0,0 +1,4 @@
+ok(
+ false,
+ "documents sandboxed with allow-scripts should NOT be able to run <script src=...>"
+);