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

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

Issue 1712903002: Remove prefixed EME. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix isRenewalMessage() in browser tests. Created 4 years, 10 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
OLDNEW
(Empty)
1 CONSOLE WARNING: canPlayType()'s 'keySystem' parameter is deprecated. Please use 'navigator.requestMediaKeySystemAccess()' instead.
2 Test Encrypted Media extension of HTMLMediaElement canPlayType() method.
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.
5
6
7 Always return the empty string for an empty type.
8 EXPECTED (video.canPlayType('') == '') OK
9 EXPECTED (video.canPlayType('', '') == '') OK
10 EXPECTED (video.canPlayType('', null) == '') OK
11 EXPECTED (video.canPlayType('', undefined) == '') OK
12 EXPECTED (video.canPlayType('', 'webkit-org.w3.clearkey') == '') OK
13 EXPECTED (video.canPlayType('', 'WeBkIt-OrG.W3.ClEaRkEy') == '') OK
14 EXPECTED (video.canPlayType('', 'com.example.invalid') == '') OK
15
16 Always return the empty string for when no container is specified.
17 EXPECTED (video.canPlayType('video/') == '') OK
18 EXPECTED (video.canPlayType('video/', '') == '') OK
19 EXPECTED (video.canPlayType('video/', null) == '') OK
20 EXPECTED (video.canPlayType('video/', undefined) == '') OK
21 EXPECTED (video.canPlayType('video/', 'webkit-org.w3.clearkey') == '') OK
22 EXPECTED (video.canPlayType('video/', 'WeBkIt-OrG.W3.ClEaRkEy') == '') OK
23 EXPECTED (video.canPlayType('video/', 'com.example.invalid') == '') OK
24
25 Always return the empty string for an unsupported container.
26 EXPECTED (video.canPlayType('video/blahblah') == '') OK
27 EXPECTED (video.canPlayType('video/blahblah', '') == '') OK
28 EXPECTED (video.canPlayType('video/blahblah', null) == '') OK
29 EXPECTED (video.canPlayType('video/blahblah', undefined) == '') OK
30 EXPECTED (video.canPlayType('video/blahblah', 'webkit-org.w3.clearkey') == '') O K
31 EXPECTED (video.canPlayType('video/blahblah', 'WeBkIt-OrG.W3.ClEaRkEy') == '') O K
32 EXPECTED (video.canPlayType('video/blahblah', 'com.example.invalid') == '') OK
33
34 Empty key system parameters should not affect the result of video/mp4 types.
35 Result of video.canPlayType('video/mp4; Codecs="avc1.4D400C"'): ''
36 EXPECTED (video.canPlayType('video/mp4; Codecs="avc1.4D400C"', '') == '') OK
37 EXPECTED (video.canPlayType('video/mp4; Codecs="avc1.4D400C"', null) == '') OK
38 EXPECTED (video.canPlayType('video/mp4; Codecs="avc1.4D400C"', undefined) == '') OK
39 There are currently no implementations supporting encryption of video/mp4.
40 EXPECTED (video.canPlayType('video/mp4; Codecs="avc1.4D400C"', 'webkit-org.w3.cl earkey') == '') OK
41 EXPECTED (video.canPlayType('video/mp4; Codecs="avc1.4D400C"', 'WeBkIt-OrG.W3.Cl EaRkEy') == '') OK
42 EXPECTED (video.canPlayType('video/mp4; Codecs="avc1.4D400C"', 'com.example.inva lid') == '') OK
43
44 Empty key system parameters should not affect the result of audio/mpeg types.
45 Result of video.canPlayType('audio/mpeg'): ''
46 EXPECTED (video.canPlayType('audio/mpeg', '') == '') OK
47 EXPECTED (video.canPlayType('audio/mpeg', null) == '') OK
48 EXPECTED (video.canPlayType('audio/mpeg', undefined) == '') OK
49 There are currently no implementations supporting encryption of audio/mpeg.
50 EXPECTED (video.canPlayType('audio/mpeg', 'webkit-org.w3.clearkey') == '') OK
51 EXPECTED (video.canPlayType('audio/mpeg', 'WeBkIt-OrG.W3.ClEaRkEy') == '') OK
52 EXPECTED (video.canPlayType('audio/mpeg', 'com.example.invalid') == '') OK
53
54 Empty key system parameters should not affect the result of audio/wav types.
55 Result of video.canPlayType('audio/wav'): 'maybe'
56 EXPECTED (video.canPlayType('audio/wav', '') == 'maybe') OK
57 EXPECTED (video.canPlayType('audio/wav', null) == 'maybe') OK
58 EXPECTED (video.canPlayType('audio/wav', undefined) == 'maybe') OK
59 There are currently no implementations supporting encryption of audio/wav.
60 EXPECTED (video.canPlayType('audio/wav', 'webkit-org.w3.clearkey') == '') OK
61 EXPECTED (video.canPlayType('audio/wav', 'WeBkIt-OrG.W3.ClEaRkEy') == '') OK
62 EXPECTED (video.canPlayType('audio/wav', 'com.example.invalid') == '') OK
63
64 Empty key system parameters should not affect the result of video/webm types.
65 Result of video.canPlayType('video/webm'): 'maybe'
66 EXPECTED (video.canPlayType('video/webm', '') == 'maybe') OK
67 EXPECTED (video.canPlayType('video/webm', null) == 'maybe') OK
68 EXPECTED (video.canPlayType('video/webm', undefined) == 'maybe') OK
69 All implementations that support WebM and Encrypted Media support encrypted WebM .
70 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
73 END OF TEST
74
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698