Bug 1831689 - Add a pref for the weather suggestion to ignore VPNs and fetch anyway. r=daisuke

Depends on D177218

Differential Revision: https://phabricator.services.mozilla.com/D177339
This commit is contained in:
Drew Willcoxon
2023-05-08 09:08:43 +00:00
parent 7a78f112c8
commit bb4aa2ec5c
4 changed files with 22 additions and 0 deletions

View File

@@ -402,6 +402,10 @@ const PREF_URLBAR_DEFAULTS = new Map([
// Feature gate pref for weather suggestions in the urlbar.
["weather.featureGate", false],
// When false, the weather suggestion will not be fetched when a VPN is
// detected. When true, it will be fetched anyway.
["weather.ignoreVPN", false],
// The minimum prefix length of a weather keyword the user must type to
// trigger the suggestion. 0 means the min length should be taken from Nimbus
// or remote settings.