Bug 1866474 - Incorrect status is displayed after turning off the Cookie Banner Blocker feature from the panel

(cherry picked from commit 7f9d3570ff283f2de6b08dc256083638c3d0a171)
fenix/121.0
Arturo Mejia 6 months ago committed by Ryan VanderMeulen
parent a694cdbedc
commit 0d177b4a15

@ -36,10 +36,10 @@ suspend fun CookieBannersStorage.getCookieBannerUIMode(
val hasException = withContext(Dispatchers.IO) {
hasException(tab.content.url, tab.content.private)
}
} ?: return CookieBannerUIMode.HIDE
if (hasException) {
CookieBannerUIMode.SITE_NOT_SUPPORTED
CookieBannerUIMode.DISABLE
} else {
withContext(Dispatchers.Main) {
tab.isCookieBannerSupported()

Loading…
Cancel
Save