Quick suggest error when disabling suggestions and enabling data collection after bug 1745297 was fixed
Categories
(Firefox :: Address Bar, defect, P1)
Tracking
()
People
(Reporter: adw, Assigned: adw)
References
Details
Attachments
(1 external file)
See bug 1745297 comment 6. I asked Cosmin to expand the errors in the screenshot so we can see the stacks, but they don't contain anything useful because they're async. They're just the stacks where the error is recorded and not where it originally happens.
The error doesn't interfere with anything since we try-catch it and suggestions are disabled, but we should fix this.
| Assignee | ||
Comment 1•4 years ago
|
||
[Tracking Requested - why for this release]:
Small follow-up fix to bug 1745297, sorry.
| Assignee | ||
Comment 2•4 years ago
|
||
This is a small follow-up to bug 1745297. UrlbarQuickSuggest can now be queried
even when suggestions are disabled and its _rs property (the remote settings
client instance) is null, which is a problem for _fetchIcon since it assumes
_rs is non-null. It can just bail in that case.
| Assignee | ||
Updated•4 years ago
|
Comment 4•4 years ago
|
||
| bugherder | ||
Comment 5•4 years ago
|
||
I have verified this issue on the latest Nightly 97.0a1 build (Build ID: 20211213093143) on Windows 10 x64, macOS 10.15.7 and Linux Mint 20.
- No errors are displayed in the browser console after following the STR described in Bug 1745297 comment 2.
I will also leave the "qe-verify" flag set, to reverify this if it will be uplifted to Beta.
| Assignee | ||
Comment 6•4 years ago
|
||
Comment on attachment 9254827 [details]
Bug 1745460 - Modify UrlbarQuickSuggest._fetchIcon() so it bails when the remote settings client is null.
Beta/Release Uplift Approval Request
- User impact if declined: This is a small follow-up fix to bug 1745297, which we need for the next Firefox Suggest rollout on 96.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: Please see bug comments
- List of other uplifts needed: 1745297 should be uplifted first
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): One-line patch that fixes a harmless JS error.
- String changes made/needed:
Updated•4 years ago
|
Comment 7•4 years ago
|
||
| bugherder uplift | ||
Comment 8•4 years ago
|
||
Comment on attachment 9254827 [details]
Bug 1745460 - Modify UrlbarQuickSuggest._fetchIcon() so it bails when the remote settings client is null.
Approved for 96.0b5
Updated•4 years ago
|
Comment 9•4 years ago
|
||
I have verified this issue on the latest Beta 96.0b5 (Build ID: 20211214203716) on Windows 10 x64, macOS 10.15.7 and Linux Mint 20.
- No errors are displayed in the browser console after following the STR described in Bug 1745297 comment 2.
Description
•