1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-02 08:52:45 +01:00

Minor code review

This commit is contained in:
Raymond Hill 2023-01-30 11:14:07 -05:00
parent 2e1cb9be9b
commit d88ec51b63
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -149,9 +149,9 @@ const fromNetFilter = async function(rawFilter) {
const id = messageId++;
worker.postMessage({
what: 'fromNetFilter',
id: id,
id,
compiledFilter: writer.last(),
rawFilter: rawFilter
rawFilter,
});
return new Promise(resolve => {
@ -174,9 +174,9 @@ const fromExtendedFilter = async function(details) {
worker.postMessage({
what: 'fromExtendedFilter',
id: id,
id,
domain: domainFromHostname(hostname),
hostname: hostname,
hostname,
ignoreGeneric:
staticNetFilteringEngine.matchRequestReverse(
'generichide',