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

Unified Diff: third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-requestmediakeysystemaccess.html

Issue 1911953003: EME: Correctly handle container-only contentType strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-requestmediakeysystemaccess.html
diff --git a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-requestmediakeysystemaccess.html b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-requestmediakeysystemaccess.html
index 713774acb63596c720d8926719629e1bef11e2ad..49d15fd30a7c5812012d64b25300e32bab0a4dc3 100644
--- a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-requestmediakeysystemaccess.html
+++ b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-requestmediakeysystemaccess.html
@@ -254,11 +254,15 @@
}, 'Codecs=');
expect_config('org.w3.clearkey', [{
- videoCapabilities: [{contentType: 'VIDEO/WEBM; CODECS="vp8"'}],
+ videoCapabilities: [{contentType: 'VIDEO/WEBM; codecs="vp8"'}],
}], {
- videoCapabilities: [{contentType: 'VIDEO/WEBM; CODECS="vp8"'}],
+ videoCapabilities: [{contentType: 'VIDEO/WEBM; codecs="vp8"'}],
}, 'VIDEO/WEBM');
+ expect_error('org.w3.clearkey', [{
+ videoCapabilities: [{contentType: 'VIDEO/WEBM; CODECS="vp8"'}],
ddorwin 2016/04/25 22:58:51 This fails because of a bug in the next file. It s
jrummell 2016/04/26 21:23:56 Converted to a successful test. There are existin
+ }], 'NotSupportedError', 'VIDEO/WEBM, CODECS');
ddorwin 2016/04/25 22:58:51 Update the name too.
jrummell 2016/04/26 21:23:56 Done.
+
// Unrecognized attributes are not allowed.
// TODO(jrummell): Unrecognized attributes are ignored currently.
// http://crbug.com/449690

Powered by Google App Engine
This is Rietveld 408576698