summaryrefslogtreecommitdiff
path: root/src/bg
diff options
context:
space:
mode:
authorhackademix2018-09-10 11:34:22 +0200
committerhackademix2018-09-10 11:34:22 +0200
commitf88a6a6d6d16744b942970e9ba8a0ccd22e5c7b3 (patch)
tree11697b5856d074bfb507942a7fff2202be2588b2 /src/bg
parent6414195445bebb2f6af896e2786302e820f0b263 (diff)
downloadnoscript-f88a6a6d6d16744b942970e9ba8a0ccd22e5c7b3.tar.gz
noscript-f88a6a6d6d16744b942970e9ba8a0ccd22e5c7b3.tar.xz
noscript-f88a6a6d6d16744b942970e9ba8a0ccd22e5c7b3.zip
Streamlined child policy content scripts.
Diffstat (limited to 'src/bg')
-rw-r--r--src/bg/ChildPolicies.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bg/ChildPolicies.js b/src/bg/ChildPolicies.js
index ec08623..7f94ce0 100644
--- a/src/bg/ChildPolicies.js
+++ b/src/bg/ChildPolicies.js
@@ -176,8 +176,7 @@
getForDocument(policy, url, context = null) {
return {
- CURRENT: policy.get(url, context).perms.dry(),
- DEFAULT: policy.DEFAULT.dry(),
+ permissions: policy.get(url, context).perms.dry(),
MARKER: marker
};
},