Bug 134699

Summary: Nearly everything in the UIProcess "leaks" when WKWebView is torn down
Product: WebKit Reporter: Tim Horton <thorton>
Component: WebKit2Assignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, commit-queue, darin, mitz, sam, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch none

Description Tim Horton 2014-07-07 15:37:59 PDT
WKWebView doesn't adopt its WKView, thus resulting in the WebPageProxy, WebProcessProxy, and other friends hanging around forever.
Comment 1 Radar WebKit Bug Importer 2014-07-07 15:38:19 PDT
<rdar://problem/17581777>
Comment 2 Tim Horton 2014-07-07 15:38:59 PDT
Created attachment 234522 [details]
patch
Comment 3 Simon Fraser (smfr) 2014-07-07 15:40:18 PDT
Comment on attachment 234522 [details]
patch

I wish we could make this not compile.
Comment 4 Darin Adler 2014-07-07 16:16:06 PDT
(In reply to comment #3)
> I wish we could make this not compile.

It’s called “ARC”.

Also, we could add check-webkit-style rules to catch this.
Comment 5 WebKit Commit Bot 2014-07-07 16:18:45 PDT
Comment on attachment 234522 [details]
patch

Clearing flags on attachment: 234522

Committed r170859: <http://trac.webkit.org/changeset/170859>
Comment 6 WebKit Commit Bot 2014-07-07 16:18:49 PDT
All reviewed patches have been landed.  Closing bug.