mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fix incorrect test
Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3736
This commit is contained in:
parent
14a9572c86
commit
171ddd3e06
1 changed files with 1 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ vAPI.Net = class extends vAPI.Net {
|
|||
if ( domainFromHostname(cn) === domainFromHostname(hn) ) { return; }
|
||||
}
|
||||
if ( this.cnameIgnoreList !== null ) {
|
||||
if ( this.cnameIgnoreList.test(cn) === false ) { return; }
|
||||
if ( this.cnameIgnoreList.test(cn) ) { return; }
|
||||
}
|
||||
if ( this.cnameIgnoreRootDocument ) {
|
||||
const origin = hostnameFromNetworkURL(details.documentUrl || details.url);
|
||||
|
|
|
|||
Loading…
Reference in a new issue