summaryrefslogtreecommitdiff
path: root/src/bg
diff options
context:
space:
mode:
authorhackademix2019-10-31 23:52:54 +0100
committerhackademix2019-10-31 23:52:54 +0100
commit08a41b3a62c8621904e79ed4edf2039fffb45a64 (patch)
tree48d96157c7f2df9146637e14f23ef9f01868db6a /src/bg
parent25fd1727b64635b23207446b671baa59ccfa55dc (diff)
downloadnoscript-08a41b3a62c8621904e79ed4edf2039fffb45a64.tar.gz
noscript-08a41b3a62c8621904e79ed4edf2039fffb45a64.tar.xz
noscript-08a41b3a62c8621904e79ed4edf2039fffb45a64.zip
Fixed bug in policy fetching.
Diffstat (limited to 'src/bg')
-rw-r--r--src/bg/main.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bg/main.js b/src/bg/main.js
index 7df5b2f..165260c 100644
--- a/src/bg/main.js
+++ b/src/bg/main.js
@@ -142,7 +142,8 @@
async fetchChildPolicy({url, contextUrl}, sender) {
await ns.initializing;
- return (this.fetchChildPolicy = this.fetchChildPolicySync)(...arguments);
+ return (messageHandler.fetchChildPolicy =
+ messageHandler.fetchChildPolicySync)(...arguments);
},
fetchChildPolicySync({url, contextUrl}, sender) {
let {tab, frameId} = sender;