First parameter to HTMLMediaElement.canPlayType() should be mandatory
https://bugs.webkit.org/show_bug.cgi?id=160275
Reviewed by Ryosuke Niwa.
LayoutTests/imported/w3c:
Rebaseline w3c test now that more checks are passing.
* web-platform-tests/html/dom/interfaces-expected.txt:
Source/WebCore:
First parameter to HTMLMediaElement.canPlayType() should be mandatory:
- https://html.spec.whatwg.org/multipage/embedded-content.html#htmlmediaelement
Firefox and Chrome agree with the specification.
No new tests, rebaselined existing tests.
* html/HTMLMediaElement.idl:
LayoutTests:
Update existing tests to reflect behavior change.
* media/encrypted-media/encrypted-media-can-play-type.html:
* media/media-can-play-type-expected.txt:
* media/media-can-play-type.html:
* platform/mac/media/encrypted-media/encrypted-media-can-play-type-expected.txt:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@203806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
9 files changed