diff options
Diffstat (limited to 'src/content/DocumentCSP.js')
-rw-r--r-- | src/content/DocumentCSP.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/DocumentCSP.js b/src/content/DocumentCSP.js index 9991d4f..057d564 100644 --- a/src/content/DocumentCSP.js +++ b/src/content/DocumentCSP.js @@ -10,7 +10,7 @@ class DocumentCSP { let {document} = this; if (!(document instanceof HTMLDocument)) { // this is not HTML, hence we cannot inject a <meta> CSP - if (!capabilites.has("script")) { + if (!capabilities.has("script")) { // safety net for XML (especially SVG) documents document.defaultView.addEventListener("beforescriptexecute", e => e.preventDefault(), true); |