Bug 1852760 - Add Nimbus features to control cookie banner handling prefs. r=timhuang

Differential Revision: https://phabricator.services.mozilla.com/D187988
This commit is contained in:
Paul Zuehlcke 2023-09-12 13:53:18 +00:00
Родитель fa87352be2
Коммит c64b6cd093
1 изменённых файлов: 31 добавлений и 0 удалений

Просмотреть файл

@ -1773,3 +1773,34 @@ bookmarks:
type: string
setPref: browser.toolbars.bookmarks.visibility
description: If the bookmarks toolbar should never, always, or only show on newtab.
cookieBannerHandling:
description: Automatically handle cookie banners on the user's behalf.
owner: pbz@mozilla.com
hasExposure: false
variables:
modeNormalBrowsing:
type: int
setPref: cookiebanners.service.mode
description: >-
Controls the cookie banner handling mode in normal browsing.
Values: 0 - disabled, 1 - reject all, 2 - reject all with accept all fallback.
modePrivateBrowsing:
type: int
setPref: cookiebanners.service.mode.privateBrowsing
description: >-
Controls the cookie banner handling mode in private browsing.
Values: 0 - disabled, 1 - reject all, 2 - reject all with accept all fallback.
enableGlobalRules:
type: boolean
setPref: cookiebanners.service.enableGlobalRules
description: >-
Enables use of global CookieBannerRules, which apply to all sites.
This enables handling of CMPs across sites without the use of site-specific rules.
enableDetectOnly:
type: boolean
setPref: cookiebanners.service.detectOnly
description: >-
When set to true, cookie banners are detected and detection events are
dispatched, but they will not be handled.
This pref applies to both normal and private browsing windows.