Closed
Bug 1178806
Opened 9 years ago
Closed 9 years ago
IDB autoincrement overflow should throw a ConstraintError, not UnknownError
Categories
(Core :: Storage: IndexedDB, defect)
Core
Storage: IndexedDB
Tracking
()
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1.46 KB,
patch
|
bent.mozilla
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8627738 -
Flags: review?(bent.mozilla)
Comment on attachment 8627738 [details] [diff] [review] IndexedDB autoincrement overflow should be throwing ConstraintError per spec Review of attachment 8627738 [details] [diff] [review]: ----------------------------------------------------------------- Awesome thanks. ::: dom/indexedDB/ActorsParent.cpp @@ +23266,5 @@ > > MOZ_ASSERT(autoIncrementNum > 0); > > if (autoIncrementNum > (1LL << 53)) { > IDB_REPORT_INTERNAL_ERR(); Can you remove this line also?
Attachment #8627738 -
Flags: review?(bent.mozilla) → review+
Comment 4•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f87683a37d20
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Updated•9 years ago
|
Target Milestone: mozilla41 → mozilla42
You need to log in
before you can comment on or make changes to this bug.
Description
•