Closed Bug 1717990 Opened 5 months ago Closed 5 months ago

QM: Ignore NS_ERROR_ABORT in RecordFirstInitializationAttempt

Categories

(Core :: Storage: Quota Manager, task, P2)

task

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: janv, Assigned: janv)

Details

Attachments

(4 files)

If an initialization is cancelled it fails with NS_ERROR_ABORT error code. If it happens to be the first initialization attempt, the initialization is recorded as a failure in telemetry as well. We should rather ignore NS_ERROR_ABORT in RecordFirstInitializationAttempt.

We use NS_ERROR_FAILURE instead of NS_ERROR_ABORT in many places which should be fixed too.

Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8cf07efc49e7
QM: Ignore NS_ERROR_ABORT in RecordFirstInitializationAttempt; r=dom-storage-reviewers,jstutte
https://hg.mozilla.org/integration/autoland/rev/68f759c171f2
QM: Convert some NS_ERROR_FAILURE which should have been NS_ERROR_ABORT; r=dom-storage-reviewers,jstutte
https://hg.mozilla.org/integration/autoland/rev/e6f061cfca59
LSNG: Convert some NS_ERROR_FAILURE which should have been NS_ERROR_ABORT; r=dom-storage-reviewers,jstutte
https://hg.mozilla.org/integration/autoland/rev/74ceabefad3f
SDB: Convert some NS_ERROR_FAILURE which should have been NS_ERROR_ABORT; r=dom-storage-reviewers,jstutte
You need to log in before you can comment on or make changes to this bug.