Bug 260764

Summary: Remove 'unrestricted' from 'startTime' in DataCue.idl
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: annevk, sam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/WICG/datacue/issues/34
https://bugs.webkit.org/show_bug.cgi?id=260765

Ahmad Saleem
Reported 2023-08-25 23:41:19 PDT
SSIA. Align with Web-Spec: https://wicg.github.io/datacue/#datacue-interface In following: [CallWith=CurrentDocument] constructor(unrestricted double startTime, unrestricted double endTime, any value, optional DOMString type); Change to below: [CallWith=CurrentDocument] constructor(double startTime, unrestricted double endTime, any value, optional DOMString type); _____ Just wanted to raise so we can track it. Thanks!
Attachments
Radar WebKit Bug Importer
Comment 1 2023-09-01 23:42:22 PDT
Anne van Kesteren
Comment 2 2023-09-10 06:29:38 PDT
That specification is very poor though, it doesn't even have a processing model. What does it mean for endTime to be set to NaN for instance? Maybe we should wait a bit with this until it's more clear or there is a second implementation.
Sam Weinig
Comment 3 2026-01-30 09:45:34 PST
Not sure which came first, but I think it is probably try to match HTML5 TextTractCue (https://html.spec.whatwg.org/multipage/media.html#texttrackcue) or the startTime/endTime concepts (https://html.spec.whatwg.org/multipage/media.html#text-track-cue-start-time). We also have the related issue for the TextTrackCue, https://bugs.webkit.org/show_bug.cgi?id=260765.
Note You need to log in before you can comment on or make changes to this bug.