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

Unified Diff: third_party/WebKit/Source/modules/encryptedmedia/MediaKeyMessageEventInit.idl

Issue 2354083003: media: Change MediaKeyMessageEventInit to require both attributes (Closed)
Patch Set: update media-key-message-event-constructor test Created 4 years, 3 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
« no previous file with comments | « third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-syntax.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/encryptedmedia/MediaKeyMessageEventInit.idl
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeyMessageEventInit.idl b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeyMessageEventInit.idl
index 669cb7b8cf0c1e9dd07c439efc585d176d4ff84b..1a8e92e1a184ab8054814718036d52cdd413cc5c 100644
--- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeyMessageEventInit.idl
+++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeyMessageEventInit.idl
@@ -5,9 +5,6 @@
// https://w3c.github.io/encrypted-media/#mediakeymessageevent
dictionary MediaKeyMessageEventInit : EventInit {
- MediaKeyMessageType messageType = "license-request";
- // TODO(foolip): |message| should be required and not nullable.
- // https://crbug.com/647693
- // https://github.com/w3c/encrypted-media/issues/329
- ArrayBuffer? message;
+ required MediaKeyMessageType messageType;
+ required ArrayBuffer message;
};
« no previous file with comments | « third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-syntax.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698