Bug 134699 - Nearly everything in the UIProcess "leaks" when WKWebView is torn down
Summary: Nearly everything in the UIProcess "leaks" when WKWebView is torn down
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Horton
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-07-07 15:37 PDT by Tim Horton
Modified: 2014-07-07 16:18 PDT (History)
7 users (show)

See Also:


Attachments
patch (1.39 KB, patch)
2014-07-07 15:38 PDT, Tim Horton
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.