[Webkit-unassigned] [Bug 283862] New: RequestAnimationFrameCallback should not be `unrestricted double`
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Nov 30 19:33:41 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=283862
Bug ID: 283862
Summary: RequestAnimationFrameCallback should not be
`unrestricted double`
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Animations
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ahmad.saleem792 at gmail.com
CC: graouts at apple.com
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!
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241201/0f0b95a0/attachment-0001.htm>
More information about the webkit-unassigned
mailing list