Changeset 248163 in webkit


Ignore:
Timestamp:
Aug 2, 2019 11:27:13 AM (5 years ago)
Author:
achristensen@apple.com
Message:

Fix API test after r248139
https://bugs.webkit.org/show_bug.cgi?id=200102

  • TestWebKitAPI/Tests/WebKitCocoa/AdditionalReadAccessAllowedURLsPlugin.mm:

(-[AdditionalReadAccessAllowedURLsPlugIn webProcessPlugIn:didCreateBrowserContextController:]):
This was supposed to be removed as part of reverting r245322.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r248146 r248163  
     12019-08-02  Alex Christensen  <achristensen@webkit.org>
     2
     3        Fix API test after r248139
     4        https://bugs.webkit.org/show_bug.cgi?id=200102
     5
     6        * TestWebKitAPI/Tests/WebKitCocoa/AdditionalReadAccessAllowedURLsPlugin.mm:
     7        (-[AdditionalReadAccessAllowedURLsPlugIn webProcessPlugIn:didCreateBrowserContextController:]):
     8        This was supposed to be removed as part of reverting r245322.
     9
    1102019-08-01  Zhifei Fang  <zhifei_fang@apple.com>
    211
  • trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/AdditionalReadAccessAllowedURLsPlugin.mm

    r245322 r248163  
    5353    _interface = [_WKRemoteObjectInterface remoteObjectInterfaceWithProtocol:@protocol(AdditionalReadAccessAllowedURLsProtocol)];
    5454    [[browserContextController _remoteObjectRegistry] registerExportedObject:self interface:_interface.get()];
    55 
    56     __block bool blockCalled = false;
    57     NSFileCoordinator *coordinator = [[NSFileCoordinator alloc] initWithFilePresenter:nil];
    58     [coordinator coordinateReadingItemAtURL:[NSURL fileURLWithPath:@"/Applications/Safari.app"] options:NSFileCoordinatorReadingWithoutChanges error:nil byAccessor:^(NSURL *newURL) {
    59         blockCalled = true;
    60     }];
    61     ASSERT(blockCalled);
    6255}
    6356
Note: See TracChangeset for help on using the changeset viewer.