Closed
Bug 2061724
Opened 3 months ago
Closed 1 month ago
Enumerations in the search engine selector should handle backwards compatibility
Categories
(Firefox :: Search, task, P3)
Firefox
Search
Tracking
()
RESOLVED
FIXED
People
(Reporter: standard8, Assigned: standard8)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sng][search-config-v3])
Attachments
(1 external file)
With v2 of the search configuration, if we add a new item to one of the enumerations below, and then send the configuration to older clients, the older clients will fail to parse the configuration because they do not have a value specified for the serde processor to use - we should be annotating their default values with #[serde(other)] (as well as #[default]).
Affected enumerations:
SearchApplicationNameSearchUpdateChannelSearchDeviceTypeSearchEngineClassification
We should add tests for each of the enumerations (including JSONEngineMethod) to ensure they can be supplied random values and default correctly.
Updated•3 months ago
|
Comment 1•1 month ago
|
||
(via GitHub webhook, authenticated as shared-secret)
| Assignee | ||
Updated•1 month ago
|
Assignee: nobody → standard8
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•1 month ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Updated•1 month ago
|
QA Whiteboard: [search][qa-triage-done-c160/b159]
You need to log in
before you can comment on or make changes to this bug.
Description
•