[Webkit-unassigned] [Bug 200122] AX: web process should load correct bundle path for MACCATALYST

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 26 12:58:49 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=200122

Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darin at apple.com

--- Comment #17 from Darin Adler <darin at apple.com> ---
Comment on attachment 374925
  --> https://bugs.webkit.org/attachment.cgi?id=374925
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=374925&action=review

> Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:328
> +    NSString *accessibilityBundlePath = (NSString *)GSSystemRootDirectory();
> +#if PLATFORM(MACCATALYST)
> +    accessibilityBundlePath = [accessibilityBundlePath stringByAppendingString:@"System/iOSSupport"];
> +#endif
> +    accessibilityBundlePath = [accessibilityBundlePath stringByAppendingString:@"System/Library/AccessibilityBundles/WebProcessLoader.axbundle"];

Seems really unfortunate to have these paths hard-coded here in WebKit open source. Is there some way to do this better in the future? Anything in the OS that can get us the path to the accessibility bundles directory in a more principled way?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190726/e94f2351/attachment.html>


More information about the webkit-unassigned mailing list