1
0
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:
Raymond Hill 2024-08-17 10:42:17 -04:00
parent 1cb660b94e
commit e73eb23c90
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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 !== tabId ) { continue; } if ( ruleInfo.request.tabId !== -1 ) {
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);