RESOLVED FIXED 163472
Setting HTMLMediaElement.volume to NaN or Inf should throw a TypeError
https://bugs.webkit.org/show_bug.cgi?id=163472
Summary Setting HTMLMediaElement.volume to NaN or Inf should throw a TypeError
Chris Dumez
Reported 2016-10-14 16:52:21 PDT
Setting HTMLMediaElement.volume to NaN or Inf should throw a TypeError: - https://html.spec.whatwg.org/#dom-media-volume This is because the attribute is of type double (not unrestricted double in the IDL). Chrome and Firefox agree with the specification. WebKit throws an IndexSizeErr instead.
Attachments
Patch (4.70 KB, patch)
2016-10-14 16:57 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2016-10-14 16:57:35 PDT
WebKit Commit Bot
Comment 2 2016-10-15 07:56:02 PDT
Comment on attachment 291681 [details] Patch Clearing flags on attachment: 291681 Committed r207375: <http://trac.webkit.org/changeset/207375>
WebKit Commit Bot
Comment 3 2016-10-15 07:56:06 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.