Last Comment Bug 706762 - IndexedDB: deleting an index leaves it in the objectStore's IDBIndex cache
: IndexedDB: deleting an index leaves it in the objectStore's IDBIndex cache
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: DOM: IndexedDB (show other bugs)
: unspecified
: x86 Mac OS X
: -- normal (vote)
: ---
Assigned To: Jonas Sicking (:sicking) PTO Until July 5th
:
Mentors:
Depends on:
Blocks: idb
  Show dependency treegraph
 
Reported: 2011-11-30 23:45 PST by Jonas Sicking (:sicking) PTO Until July 5th
Modified: 2012-03-22 11:52 PDT (History)
3 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Patch to fix (6.77 KB, patch)
2011-12-01 00:11 PST, Jonas Sicking (:sicking) PTO Until July 5th
bent.mozilla: review+
Details | Diff | Splinter Review

Description Jonas Sicking (:sicking) PTO Until July 5th 2011-11-30 23:45:32 PST
Same thing with objectStores in the transaction's cache.
Comment 1 Jonas Sicking (:sicking) PTO Until July 5th 2011-12-01 00:11:22 PST
Created attachment 578193 [details] [diff] [review]
Patch to fix

Pretty simple stuff... It's annoying that .objectStore() and .index() throws for unknown names.
Comment 2 Ben Turner (not reading bugmail, use the needinfo flag!) 2011-12-01 07:36:30 PST
Comment on attachment 578193 [details] [diff] [review]
Patch to fix

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

Oops.
Comment 3 Ed Morley [:emorley] 2011-12-03 04:23:24 PST
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
Comment 4 Matt Brubeck (:mbrubeck) 2011-12-05 10:13:24 PST
Re-landed (via inbound):
https://hg.mozilla.org/mozilla-central/rev/b3a301279d1c

Note You need to log in before you can comment on or make changes to this bug.