Add a pref for the weather suggestion to ignore VPNs and fetch anyway
Categories
(Firefox :: Address Bar, task, P1)
Tracking
()
People
(Reporter: adw, Assigned: adw)
References
Details
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
To make testing the weather suggestion easier, let's add a pref to ignore VPNs and fetch anyway.
| Assignee | ||
Comment 1•2 years ago
|
||
Depends on D177218
| Assignee | ||
Comment 3•2 years ago
•
|
||
STR for QA
We want to make sure browser.urlbar.weather.ignoreVPN = true causes Firefox to show the weather suggestion even when you're on a VPN.
- Connect to a VPN in a region where the weather suggestion is available (US, Canada, UK, Germany -- no need to test more than one)
- Set
browser.urlbar.weather.ignoreVPN = true-- do not run the usual JS snippet that you previously used - Enable the weather suggestion:
browser.urlbar.weather.featureGate = true(If you do this step before step 2, Firefox may not show the suggestion because settingbrowser.urlbar.weather.ignoreVPNdoes not force a fetch ASAP. If you need to force a fetch after setting the VPN pref, togglebrowser.urlbar.weather.featureGateoff and back on again, or just restart Firefox.) - Type 3 characters of a weather keyword to trigger the suggestion, e.g.
wea. If the suggestion appears on zero prefix and not when you typewea, that's fine too, you just need to trigger the suggestion in some way and verify it appears; see bug 1828796 comment 6 for details
| Assignee | ||
Comment 4•2 years ago
|
||
[Tracking Requested - why for this release]: This bug is necessary for the Firefox Suggest weather suggestion feature we intend to ship in 114.
| Assignee | ||
Comment 5•2 years ago
|
||
Comment on attachment 9331965 [details]
Bug 1831689 - Add a pref for the weather suggestion to ignore VPNs and fetch anyway.
Beta/Release Uplift Approval Request
- User impact if declined: This bug is necessary for the Firefox Suggest weather suggestion feature we intend to ship in 114.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: Please see comment 3
- List of other uplifts needed: Bug 1831656, bug 1828796, and bug 1831657 must be uplifted first
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Almost trivial patch that only affects the Firefox Suggest weather feature. Has automated tests.
- String changes made/needed:
- Is Android affected?: No
Comment 6•2 years ago
|
||
| bugherder | ||
Comment 7•2 years ago
|
||
Comment on attachment 9331965 [details]
Bug 1831689 - Add a pref for the weather suggestion to ignore VPNs and fetch anyway.
Approved for 114 beta 2, thanks.
Updated•2 years ago
|
Comment 8•2 years ago
|
||
| bugherder uplift | ||
Comment 9•2 years ago
|
||
I have verified this issue on the latest Firefox Nightly 115.0a1 (Build ID: 20230508214159), on Windows 10 x64.
- The preference allows us to trigger weather results when using a VPN client so that we don’t need to use the JS snippet workaround anymore.
Comment 10•2 years ago
|
||
I have verified this issue on the latest Firefox Beta 114.0b2 (Build ID: 20230509180058), on Windows 10 x64.
- The preference allows us to trigger weather results when using a VPN client so that we don’t need to use the JS snippet workaround anymore.
Description
•