Bug 217718 - Scrolls in the passive handler region should be reported as handled promptly
Summary: Scrolls in the passive handler region should be reported as handled promptly
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-10-14 11:08 PDT by Simon Fraser (smfr)
Modified: 2020-10-18 13:27 PDT (History)
4 users (show)

See Also:


Attachments
Patch (3.65 KB, patch)
2020-10-14 11:49 PDT, Simon Fraser (smfr)
thorton: review+
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2020-10-14 11:08:38 PDT
The WebContent process reports back to the UI process when events are handled (and for wheel events this is used to know if the page overrode history swipes, for example).

When handling wheel events in the passive event handler region, we should report that the scrolls are handled promptly to avoid the UI process queueing up events, which impacts scrolling performance.
Comment 1 Radar WebKit Bug Importer 2020-10-14 11:09:22 PDT
<rdar://problem/70300104>
Comment 2 Simon Fraser (smfr) 2020-10-14 11:49:53 PDT
Created attachment 411354 [details]
Patch
Comment 3 Simon Fraser (smfr) 2020-10-14 16:56:35 PDT
https://bugs.webkit.org/show_bug.cgi?id=217718
Comment 4 Fujii Hironori 2020-10-18 13:27:33 PDT
Filed: Bug 217850 – [WinCairo] sluggish page scrolling for wheel events since r268499