REGRESSION: _WKDownload.OriginatingWebView and _WKDownload.CrashAfterDownloadDidFinis...
authordavid_quesada@apple.com <david_quesada@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Jun 2019 17:20:10 +0000 (17:20 +0000)
committerdavid_quesada@apple.com <david_quesada@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Jun 2019 17:20:10 +0000 (17:20 +0000)
commit57c05ce787abf8c20e32ecff1e0e7c0fc9db666a
tree9ca30420c302905c7d79fdec0f98db8c3fc072f6
parent474e1ef4cc0b2d5065d6ce90bff77078cd016946
REGRESSION: _WKDownload.OriginatingWebView and _WKDownload.CrashAfterDownloadDidFinishWhenDownloadProxyHoldsTheLastRefOnWebProcessPool failing
https://bugs.webkit.org/show_bug.cgi?id=198954
rdar://problem/51711556

Reviewed by Alex Christensen.

For these tests, kill the web process after the download starts. This makes the deallocation
of the download-originating web views, which these tests depend on, more reliable.

* TestWebKitAPI/Tests/WebKitCocoa/Download.mm:
(-[OriginatingWebViewDownloadDelegate _downloadDidStart:]):
(-[WaitUntilDownloadCanceledDelegate _downloadDidStart:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@246548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebKitCocoa/Download.mm