WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
283862
RequestAnimationFrameCallback should not be `unrestricted double`
https://bugs.webkit.org/show_bug.cgi?id=283862
Summary
RequestAnimationFrameCallback should not be `unrestricted double`
Ahmad Saleem
Reported
2024-11-30 19:33:41 PST
Hi Team, While going through this file randomly I noticed that we can sync-up this bit and match with spec: WebKit Source:
https://github.com/WebKit/WebKit/blob/7071c8fbb1fec810f51c340903edd02b52161caf/Source/WebCore/dom/RequestAnimationFrameCallback.idl#L34
Web Specification:
https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#animation-frames
Current: [ GenerateIsReachable=ImplScriptExecutionContext ] callback RequestAnimationFrameCallback = undefined (unrestricted double highResTime); As per web specification: [ GenerateIsReachable=ImplScriptExecutionContext ] callback RequestAnimationFrameCallback = undefined (DOMHighResTimeStamp highResTime); where `DOMHighResTimeStamp` as per:
https://w3c.github.io/hr-time/#dom-domhighrestimestamp
It is: typedef double DOMHighResTimeStamp; which is not `unrestricted double`. Just raising so we can fix it. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-12-07 19:34:13 PST
<
rdar://problem/141108894
>
Ahmad Saleem
Comment 2
2025-06-15 15:29:57 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/46786
EWS
Comment 3
2025-06-27 12:40:17 PDT
Committed
296745@main
(cad743944a73): <
https://commits.webkit.org/296745@main
> Reviewed commits have been landed. Closing PR #46786 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug