Changeset 213225 in webkit


Ignore:
Timestamp:
Mar 1, 2017 9:23:37 AM (7 years ago)
Author:
ap@apple.com
Message:

IndexedDB.IndexedDBMultiProcess is a flaky timeout
https://bugs.webkit.org/show_bug.cgi?id=160780

Reviewed by Brady Eidson.

  • TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm: Releasing the object

once doesn't necessarily deallocate the object, there can be other references.
We can use -[WKWebView _close] or -[WKWebView _killWebContentProcessAndResetState].
The latter seems more appropriate, because "kill" is what the comment says.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r213185 r213225  
     12017-03-01  Alexey Proskuryakov  <ap@apple.com>
     2
     3        IndexedDB.IndexedDBMultiProcess is a flaky timeout
     4        https://bugs.webkit.org/show_bug.cgi?id=160780
     5
     6        Reviewed by Brady Eidson.
     7
     8        * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm: Releasing the object
     9        once doesn't necessarily deallocate the object, there can be other references.
     10        We can use -[WKWebView _close] or -[WKWebView _killWebContentProcessAndResetState].
     11        The latter seems more appropriate, because "kill" is what the comment says.
     12
    1132017-02-28  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
    214
  • trunk/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm

    r209251 r213225  
    3232#import <WebKit/WKUserContentControllerPrivate.h>
    3333#import <WebKit/WKWebViewConfigurationPrivate.h>
     34#import <WebKit/WKWebViewPrivate.h>
    3435#import <WebKit/_WKProcessPoolConfiguration.h>
    3536#import <WebKit/_WKUserStyleSheet.h>
     
    107108
    108109    // Kill the blocking web process
    109     webView2 = nil;
     110    [webView2 _killWebContentProcessAndResetState];
    110111
    111112    RetainPtr<NSString> string7 = (NSString *)[getNextMessage() body];
Note: See TracChangeset for help on using the changeset viewer.