Summary: | Modern IDB: Simplify the relationship between IDBObjectStore and IDBIndex | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Brady Eidson <beidson> | ||||
Component: | WebCore Misc. | Assignee: | Brady Eidson <beidson> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | achristensen, alecflett, commit-queue, darin, ggaren, jsbell | ||||
Priority: | P2 | ||||||
Version: | Safari 9 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 149117, 154015 | ||||||
Attachments: |
|
Description
Brady Eidson
2016-02-12 12:55:47 PST
Created attachment 271214 [details]
Patch v1
Comment on attachment 271214 [details] Patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=271214&action=review This makes ownership a lot easer to follow. > Source/WebCore/Modules/indexeddb/client/IDBObjectStoreImpl.cpp:572 > + m_deletedIndexes.add(WTFMove(index)); So this hangs onto the deleted indexes for as long as the object store exists. If someone creates and deletes a lot of indexes, it would increase the memory, but I guess that's a rare thing to do. Comment on attachment 271214 [details] Patch v1 Clearing flags on attachment: 271214 Committed r196518: <http://trac.webkit.org/changeset/196518> All reviewed patches have been landed. Closing bug. |