From 171ddd3e06c1f695f46f890e48a8545499334ec5 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 1 Aug 2025 10:38:40 -0400 Subject: [PATCH] Fix incorrect test Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3736 --- platform/firefox/vapi-background-ext.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/firefox/vapi-background-ext.js b/platform/firefox/vapi-background-ext.js index a5a80b8d6..4041d5e53 100644 --- a/platform/firefox/vapi-background-ext.js +++ b/platform/firefox/vapi-background-ext.js @@ -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);