Skip to content

Commit 171ddd3

Browse files
committed
Fix incorrect test
Related issue: uBlockOrigin/uBlock-issues#3736
1 parent 14a9572 commit 171ddd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/firefox/vapi-background-ext.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ vAPI.Net = class extends vAPI.Net {
287287
if ( domainFromHostname(cn) === domainFromHostname(hn) ) { return; }
288288
}
289289
if ( this.cnameIgnoreList !== null ) {
290-
if ( this.cnameIgnoreList.test(cn) === false ) { return; }
290+
if ( this.cnameIgnoreList.test(cn) ) { return; }
291291
}
292292
if ( this.cnameIgnoreRootDocument ) {
293293
const origin = hostnameFromNetworkURL(details.documentUrl || details.url);

0 commit comments

Comments
 (0)