summaryrefslogtreecommitdiff
path: root/content/policy_enforcing.js
diff options
context:
space:
mode:
Diffstat (limited to 'content/policy_enforcing.js')
-rw-r--r--content/policy_enforcing.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/policy_enforcing.js b/content/policy_enforcing.js
index 8e26afb..320b6d0 100644
--- a/content/policy_enforcing.js
+++ b/content/policy_enforcing.js
@@ -43,7 +43,7 @@
* proprietary program, I am not going to enforce this in court.
*/
-#FROM common/misc.js IMPORT gen_nonce
+#FROM common/misc.js IMPORT gen_nonce, csp_header_regex
document.content_loaded = document.readyState === "complete";
const wait_loaded = e => e.content_loaded ? Promise.resolve() :
@@ -237,7 +237,7 @@ function prevent_script_execution(event) {
#ENDIF
/*
- * Here we block all scripts of a document which might be either and
+ * Here we block all scripts of a document which might be either an
* HTMLDocument or an XMLDocument. Modifying an XML document might disrupt
* Mozilla's XML preview. This is an unfortunate thing we have to accept for
* now. XML documents *have to* be sanitized as well because they might