IndexedDB: deleting an index leaves it in the objectStore's IDBIndex cache

RESOLVED FIXED

Status

()

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

People

(Reporter: sicking, Assigned: sicking)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

6.77 KB, patch
Ben Turner (not reading bugmail, use the needinfo flag!)
: review+
Details | Diff | Splinter Review
Same thing with objectStores in the transaction's cache.
Blocks: 687337
Created attachment 578193 [details] [diff] [review]
Patch to fix

Pretty simple stuff... It's annoying that .objectStore() and .index() throws for unknown names.
Attachment #578193 - Flags: review?(bent.mozilla)
Comment on attachment 578193 [details] [diff] [review]
Patch to fix

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

Oops.
Attachment #578193 - Flags: review?(bent.mozilla) → review+

Comment 3

6 years ago
This landed on inbound:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c1b5a0721e6c

But was backed out again:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8a2106940402
Re-landed (via inbound):
https://hg.mozilla.org/mozilla-central/rev/b3a301279d1c
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla11
Component: DOM → DOM: IndexedDB
Target Milestone: mozilla11 → ---
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.