OLD | NEW |
1 CONSOLE WARNING: canPlayType()'s 'keySystem' parameter is deprecated and will be
ignored in M46 (beta around September 2015). Please use 'navigator.requestMedia
KeySystemAccess()' instead. | 1 CONSOLE WARNING: canPlayType()'s 'keySystem' parameter is deprecated and will be
ignored in M47 (beta around October 2015). Please use 'navigator.requestMediaKe
ySystemAccess()' instead. |
2 Test Encrypted Media extension of HTMLMediaElement canPlayType() method. | 2 Test Encrypted Media extension of HTMLMediaElement canPlayType() method. |
3 | 3 |
4 The test is designed to pass with any implementation regardless of supported med
ia types and relies on the expected log to detect the expected results for some
types. To get sufficient coverage, it is important that an implementation suppor
t clearkey encryption of at least one of the types below. | 4 The test is designed to pass with any implementation regardless of supported med
ia types and relies on the expected log to detect the expected results for some
types. To get sufficient coverage, it is important that an implementation suppor
t clearkey encryption of at least one of the types below. |
5 | 5 |
6 | 6 |
7 Always return the empty string for an empty type. | 7 Always return the empty string for an empty type. |
8 EXPECTED (video.canPlayType('') == '') OK | 8 EXPECTED (video.canPlayType('') == '') OK |
9 EXPECTED (video.canPlayType('', '') == '') OK | 9 EXPECTED (video.canPlayType('', '') == '') OK |
10 EXPECTED (video.canPlayType('', null) == '') OK | 10 EXPECTED (video.canPlayType('', null) == '') OK |
11 EXPECTED (video.canPlayType('', undefined) == '') OK | 11 EXPECTED (video.canPlayType('', undefined) == '') OK |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 Result of video.canPlayType('video/webm'): 'maybe' | 65 Result of video.canPlayType('video/webm'): 'maybe' |
66 EXPECTED (video.canPlayType('video/webm', '') == 'maybe') OK | 66 EXPECTED (video.canPlayType('video/webm', '') == 'maybe') OK |
67 EXPECTED (video.canPlayType('video/webm', null) == 'maybe') OK | 67 EXPECTED (video.canPlayType('video/webm', null) == 'maybe') OK |
68 EXPECTED (video.canPlayType('video/webm', undefined) == 'maybe') OK | 68 EXPECTED (video.canPlayType('video/webm', undefined) == 'maybe') OK |
69 All implementations that support WebM and Encrypted Media support encrypted WebM
. | 69 All implementations that support WebM and Encrypted Media support encrypted WebM
. |
70 EXPECTED (video.canPlayType('video/webm', 'webkit-org.w3.clearkey') == 'maybe')
OK | 70 EXPECTED (video.canPlayType('video/webm', 'webkit-org.w3.clearkey') == 'maybe')
OK |
71 EXPECTED (video.canPlayType('video/webm', 'WeBkIt-OrG.W3.ClEaRkEy') == 'maybe')
OK | 71 EXPECTED (video.canPlayType('video/webm', 'WeBkIt-OrG.W3.ClEaRkEy') == 'maybe')
OK |
72 EXPECTED (video.canPlayType('video/webm', 'com.example.invalid') == '') OK | 72 EXPECTED (video.canPlayType('video/webm', 'com.example.invalid') == '') OK |
73 END OF TEST | 73 END OF TEST |
74 | 74 |
OLD | NEW |