[Webkit-unassigned] [Bug 259642] MediaSession.setPositionState() does not allow duration Infinity
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 10 12:48:52 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=259642
Jer Noble <jer.noble at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jer.noble at apple.com
--- Comment #2 from Jer Noble <jer.noble at apple.com> ---
This is (currently) intentional (and the spec text is confusing). The MediaSession specification defines `duration` to be a `double`, whereas the HTMLMediaElement.duration is defined as a `unrestricted double` (thus allowing +Infinity).
This issue was raised recently in the Media WG: <https://github.com/w3c/mediasession/issues/252>
We'll update the definition (to allow +Infinity) when the spec changes.
--
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/20230810/7839adfd/attachment.htm>
More information about the webkit-unassigned
mailing list