From d88ec51b63da865d1e378c993e4f2b9c98bfea88 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Mon, 30 Jan 2023 11:14:07 -0500 Subject: [PATCH] Minor code review --- src/js/reverselookup.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/js/reverselookup.js b/src/js/reverselookup.js index be06a503b..d79fdc31f 100644 --- a/src/js/reverselookup.js +++ b/src/js/reverselookup.js @@ -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',