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 23285980717641c9a148c5a2d99930f2f8011e3f..162d2c29e682f4fd4a3668990af9f206ddfd201e 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 |
@@ -314,6 +314,11 @@ |
videoCapabilities: [{contentType: 'video/webm; foo="bar"; codecs="vp8"'}], |
}], 'NotSupportedError', 'Unrecognized foo with codecs'); |
+ // Multiple parameters with the same name are not allowed (RFC6838). |
+ expect_error('org.w3.clearkey', [{ |
+ videoCapabilities: [{contentType: 'video/webm; codecs=vp8; codecs=vp9'}], |
+ }], 'NotSupportedError', 'Multiple codecs'); |
+ |
// Invalid contentTypes. |
expect_error('org.w3.clearkey', [{ |
videoCapabilities: [{contentType: 'fake'}], |