If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

IndexedDBHelper.newTxn only reports UnknownError on abort

RESOLVED FIXED in mozilla20

Status

()

Core
DOM: IndexedDB
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: nsm, Assigned: nsm)

Tracking

unspecified
mozilla20
x86_64
Linux
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

There is a FIXME waiting on bug 748630.
Now that bug 748630 has been fixed, txn.onabort should use the transaction error object name.
http://mxr.mozilla.org/mozilla-central/source/dom/base/IndexedDBHelper.jsm#121
Created attachment 693047 [details] [diff] [review]
Report transaction.error.name to failure callback.
Attachment #693047 - Flags: review?(anygregor)
Created attachment 693050 [details] [diff] [review]
Report transaction.error.name to failure callback.

Sorry, patch had extra changes.
Attachment #693047 - Attachment is obsolete: true
Attachment #693047 - Flags: review?(anygregor)
Attachment #693050 - Flags: review?(anygregor)
Attachment #693050 - Flags: review?(anygregor) → review+
Assignee: nobody → nsm.nikhil
Keywords: checkin-needed
https://hg.mozilla.org/integration/mozilla-inbound/rev/ab006da8f88d
Keywords: checkin-needed

Comment 4

5 years ago
https://hg.mozilla.org/mozilla-central/rev/ab006da8f88d
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in before you can comment on or make changes to this bug.