Fix for regression: request and execution attempts not being reported anymore in the UI if restrictions are disabled (thanks Stefan Mey for report).
This commit is contained in:
parent
6a59d1090e
commit
da7ee2104a
|
@ -487,6 +487,9 @@ var RequestGuard = (() => {
|
||||||
if (ns.unrestrictedTabs.has(tabId) && type.endsWith("frame") && url.startsWith("https:")) {
|
if (ns.unrestrictedTabs.has(tabId) && type.endsWith("frame") && url.startsWith("https:")) {
|
||||||
TabStatus.addOrigin(tabId, url);
|
TabStatus.addOrigin(tabId, url);
|
||||||
}
|
}
|
||||||
|
if (type !== "main_frame") {
|
||||||
|
Content.reportTo(request, true, policyType);
|
||||||
|
}
|
||||||
return ALLOW;
|
return ALLOW;
|
||||||
}
|
}
|
||||||
let isFetch = "fetch" === policyType;
|
let isFetch = "fetch" === policyType;
|
||||||
|
|
Loading…
Reference in New Issue