Errors notifying extension storage listeners can hang the sync
Categories
(Firefox :: Sync, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr68 | --- | unaffected |
| firefox76 | --- | unaffected |
| firefox77 | --- | unaffected |
| firefox78 | --- | fixed |
| firefox79 | --- | fixed |
People
(Reporter: lina, Assigned: lina)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
|
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
Thanks to Thom for catching this! We can fail to fetch pending listener notifications if there's a database error, or an error punting the operation to the background thread. We log the error, but don't resolve or reject the promise, so the sync just hangs.
| Assignee | ||
Comment 1•5 years ago
|
||
Comment 3•5 years ago
|
||
| bugherder | ||
Comment 4•5 years ago
|
||
The patch landed in nightly and beta is affected.
:Lina, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.
For more information, please visit auto_nag documentation.
| Assignee | ||
Comment 5•5 years ago
|
||
Comment on attachment 9154664 [details]
Bug 1643804 - Always resolve the promise if fetching extension storage observer notifications fails. r?tcsc!
Beta/Release Uplift Approval Request
- User impact if declined: Extension storage syncs never completing if an unexpected error occurs while fetching information for observer notifications during the sync.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This is a one-line change that adds a missing
resolvecall (without which the promise would remain pending forever if an error occurred), and an xpcshell test for the success and error cases in the function. - String changes made/needed: None
Updated•5 years ago
|
Comment 6•5 years ago
|
||
Comment on attachment 9154664 [details]
Bug 1643804 - Always resolve the promise if fetching extension storage observer notifications fails. r?tcsc!
approved for 78.0b5
Comment 7•5 years ago
|
||
| bugherder uplift | ||
Updated•5 years ago
|
Description
•