Newtab showWeather has Nimbus setup prefs mismatch
Categories
(Firefox :: New Tab Page, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr128 | --- | unaffected |
firefox135 | --- | verified |
firefox136 | --- | verified |
firefox137 | --- | verified |
People
(Reporter: thecount, Assigned: thecount)
References
(Regression)
Details
(Keywords: regression)
Attachments
(3 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-release+
|
Details | Review |
showWeather is using Services.prefs.getStringPref to get the setup prefs, but the Nimbus feature manifest is using fallbackPref.
This was regressed in bug 1924597. Before that bug, it was using fallbackPref and NimbusFeatures.pocketNewtab.getVariable.
It should have been moved to setPref and Services.prefs.getStringPref, but the feature manifest never got the change for using setPref, and is still using fallbackPref.
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Comment 1•1 month ago
|
||
Comment 2•1 month ago
|
||
Set release status flags based on info from the regressing bug 1924597
Comment 3•1 month ago
|
||
To test this patch, you'll want to enroll in a study.
Prefs
Set the following prefs to true
:
nimbus.debug
Testing steps:
- Verify the following weather locale/region config prefs BEFORE enrolling in the study.
- Open
about:config
. - Expected:
browser.newtabpage.activity-stream.discoverystream.locale-weather-config
:en-US,en-GB,en-CA
browser.newtabpage.activity-stream.discoverystream.region-weather-config
:US,CA
- Enroll in the following study:
about:studies?optin_slug=hnt-weather-with-location-selector-non-eu-expansion&optin_branch=control&optin_collection=nimbus-preview
- Expected: The
about:studies
page should open, with a notification at the top of the page of "Opt-in was successful." - Open
about:config
- Expected:
browser.newtabpage.activity-stream.discoverystream.locale-weather-config
:hi-IN, kn, mr, pa-IN, ta, te, tr, ur, en-US, en-CA, en-GB
browser.newtabpage.activity-stream.discoverystream.region-weather-config
:IN, BD, PK, TR
Comment 5•1 month ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D237593
Updated•1 month ago
|
Comment 6•1 month ago
|
||
beta Uplift Approval Request
- User impact if declined: Wrong prefs will be set, feature won't show as intended
- Code covered by automated testing: yes
- Fix verified in Nightly: no
- Needs manual QE test: yes
- Steps to reproduce for manual QE testing: Tests in bugzilla
- Risk associated with taking this patch: low
- Explanation of risk level: Small pref changes
- String changes made/needed: None
- Is Android affected?: no
Comment 7•1 month ago
|
||
bugherder |
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Comment 9•1 month ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D237593
Updated•1 month ago
|
Comment 10•1 month ago
|
||
release Uplift Approval Request
- User impact if declined: Wrong prefs will be set, feature won't show as intended
- Code covered by automated testing: yes
- Fix verified in Nightly: no
- Needs manual QE test: yes
- Steps to reproduce for manual QE testing: Steps found in bugzilla
- Risk associated with taking this patch: low
- Explanation of risk level: Small pref changes
- String changes made/needed: None
- Is Android affected?: no
Comment 11•1 month ago
|
||
I have verified this issue on the latest Nightly 137.0a1 (Build ID: 20250211214755) and latest Beta 136.0b5 try build (Build ID: 20250211132255) downloaded from treeherder on Windows 10 x64, macOS 17.4.1 and Linux Mint 20.1.
- The Weather Widget is successfully enabled and displayed using Nimbus.
I will leave the "qe-verify+" flag set in case the fix is also uplifted in Firefox Release 135.
Updated•1 month ago
|
Comment 12•1 month ago
|
||
uplift |
Updated•1 month ago
|
Comment 13•27 days ago
|
||
I have verified this issue on the latest Firefox Release 135.0.1 (Build ID: 20250216192613) on Windows 11 x64, macOS 17.4.1 and Linux Mint 20.1.
- The Weather Widget is successfully enabled and displayed using Nimbus.
Description
•