mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-16 23:42:39 +01:00
[mv3] Don't filter out tabless requests in "logger"
This commit is contained in:
parent
1cb660b94e
commit
e73eb23c90
@ -112,7 +112,9 @@ export const getMatchedRules = (( ) => {
|
|||||||
const j = (writePtr + i) % bufferSize;
|
const j = (writePtr + i) % bufferSize;
|
||||||
const ruleInfo = matchedRules[j];
|
const ruleInfo = matchedRules[j];
|
||||||
if ( ruleInfo === null ) { continue; }
|
if ( ruleInfo === null ) { continue; }
|
||||||
|
if ( ruleInfo.request.tabId !== -1 ) {
|
||||||
if ( ruleInfo.request.tabId !== tabId ) { continue; }
|
if ( ruleInfo.request.tabId !== tabId ) { continue; }
|
||||||
|
}
|
||||||
const promise = getRuleDetails(ruleInfo);
|
const promise = getRuleDetails(ruleInfo);
|
||||||
if ( promise === undefined ) { continue; }
|
if ( promise === undefined ) { continue; }
|
||||||
promises.unshift(promise);
|
promises.unshift(promise);
|
||||||
|
Loading…
Reference in New Issue
Block a user