[Webkit-unassigned] [Bug 174573] Video errors should be instances of Error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 19 10:35:43 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=174573

--- Comment #9 from Chris Dumez <cdumez at apple.com> ---
Killing DOMError aside, the media code needs to be fixed to reject play promises with DOMException rather than DOMError. As per the spec, this is what we should do:
- https://html.spec.whatwg.org/multipage/media.html#reject-pending-play-promises
- https://html.spec.whatwg.org/multipage/media.html#loading-the-media-resource:reject-pending-play-promises-2
- https://html.spec.whatwg.org/multipage/media.html#loading-the-media-resource:reject-pending-play-promises-3
- https://html.spec.whatwg.org/multipage/media.html#playing-the-media-resource:reject-pending-play-promises-3
- https://html.spec.whatwg.org/multipage/media.html#playing-the-media-resource:reject-pending-play-promises

Eric / Jer, please take a look.

-- 
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/20170919/f5cfc904/attachment.html>


More information about the webkit-unassigned mailing list