Closed Bug 1695883 Opened 4 years ago Closed 4 years ago

Add explicit fallible mozStorageTransaction::Start method for starting the transaction

Categories

(Core :: SQLite and Embedded Database Bindings, task, P2)

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: janv, Assigned: janv)

Details

Attachments

(1 file)

The transaction is currently started in the constructor, so possible failures are not propagated and silently ignored. It would be better to start the transaction using an explicit method returning nsresult.

Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aada018490c4 Add explicit fallible mozStorageTransaction::Start method for starting the transaction; r=dom-storage-reviewers,sg
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
Product: Toolkit → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: