Changeset 246548 in webkit


Ignore:
Timestamp:
Jun 18, 2019 10:20:10 AM (5 years ago)
Author:
david_quesada@apple.com
Message:

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:]):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r246533 r246548  
     12019-06-18  David Quesada  <david_quesada@apple.com>
     2
     3        REGRESSION: _WKDownload.OriginatingWebView and _WKDownload.CrashAfterDownloadDidFinishWhenDownloadProxyHoldsTheLastRefOnWebProcessPool failing
     4        https://bugs.webkit.org/show_bug.cgi?id=198954
     5        rdar://problem/51711556
     6
     7        Reviewed by Alex Christensen.
     8
     9        For these tests, kill the web process after the download starts. This makes the deallocation
     10        of the download-originating web views, which these tests depend on, more reliable.
     11
     12        * TestWebKitAPI/Tests/WebKitCocoa/Download.mm:
     13        (-[OriginatingWebViewDownloadDelegate _downloadDidStart:]):
     14        (-[WaitUntilDownloadCanceledDelegate _downloadDidStart:]):
     15
    1162019-06-18  Dan Bernstein  <mitz@apple.com>
    217
  • trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/Download.mm

    r246056 r246548  
    260260{
    261261    EXPECT_EQ([download originatingWebView], _webView);
     262    [_webView _killWebContentProcessAndResetState];
    262263    _webView = nullptr;
    263264
     
    751752{
    752753    didDownloadStart = true;
     754    [download.originatingWebView _killWebContentProcessAndResetState];
    753755}
    754756
Note: See TracChangeset for help on using the changeset viewer.