mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 1565555 - Set pref to enable What's New panel by default r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D43502 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
dd6deca547
commit
75a5f21f80
@ -1337,7 +1337,7 @@ pref("browser.newtabpage.activity-stream.discoverystream.spocs-endpoint", "");
|
||||
pref("trailhead.firstrun.branches", "join-supercharge");
|
||||
|
||||
// The pref that controls if the What's New panel is enabled.
|
||||
pref("browser.messaging-system.whatsNewPanel.enabled", false);
|
||||
pref("browser.messaging-system.whatsNewPanel.enabled", true);
|
||||
// Whether to use Messaging System to add a badge to the FxA toolbar button
|
||||
pref("browser.messaging-system.fxatoolbarbadge.enabled", true);
|
||||
|
||||
|
@ -826,16 +826,16 @@ add_task(async function check_hasAccessedFxAPanel() {
|
||||
add_task(async function check_isWhatsNewPanelEnabled() {
|
||||
is(
|
||||
await ASRouterTargeting.Environment.isWhatsNewPanelEnabled,
|
||||
false,
|
||||
"Not enabled yet"
|
||||
true,
|
||||
"Enabled by default"
|
||||
);
|
||||
|
||||
await pushPrefs(["browser.messaging-system.whatsNewPanel.enabled", true]);
|
||||
await pushPrefs(["browser.messaging-system.whatsNewPanel.enabled", false]);
|
||||
|
||||
is(
|
||||
await ASRouterTargeting.Environment.isWhatsNewPanelEnabled,
|
||||
true,
|
||||
"Should update based on pref"
|
||||
false,
|
||||
"Should update based on pref, e.g., for holdback"
|
||||
);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user