Bug 152717

Summary: Modern IDB: Memory indexes aren't deleted when their owning memory object stores are deleted
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebCore Misc.Assignee: Brady Eidson <beidson>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, alecflett, commit-queue, jsbell
Priority: P2    
Version: Safari 9   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 149117, 150882    
Attachments:
Description Flags
Patch v1 achristensen: review+

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