WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
178962
Leaking WKWebViewConfiguration when running layout tests
https://bugs.webkit.org/show_bug.cgi?id=178962
Summary
Leaking WKWebViewConfiguration when running layout tests
Jonathan Bedard
Reported
2017-10-27 15:38:13 PDT
When running layout tests, we leak a WKWebViewConfiguration every times we reconfigure between tests. I believe I've tracked this leak down to line 477 in WKWebView.mm. Note that the biggest problem with leaking a WKWebViewConfiguration is that a WKWebViewConfiguration holds a strong reference to the ProcessPool. In effect, this means that leaking a WKWebViewConfiguration will create orphaned processes.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-10-27 15:38:47 PDT
<
rdar://problem/35230365
>
Jonathan Bedard
Comment 2
2017-10-30 09:56:54 PDT
I mis-diagnosed this leak. My reduced test case did a bad job at catching the autorelease of WKWebView, which cleans up the WKWebViewConfiguration I thought was being leaked.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug