Bug 42825 - WebKitTestRunner never destroys its main PlatformWebView (and thus its WKView[Ref])
Summary: WebKitTestRunner never destroys its main PlatformWebView (and thus its WKView...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2010-07-22 08:16 PDT by Adam Roben (:aroben)
Modified: 2010-08-23 13:07 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2010-07-22 08:16:07 PDT
WebKitTestRunner allocates a main PlatformWebView on the heap and never destroys it. It should clean up after itself!
Comment 1 Adam Roben (:aroben) 2010-07-22 08:30:24 PDT
See also bug 42828, which is triggered by this bug.
Comment 2 Adam Roben (:aroben) 2010-07-22 08:30:50 PDT
It's possible that this is a cause of bug 42785. See discussion in that bug for more details.
Comment 3 Adam Roben (:aroben) 2010-07-22 08:31:30 PDT
<rdar://problem/8222252>
Comment 4 Adam Roben (:aroben) 2010-07-22 09:20:20 PDT
I added some code to the end of TestController::run that deletes m_mainWebView. This causes a crash in the web process on Mac. It crashes in CoreIPC::Connection::dispatchConnectionDidClose because m_client is null. dispatchConnectionDidClose must be getting called twice.
Comment 5 Adam Roben (:aroben) 2010-07-26 14:01:55 PDT
(In reply to comment #4)
> I added some code to the end of TestController::run that deletes m_mainWebView. This causes a crash in the web process on Mac. It crashes in CoreIPC::Connection::dispatchConnectionDidClose because m_client is null. dispatchConnectionDidClose must be getting called twice.

Anders fixed this crash in r63916.
Comment 6 Adam Roben (:aroben) 2010-08-23 13:07:17 PDT
This was fixed in r64485.