Closed Bug 692674 Opened 14 years ago Closed 14 years ago

IndexedDB: Set the errorCode to "ABORT_ERR" for *all* pending requests when IDBTransaction.abort() is called

Categories

(Core :: Storage: IndexedDB, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sicking, Assigned: sicking)

References

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

Currently we only do this on requests which are successful.
Attached patch Patch to fixSplinter Review
Assignee: nobody → jonas
Status: NEW → ASSIGNED
Attachment #572737 - Flags: review?(bent.mozilla)
Comment on attachment 572737 [details] [diff] [review] Patch to fix Review of attachment 572737 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/indexedDB/AsyncConnectionHelper.cpp @@ +228,2 @@ > // Don't fire success events if the transaction has since been aborted. > // Instead convert to an error event. Nit: Fix this comment to say something about always firing ABORT_ERR for success and other errors?
Attachment #572737 - Flags: review?(bent.mozilla) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
Component: DOM → DOM: IndexedDB
Target Milestone: mozilla10 → ---
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: