Fixed regression breaking per-tab restrictions disablement (thanks Horsefly for report).

This commit is contained in:
hackademix 2020-10-06 16:38:24 +02:00
parent c4376d826e
commit 5af5d2ab84
1 changed files with 1 additions and 1 deletions

View File

@ -554,7 +554,7 @@ var RequestGuard = (() => {
debug("onNavCommitted", details);
let {url, tabId, frameId} = details;
try {
let policy = ns.computeChildPolicy({url}, {tab: {tabId}, frameId});
let policy = ns.computeChildPolicy({url}, {tab: {id: tabId}, frameId});
policy.navigationURL = url;
let ret = await browser.tabs.executeScript(details.tabId, {
code: