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
1 changed files with 4 additions and 4 deletions

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',