Changeset 245322 in webkit
- Timestamp:
- May 15, 2019 7:55:11 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r245320 r245322 1 2019-05-15 Alex Christensen <achristensen@webkit.org> 2 3 Allow NSFileCoordinator to be called from WebContent process 4 https://bugs.webkit.org/show_bug.cgi?id=197895 5 <rdar://problem/50107679> 6 7 Reviewed by Brent Fulgham. 8 9 * WebProcess/com.apple.WebProcess.sb.in: 10 Expand sandbox to allow use of com.apple.FileCoordination mach service like we do on iOS. 11 1 12 2019-05-15 Devin Rousso <drousso@apple.com> 2 13 -
trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in
r245246 r245322 594 594 (global-name "com.apple.webinspector")) 595 595 596 (allow mach-lookup 597 (global-name "com.apple.FileCoordination")) 598 596 599 ;; Various services required by AppKit and other frameworks 597 600 (allow mach-lookup … … 987 990 (syscall-number SYS_stat64_extended) ;; <rdar://problem/50473330> 988 991 (syscall-number SYS_lstat64_extended) 992 (syscall-number SYS_iopolicysys) 993 (syscall-number SYS_workq_open) 994 (syscall-number SYS_getgroups) 989 995 ) 990 996 ) -
trunk/Tools/ChangeLog
r245314 r245322 1 2019-05-15 Alex Christensen <achristensen@webkit.org> 2 3 Allow NSFileCoordinator to be called from WebContent process 4 https://bugs.webkit.org/show_bug.cgi?id=197895 5 <rdar://problem/50107679> 6 7 Reviewed by Brent Fulgham. 8 9 Add a unit test that verifies calling the block succeeds. 10 11 * TestWebKitAPI/Tests/WebKitCocoa/AdditionalReadAccessAllowedURLsPlugin.mm: 12 (-[AdditionalReadAccessAllowedURLsPlugIn webProcessPlugIn:didCreateBrowserContextController:]): 13 1 14 2019-05-14 Andy Estes <aestes@apple.com> 2 15 -
trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/AdditionalReadAccessAllowedURLsPlugin.mm
r242339 r245322 53 53 _interface = [_WKRemoteObjectInterface remoteObjectInterfaceWithProtocol:@protocol(AdditionalReadAccessAllowedURLsProtocol)]; 54 54 [[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); 55 62 } 56 63
Note: See TracChangeset
for help on using the changeset viewer.