Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: LayoutTests/media/encrypted-media/encrypted-media-can-play-type-expected.txt

Issue 138063006: Make the type argument to HTMLMediaElement.canPlayType non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove redundant failing test Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Test Encrypted Media extension of HTMLMediaElement canPlayType() method. 1 Test Encrypted Media extension of HTMLMediaElement canPlayType() method.
2 2
3 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. 3 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 4
5 Always return the empty string for no type.
6 EXPECTED (video.canPlayType() == '') OK
7 5
8 Always return the empty string for an empty type. 6 Always return the empty string for an empty type.
9 EXPECTED (video.canPlayType('') == '') OK 7 EXPECTED (video.canPlayType('') == '') OK
10 EXPECTED (video.canPlayType('', '') == '') OK 8 EXPECTED (video.canPlayType('', '') == '') OK
11 EXPECTED (video.canPlayType('', null) == '') OK 9 EXPECTED (video.canPlayType('', null) == '') OK
12 EXPECTED (video.canPlayType('', undefined) == '') OK 10 EXPECTED (video.canPlayType('', undefined) == '') OK
13 EXPECTED (video.canPlayType('', 'webkit-org.w3.clearkey') == '') OK 11 EXPECTED (video.canPlayType('', 'webkit-org.w3.clearkey') == '') OK
14 EXPECTED (video.canPlayType('', 'WeBkIt-OrG.W3.ClEaRkEy') == '') OK 12 EXPECTED (video.canPlayType('', 'WeBkIt-OrG.W3.ClEaRkEy') == '') OK
15 EXPECTED (video.canPlayType('', 'com.example.invalid') == '') OK 13 EXPECTED (video.canPlayType('', 'com.example.invalid') == '') OK
16 14
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 Result of video.canPlayType('video/webm'): 'maybe' 64 Result of video.canPlayType('video/webm'): 'maybe'
67 EXPECTED (video.canPlayType('video/webm', '') == 'maybe') OK 65 EXPECTED (video.canPlayType('video/webm', '') == 'maybe') OK
68 EXPECTED (video.canPlayType('video/webm', null) == 'maybe') OK 66 EXPECTED (video.canPlayType('video/webm', null) == 'maybe') OK
69 EXPECTED (video.canPlayType('video/webm', undefined) == 'maybe') OK 67 EXPECTED (video.canPlayType('video/webm', undefined) == 'maybe') OK
70 All implementations that support WebM and Encrypted Media support encrypted WebM . 68 All implementations that support WebM and Encrypted Media support encrypted WebM .
71 EXPECTED (video.canPlayType('video/webm', 'webkit-org.w3.clearkey') == 'maybe') OK 69 EXPECTED (video.canPlayType('video/webm', 'webkit-org.w3.clearkey') == 'maybe') OK
72 EXPECTED (video.canPlayType('video/webm', 'WeBkIt-OrG.W3.ClEaRkEy') == 'maybe') OK 70 EXPECTED (video.canPlayType('video/webm', 'WeBkIt-OrG.W3.ClEaRkEy') == 'maybe') OK
73 EXPECTED (video.canPlayType('video/webm', 'com.example.invalid') == '') OK 71 EXPECTED (video.canPlayType('video/webm', 'com.example.invalid') == '') OK
74 END OF TEST 72 END OF TEST
75 73
OLDNEW
« no previous file with comments | « LayoutTests/media/encrypted-media/encrypted-media-can-play-type.html ('k') | LayoutTests/media/media-can-play-type.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698