[webkit-reviews] review granted: [Bug 235186] Inject Launch Services database before NSApplication is initialized : [Attachment 449067] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 13 09:14:09 PST 2022

Chris Dumez <cdumez at apple.com> has granted Per Arne Vollan
<pvollan at apple.com>'s request for review:
Bug 235186: Inject Launch Services database before NSApplication is initialized

Attachment 449067: Patch


--- Comment #3 from Chris Dumez <cdumez at apple.com> ---
Comment on attachment 449067
  --> https://bugs.webkit.org/attachment.cgi?id=449067

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


> Source/WebKit/WebProcess/cocoa/LaunchServicesDatabaseManager.mm:87
> +    auto startTime = WallTime::now();

Should probably be using MonotonicTime::now()

> Source/WebKit/WebProcess/cocoa/LaunchServicesDatabaseManager.mm:89
> +    auto elapsedTime = WallTime::now() - startTime;


> Source/WebKit/WebProcess/cocoa/LaunchServicesDatabaseManager.mm:91
> +	   RELEASE_LOG(Loading, "Waiting for Launch Services database update
took %f seconds", elapsedTime.value());

Can we use RELEASE_LOG_ERROR so that it stands out in the logs? Any delay
during process initialization is very visible to the user and should be

More information about the webkit-reviews mailing list