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:
parent
2e1cb9be9b
commit
d88ec51b63
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user