mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
Fix improperly detecting ruleset changes re. dynamic URL filtering
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2330
This commit is contained in:
parent
37030ec0c9
commit
d027a3f7c4
@ -1710,12 +1710,13 @@ const getURLFilteringData = function(details) {
|
|||||||
}
|
}
|
||||||
if ( response.dirty ) { continue; }
|
if ( response.dirty ) { continue; }
|
||||||
puf.evaluateZ(context, url, type);
|
puf.evaluateZ(context, url, type);
|
||||||
response.dirty = colorEntry.own !== (
|
const pown = (
|
||||||
puf.r !== 0 &&
|
puf.r !== 0 &&
|
||||||
puf.context === context &&
|
puf.context === context &&
|
||||||
puf.url === url &&
|
puf.url === url &&
|
||||||
puf.type === type
|
puf.type === type
|
||||||
);
|
);
|
||||||
|
response.dirty = colorEntry.own !== pown || colorEntry.r !== puf.r;
|
||||||
}
|
}
|
||||||
return response;
|
return response;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user