Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 31f321c2e77f5d75779608415135496563e2e9e6
https://github.com/WebKit/WebKit/commit/31f321c2e77f5d75779608415135496563e2e9e6
Author: Ben Nham <[email protected]>
Date: 2026-05-07 (Thu, 07 May 2026)
Changed paths:
M Source/WebKit/UIProcess/mac/WebPageProxyMac.mm
Log Message:
-----------
Reduce sync IPC timeout for RequestAcceptsFirstMouse
rdar://170739699
https://bugs.webkit.org/show_bug.cgi?id=314353
Reviewed by Tim Horton.
This reduces the sync IPC timeout for handling acceptsFirstMouse from 3 sec to
250 ms. We looked at
a number of SpinTracer logs for those 3 sec hangs in the field and didn't find
any pattern for why
WebContent was busy for 3 sec--for the most part, it just looked like the
webpage itself on the
WebContent side was busy doing actual webpage work.
This arbitrarily reduces the timeout to something much smaller although still
large (250 ms) so that
users don't have to deal with a frozen browser process for multiple seconds in
the case of a
misbehaving webpage.
* Source/WebKit/UIProcess/mac/WebPageProxyMac.mm:
(WebKit::WebPageProxy::acceptsFirstMouse):
Canonical link: https://commits.webkit.org/312854@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications