QM: Add a generic wrapper for running initializations
Categories
(Core :: Storage: Quota Manager, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox92 | --- | fixed |
People
(Reporter: janv, Assigned: janv)
References
Details
Attachments
(2 files)
We need a generic wrapper for running initializations which can handle the NS_ERROR_ABORT special case and correctly record first initialization attempts.
We currently handle NS_ERROR_ABORT in FirstInitializationAttempts::RecordFirstInitializationAttempt which is not suitable for that because the method is supposed to always set the recorded flag.
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
ExecuteInitialization now takes a function argument instead of nsresult so
initializations are executed in the context of ExecuteInitialization. This
patch also removes a temporary overload of ExecuteInitialization.
Depends on D119182
Comment 4•4 years ago
•
|
||
Backed out for causing failures in FirstInitializationAttempts
Backout link: https://hg.mozilla.org/integration/autoland/rev/d06396c25a0d7e19220b6989be5342f8fbbe8543
Assignee | ||
Updated•4 years ago
|
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/80941a3e3917
https://hg.mozilla.org/mozilla-central/rev/370f420a7bf8
Description
•