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 482d4eb commit 2018a59Copy full SHA for 2018a59
src/bg/main.js
@@ -295,7 +295,7 @@
295
},
296
297
computeChildPolicy({url, contextUrl}, sender) {
298
- const {tab, frameId} = sender;
+ let {tab} = sender;
299
let policy = ns.policy;
300
const {isTorBrowser} = ns.local;
301
if (!policy) {
@@ -311,7 +311,7 @@
311
312
const tabId = tab ? tab.id : -1;
313
let topUrl;
314
- if (frameId === 0) {
+ if (sender.frameId === 0) {
315
topUrl = url;
316
} else if (tab) {
317
if (!tab.url) tab = TabCache.get(tabId);
0 commit comments