MDN and addon suggestions need to null-check their suggestion maps
Categories
(Firefox :: Address Bar, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox120 | --- | unaffected |
firefox121 | --- | wontfix |
firefox122 | --- | fixed |
People
(Reporter: adw, Assigned: adw)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
When addon and MDN suggestions are disabled, they clear their suggestion maps so that suggestions are removed from memory. This change was made in bug 1832198. However, the maps will be null at that time if the JS backend never finished a sync. That can happen if the Rust backend was enabled and then disabled, or if the JS backend is enabled and sync is just slow or didn't happen because the network is down or some similar reason.
I hit this by accident when I was testing something else, but I can't reproduce it easily. It requires addon or MDN suggestions to be enabled and then disabled, plus Rust to be enabled and then disabled or a slow RS sync. I don't think any users would hit this.
Assignee | ||
Updated•11 months ago
|
Assignee | ||
Comment 1•11 months ago
|
||
This is hard to test, and since this patch only adds a couple defensive null
checks I don't think it really needs one anyway.
Updated•11 months ago
|
Comment 3•11 months ago
|
||
bugherder |
Description
•