Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1729776 - Enable the Firefox Suggest "offline" scenario by defaul…
…t for users in the US region with en-* locales. r=mythmon,daleharvey,mak Enable the Firefox Suggest "offline" scenario by default for users in the US region with en-* locales. Previously we relied on Nimbus to enable the offline scenario, and the goal here is to make it permanent for all users in the US `home` region using en-* locales so that we don't need Nimbus for it anymore. With Nimbus, there were two essential mechanisms that restricted the scenario to the desired population: the `browser.urlbar.quicksuggest.enabled` pref, which is a global toggle for Firefox Suggest suggestions regardless of region and locale, and a Nimbus recipe that enabled the pref for US en-* users only. Without Nimbus, we have only the `browser.urlbar.quicksuggest.enabled` pref. We can't rely on a server-side solution to target a specific population, so we need to do it in the client. This patch keeps the default `false` value of `browser.urlbar.quicksuggest.enabled` in firefox.js, and then it sets a new default-branch value for the pref for the US en-* population on app startup. There's actually a set of prefs related to the offline scenario that need to be set, not only `browser.urlbar.quicksuggest.enabled`. Depends on D124943 Differential Revision: https://phabricator.services.mozilla.com/D125024
- Loading branch information
Showing
15 changed files
with
304 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.