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);
|
debug("onNavCommitted", details);
|
||||||
let {url, tabId, frameId} = details;
|
let {url, tabId, frameId} = details;
|
||||||
try {
|
try {
|
||||||
let policy = ns.computeChildPolicy({url}, {tab: {tabId}, frameId});
|
let policy = ns.computeChildPolicy({url}, {tab: {id: tabId}, frameId});
|
||||||
policy.navigationURL = url;
|
policy.navigationURL = url;
|
||||||
let ret = await browser.tabs.executeScript(details.tabId, {
|
let ret = await browser.tabs.executeScript(details.tabId, {
|
||||||
code:
|
code:
|
||||||
|
|
Loading…
Reference in New Issue