Bug 154032

Summary: Modern IDB: IDBOpenDBRequests leak
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebCore Misc.Assignee: Brady Eidson <beidson>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, commit-queue
Priority: P2    
Version: Safari 9   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 149117, 154015    
Attachments:
Description Flags
Patch v1 none

Brady Eidson
Reported 2016-02-09 08:57:35 PST
Modern IDB: IDBOpenDBRequests leak There's a ref cycle between IDBTransaction and IDBOpenDBRequest. Breaking IDBTransaction's ref to the request is easy - *IF* the request is able to potentially manage the end of its own lifetime, which is tied to its final event dispatch. Doing that requires a new Event class that holds the final ref to the request.
Attachments
Patch v1 (13.99 KB, patch)
2016-02-09 09:21 PST, Brady Eidson
no flags
Brady Eidson
Comment 1 2016-02-09 09:21:59 PST
Created attachment 270934 [details] Patch v1
WebKit Commit Bot
Comment 2 2016-02-09 09:40:45 PST
Comment on attachment 270934 [details] Patch v1 Clearing flags on attachment: 270934 Committed r196313: <http://trac.webkit.org/changeset/196313>
WebKit Commit Bot
Comment 3 2016-02-09 09:40:48 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.