Singapore missing from the Weather widget's built-in regions
Categories
(Firefox :: New Tab Page, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: gharp, Assigned: jaws)
References
Details
(Whiteboard: [hnt][hnt-wattle])
Attachments
(1 external file)
Add SG back to browser.newtabpage.activity-stream.discoverystream.region-weather-config. Bug 2083811 added it, then Bug 2078871 replaced the list without it.
Updated•3 days ago
|
Comment 1•3 days ago
|
||
| frontend-triage | ||
The default region-weather-config in firefox.js lost SG in d28321cc22a3 (bug 2078871), whose pre-image still had the SG that 8b851f2a5d78 (bug 2083811) added, so showWeather() in ActivityStream.sys.mjs now defaults system.showWeather and widgets.system.weather.enabled to false in SG, and the opt-in from WEATHER_OPTIN_REGIONS never shows because WeatherFeed.isEnabled() is false.
Fix: Re-insert SG between SE and SI in that pref; nothing else needs changing, and since no test reads the real default, an xpcshell check that every WEATHER_OPTIN_REGIONS entry appears in the default pref would catch the next clobber.
Suggested severity: S3. Weather is unavailable by default for Singapore users on Nightly 161+ (160 beta has the uplifted fix), which is one region with no in-product workaround other than a Nimbus rollout.
If you'd like to provide feedback on this comment, please use the 👍 or 👎 reaction.
If you want to categorize your feedback you can add one of the following tags: ai-triage-{wrong-file, wrong-cause, hallucination, out-of-scope, not-a-bug, wrong-fix, shallow-fix, wrong-severity}.
Needinfo hackbot@mozilla.tld to have a patch generated for this bug, include any questions or directions as needed in your comment.
Comment 2•3 days ago
|
||
Bug 2078871 replaced the default browser.newtabpage.activity-stream.discoverystream.region-weather-config list from a version that did not have the SG entry that bug 2083811 had added. This puts SG back.
Also adds an xpcshell test that checks every WEATHER_OPTIN_REGIONS entry is in the default pref, so the next time the list gets overwritten the test will fail.
Note for reviewers: LU (Luxembourg) is in WEATHER_OPTIN_REGIONS but has never been in the default pref. The test lists it as an exception (NOT_ENABLED_BY_DEFAULT). If LU should get Weather by default too, add it to the pref and remove the exception.
| Assignee | ||
Updated•3 days ago
|
Comment 4•1 day ago
|
||
| bugherder | ||
Description
•