Bug 158694

Summary: Modern IDB: IDBOpenDBRequest objects leak
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebCore Misc.Assignee: Brady Eidson <beidson>
Severity: Normal CC: achristensen, alecflett, commit-queue, jsbell
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 154015    
Description Flags
Patch v1 none

Description Brady Eidson 2016-06-13 09:37:50 PDT
Modern IDB: IDBOpenDBRequest objects leak

I traced through the various refs/derefs of a particular opendbrequest and noticed it was left hanging with a ref count of 1.

The ref that never gets cleared out is the m_openDBRequestMap of IDBConnectionProxy. The only time anything is ever cleared from that map is when a worker thread is torn down, but it never gets anything removed under main thread use.
Comment 1 Brady Eidson 2016-06-13 09:46:26 PDT
Created attachment 281178 [details]
Patch v1
Comment 2 WebKit Commit Bot 2016-06-13 10:31:14 PDT
Comment on attachment 281178 [details]
Patch v1

Clearing flags on attachment: 281178

Committed r201995: <http://trac.webkit.org/changeset/201995>
Comment 3 WebKit Commit Bot 2016-06-13 10:31:17 PDT
All reviewed patches have been landed.  Closing bug.