From 08a41b3a62c8621904e79ed4edf2039fffb45a64 Mon Sep 17 00:00:00 2001 From: hackademix Date: Thu, 31 Oct 2019 23:52:54 +0100 Subject: Fixed bug in policy fetching. --- src/bg/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/bg') 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; -- cgit v1.2.3