summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bg/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bg/main.js b/src/bg/main.js
index 7bd72a6..8ff2d55 100644
--- a/src/bg/main.js
+++ b/src/bg/main.js
@@ -181,7 +181,7 @@
},
requestCan(request, capability) {
- return !this.isEnforced(request.tabId) || this.policy.can(request.url, "script", request.documentURL);
+ return !this.isEnforced(request.tabId) || this.policy.can(request.url, capability, request.documentURL);
},
start() {