Fixed regression breaking per-tab restrictions disablement (thanks Horsefly for report).
This commit is contained in:
parent
c4376d826e
commit
5af5d2ab84
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue