Closed
Bug 1133540
Opened 9 years ago
Closed 8 years ago
Fix assertion failure in versionchange when exceptions are thrown
Categories
(Core :: Storage: IndexedDB, defect)
Core
Storage: IndexedDB
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: bent.mozilla, Assigned: bevis)
Details
(Whiteboard: [tw-dom] btpp-active)
Attachments
(1 file, 1 obsolete file)
10.13 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
I found this accidentally, but basically my assertions fail in this strange use case. We need two databases. The first needs to be a low version number that gets closed when a second higher version number database is created. Then the upgradeneeded event for the second database throws an exception and triggers an abort/close. Opt builds should be fine.
Attachment #8565088 -
Flags: review?(khuey)
Attachment #8565088 -
Flags: review?(khuey) → review+
Assignee | ||
Updated•8 years ago
|
Assignee: bent.mozilla → btseng
Assignee | ||
Comment 1•8 years ago
|
||
After further review, I found that the assertion added in patch v1 has been covered in patch part 4 of Bug 1149815 [1]. Hence, I only picked up the test case from v1 with a new helper function called |expectUncaughtException| in helpers.js to ensure that the test case can be verified in both window/worker in mochitest. Set r? again because |expectUncaughtException| has to be introduced in patch v2. Treeherder results in M3(Linux Debug) and M2(Linux Opt) are green. [2] [1] https://hg.mozilla.org/mozilla-central/diff/a9e5be3e74b2/dom/indexedDB/ActorsParent.cpp [2] https://treeherder.mozilla.org/#/jobs?repo=try&revision=8b326e70ca41&selectedJob=20662535
Attachment #8565088 -
Attachment is obsolete: true
Attachment #8751154 -
Flags: review?(khuey)
Assignee | ||
Updated•8 years ago
|
Whiteboard: [tw-dom] btpp-active
Assignee | ||
Updated•8 years ago
|
Attachment #8751154 -
Attachment description: Add Test Coverage for the Assertion. r=khuey → Add Test Coverage for the Assertion.
Attachment #8751154 -
Flags: review?(khuey) → review+
Assignee | ||
Updated•8 years ago
|
Attachment #8751154 -
Attachment description: Add Test Coverage for the Assertion. → Add Test Coverage for the Assertion. r=khuey
Assignee | ||
Comment 2•8 years ago
|
||
treeherder result in comment 1 looks fine: https://treeherder.mozilla.org/#/jobs?repo=try&revision=8b326e70ca41
Keywords: checkin-needed
Comment 4•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bd0ff7040a37
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in
before you can comment on or make changes to this bug.
Description
•