Closed
Bug 1647256
Opened 5 years ago
Closed 5 years ago
Search cache isn't saving the built-in engine list, errors raised when upgrading from old version.
Categories
(Firefox :: Search, defect, P1)
Firefox
Search
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox-esr78 | --- | unaffected |
firefox77 | --- | unaffected |
firefox78 | --- | unaffected |
firefox79 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
This is fixing a couple of issues that I've picked up on whilst working on the latest code:
- We're not writing
cache.builtInEngineList
properly since the move to a separate SearchCache object (bug 1632471). - When upgrading from older versions, we get lots of errors about failing to load engines because
json._urls is undefined
. These are because we don't recongnise them as app-provided engines as they're using the old isBuiltIn flag (bug 1631898)
Assignee | ||
Updated•5 years ago
|
Keywords: regression
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
The added test provides extra coverage for loading the legacy version of the cache file. It does not cover the exact errors as we don't have coverage to catch those at the moment.
Depends on D80454
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ca4dbd522647
Correctly save the current engine list to the cache when modern configuration is on. r=daleharvey
https://hg.mozilla.org/integration/autoland/rev/06cbf21e903c
When loading search engines, use the old _isBuiltin flag as well as the _isAppProvided one to prevent errors. r=daleharvey
Assignee | ||
Updated•5 years ago
|
status-firefox78:
--- → unaffected
status-firefox79:
--- → affected
Assignee | ||
Updated•5 years ago
|
status-firefox77:
--- → unaffected
Comment 4•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ca4dbd522647
https://hg.mozilla.org/mozilla-central/rev/06cbf21e903c
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 79
Updated•5 years ago
|
status-firefox-esr68:
--- → unaffected
status-firefox-esr78:
--- → unaffected
Updated•5 years ago
|
Has Regression Range: --- → yes
You need to log in
before you can comment on or make changes to this bug.
Description
•