Bug 260764
| Summary: | Remove 'unrestricted' from 'startTime' in DataCue.idl | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Media | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/114859531>
Anne van Kesteren
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
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.