VTTCue constructor should use 'double' type for startTime / endTime, not 'unrestricted double': - https://w3c.github.io/webvtt/#the-vttcue-interface Otherwise, we end up potentially returning NaN for TextTrackCue.startTime / endTime, even though those correctly use type 'double': - https://html.spec.whatwg.org/multipage/media.html#texttrackcue
I have verified that this new behavior would be consistent with Chrome.
(In reply to Chris Dumez from comment #1) > I have verified that this new behavior would be consistent with Chrome. Would also be consistent with Firefox.
Created attachment 334316 [details] Patch
Created attachment 334317 [details] Patch
Comment on attachment 334317 [details] Patch Clearing flags on attachment: 334317 Committed r228886: <https://trac.webkit.org/changeset/228886>
All reviewed patches have been landed. Closing bug.
<rdar://problem/37754585>