Bug 152717 - Modern IDB: Memory indexes aren't deleted when their owning memory object stores are deleted
Summary: Modern IDB: Memory indexes aren't deleted when their owning memory object sto...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: Safari 9
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brady Eidson
URL:
Keywords:
Depends on:
Blocks: 149117 150882
  Show dependency treegraph
 
Reported: 2016-01-04 15:52 PST by Brady Eidson
Modified: 2016-01-04 16:06 PST (History)
4 users (show)

See Also:


Attachments
Patch v1 (12.08 KB, patch)
2016-01-04 15:58 PST, Brady Eidson
achristensen: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brady Eidson 2016-01-04 15:52:56 PST
Modern IDB: Memory indexes aren't deleted when their owning memory object stores are deleted
Comment 1 Brady Eidson 2016-01-04 15:58:57 PST
Created attachment 268244 [details]
Patch v1
Comment 2 Alex Christensen 2016-01-04 16:04:32 PST
Comment on attachment 268244 [details]
Patch v1

View in context: https://bugs.webkit.org/attachment.cgi?id=268244&action=review

delete all the things!

> Source/WebCore/Modules/indexeddb/server/MemoryObjectStore.cpp:161
> +    Deque<String> indexNames;

This could be a Vector, and we could call reserveInitialCapacity and uncheckedAppend.
Comment 3 Brady Eidson 2016-01-04 16:06:53 PST
https://trac.webkit.org/changeset/194563