We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2f6bcb commit ab705e3Copy full SHA for ab705e3
src/bg/RequestGuard.js
@@ -818,6 +818,7 @@
818
};
819
820
async function injectPolicyScript(details) {
821
+ await ns.initializing;
822
const {url, tabId, frameId} = details;
823
const domPolicy = await ns.computeChildPolicy({url}, {tab: {id: tabId}, frameId});
824
domPolicy.navigationURL = url;
src/bg/main.js
@@ -199,7 +199,6 @@
199
},
200
201
async fetchChildPolicy({url, contextUrl}, sender) {
202
- await ns.initializing;
203
return await ns.computeChildPolicy(...arguments);
204
205
@@ -306,6 +305,7 @@
306
305
307
308
async computeChildPolicy({url, contextUrl}, sender) {
309
let {tab} = sender;
310
let policy = ns.policy;
311
const {isTorBrowser} = ns.local;
0 commit comments