The default bug view has changed. See this FAQ.

IndexedDB: abort event should bubble

RESOLVED FIXED

Status

()

Core
DOM: IndexedDB
RESOLVED FIXED
6 years ago
a year ago

People

(Reporter: sicking, Assigned: khuey)

Tracking

({dev-doc-complete})

unspecified
x86
Mac OS X
dev-doc-complete
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Comment hidden (empty)
We should also add a IDBDatabase.onabort property.
Assignee: nobody → khuey
Created attachment 576136 [details] [diff] [review]
Patch
Attachment #576136 - Flags: review?(bent.mozilla)
Comment on attachment 576136 [details] [diff] [review]
Patch

Review of attachment 576136 [details] [diff] [review]:
-----------------------------------------------------------------

r=me

::: dom/indexedDB/IDBEvents.cpp
@@ +83,3 @@
>  {
> +  NS_ASSERTION(aCancelable == eNotCancelable || aBubbles == eDoesBubble,
> +               "Event cannot be cancelable if it does not bubble!");

I don't really agree with this assertion. This might be true for all of the current indexeddb events, but it's not an inherent property in any way.
Attachment #576136 - Flags: review?(bent.mozilla) → review+
Ah, I thought it was.  I'll remove that.
https://hg.mozilla.org/mozilla-central/rev/a1d3b55dc132
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla11
Keywords: dev-doc-needed
Component: DOM → DOM: IndexedDB
Target Milestone: mozilla11 → ---
Version: Trunk → unspecified
This has been documented, see

https://developer.mozilla.org/en-US/docs/Web/Events/abort_indexedDB
https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/onabort

I also added a note to

https://developer.mozilla.org/en-US/Firefox/Releases/11#IndexedDB
Keywords: dev-doc-needed → dev-doc-complete
You need to log in before you can comment on or make changes to this bug.