Closed
Bug 1849924
Opened 2 years ago
Closed 2 years ago
Remove unnecessary init-complete observers from search bar and search one-offs code
Categories
(Firefox :: Search, task, P2)
Firefox
Search
Tracking
()
RESOLVED
FIXED
119 Branch
Tracking | Status | |
---|---|---|
firefox119 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(1 file)
We have some unnecessary init-complete observers in the search code:
- searchbar.js listens for init-complete, when it is already awaiting the result of
Services.search.init
. - SearchOneOffs.js waits for init-complete and clears the cache, however, it cannot fill the cache until the initialisation is complete. Even if it did, then waiting for
init-complete
could clearthis._engineInfo
beforegetEngineInfo
has finished, hence potentially causing issues.
Assignee | ||
Comment 1•2 years ago
|
||
Depends on D186737
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e4612dab41dd
Remove unnecessary init-complete observers from search bar and search one-offs code. r=search-reviewers,mcheang
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox119:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•