Avoid useless "seen" reports from onBeforeRequest().
This commit is contained in:
parent
658056878c
commit
b66e0afde1
|
@ -371,7 +371,9 @@ var RequestGuard = (() => {
|
|||
}
|
||||
}
|
||||
}
|
||||
Content.reportTo(request, allowed, policyType);
|
||||
if (type !== "main_frame") {
|
||||
Content.reportTo(request, allowed, policyType);
|
||||
}
|
||||
if (!allowed) {
|
||||
debug(`Blocking ${policyType}`, request);
|
||||
TabStatus.record(request, "blocked");
|
||||
|
|
Loading…
Reference in New Issue