Bug 225866 - requestAnimationFrame fires too often when selecting text
Summary: requestAnimationFrame fires too often when selecting text
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari Technology Preview
Hardware: Mac (Intel) Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-17 06:38 PDT by Jake Archibald
Modified: 2023-01-14 02:12 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jake Archibald 2021-05-17 06:38:56 PDT
https://static-misc-3.glitch.me/safari-raf-select-bug/

The average gap between requestAnimationFrames is around 16.6ms, but if you click-drag to select text on the page the average gap drops to 5-8ms.
Comment 1 Radar WebKit Bug Importer 2021-05-24 06:39:14 PDT
<rdar://problem/78398131>
Comment 2 Ahmad Saleem 2023-01-13 13:55:26 PST
I am not able to reproduce this bug where if I double click text and then drag the selection, the time still keep at 16.xx using Safari 16.2 & Safari Technology Preview 161.

@Jake - Is it reproducible for you? or if you can help me on how to reproduce, if I am doing it wrong. Thanks!
Comment 3 Jake Archibald 2023-01-14 01:53:25 PST
Agreed, seems this is no longer an issue.