summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_docwrite_meta.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/security/test/csp/file_docwrite_meta.js')
-rw-r--r--dom/security/test/csp/file_docwrite_meta.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/dom/security/test/csp/file_docwrite_meta.js b/dom/security/test/csp/file_docwrite_meta.js
new file mode 100644
index 000000000..722adc235
--- /dev/null
+++ b/dom/security/test/csp/file_docwrite_meta.js
@@ -0,0 +1,3 @@
+// set a variable on the document which we can check to verify
+// whether the external script was loaded or blocked
+document.myMetaCSPScript = "external-JS-loaded";