Switch FormHistory consumers to the Promise interface instead of the callback one
Categories
(Toolkit :: Form Manager, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: mconley, Assigned: mak)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Attachments
(5 files)
Updated•7 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
I noticed most crashes on shutdown show formhistory: blocking, I don't think it's really that slow, I suspect the problem is sometimes the callbacks are not invoked, so it makes sense to convert to promises and see if it helps.
Comment 2•2 years ago
|
||
I just realized that we already started this switch in Bug 1798156
Assignee | ||
Comment 3•2 years ago
|
||
Assignee | ||
Comment 4•2 years ago
|
||
Depends on D160921
Assignee | ||
Comment 5•2 years ago
|
||
Depends on D160922
Assignee | ||
Comment 6•2 years ago
|
||
Depends on D160923
Assignee | ||
Comment 7•2 years ago
|
||
Depends on D160925
Assignee | ||
Comment 8•2 years ago
|
||
Assignee | ||
Comment 10•2 years ago
|
||
There is an intermittent failure in TV with toolkit/components/search/tests/xpcshell/test_searchSuggest.js, though it's in the remote part of the SearchSuggestionController module, and at a maximum my changes would affect the local part... I tried to track it down but I suspect it's xhr failing silently or some other network thing, because a few lines above the remote result is there, then we remove a local result and the remote result is not fetched.
It's the same as Bug 1597923, Bug 1599381, Bug 1702550, that were closed as incomplete, but the problem is still there.
The best path forward would probably be to add logging to SearchSuggestionController and flip it on by default in tests, there's nothing I can log atm, so I'll file a bug for that.
Comment 11•2 years ago
|
||
Assignee | ||
Comment 12•2 years ago
|
||
(In reply to Marco Bonardo [:mak] from comment #10)
The best path forward would probably be to add logging to SearchSuggestionController and flip it on by default in tests, there's nothing I can log atm, so I'll file a bug for that.
I filed bug 1798869
Comment 13•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6f14fb2c1e17
https://hg.mozilla.org/mozilla-central/rev/3720c10532ae
https://hg.mozilla.org/mozilla-central/rev/33ad97b705a0
https://hg.mozilla.org/mozilla-central/rev/677bfadbe5c3
https://hg.mozilla.org/mozilla-central/rev/9d0633c39587
Description
•