Closed
Bug 1807036
Opened 3 years ago
Closed 3 years ago
Refactor the search engine verification code to make exceptions clearer
Categories
(Firefox :: Search, task, P3)
Firefox
Search
Tracking
()
RESOLVED
FIXED
116 Branch
| Tracking | Status | |
|---|---|---|
| firefox116 | --- | fixed |
People
(Reporter: standard8, Assigned: mcheang)
References
Details
(Whiteboard: [snt-scrubbed][search-tech-debt])
Attachments
(1 file)
When an engine is set as default, we additionally record a hash to verify that it has been saved correctly and not modified.
In bug 1805883 we had to fix an issue where we missed an exception to the verification code which was due to it being handled within the body of the search service, rather than where we handle the getting/setting the verifications in SearchSettings.
I think we should consider moving the isAppProvided check into the verification function, and additionally making it so that migrateEngineIds can also share the functionality in some manner (e.g. via an additional function).
Updated•3 years ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/SNT-419
| Reporter | ||
Comment 1•3 years ago
|
||
We might also want to consider how the documentation works in the file, e.g. if we need to call this out in the setter docs as well.
| Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → mcheang
Status: NEW → ASSIGNED
Updated•3 years ago
|
Attachment #9337272 -
Attachment description: Bug 1807036 - move isAppProvided check for hash verification out of search service and into search settings. r=standard8 → Bug 1807036 - move isAppProvided check for hash verification out of search service and into search settings. r=standard8!
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/17f6906b8e55
move isAppProvided check for hash verification out of search service and into search settings. r=Standard8
Comment 4•3 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox116:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
| Reporter | ||
Updated•3 years ago
|
Flags: qe-verify-
You need to log in
before you can comment on or make changes to this bug.
Description
•