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

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

Issue 2342393002: Enable TypeError for dictionary members of non-nullable interface type (Closed)
Patch Set: 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
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 a5e355df772534cbd7c4d9e099d92c3e6d853ba6..669cb7b8cf0c1e9dd07c439efc585d176d4ff84b 100644
--- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeyMessageEventInit.idl
+++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeyMessageEventInit.idl
@@ -6,5 +6,8 @@
dictionary MediaKeyMessageEventInit : EventInit {
MediaKeyMessageType messageType = "license-request";
- ArrayBuffer message;
+ // TODO(foolip): |message| should be required and not nullable.
+ // https://crbug.com/647693
+ // https://github.com/w3c/encrypted-media/issues/329
+ ArrayBuffer? message;
};
« no previous file with comments | « third_party/WebKit/Source/core/events/MessageEventInit.idl ('k') | third_party/WebKit/Source/modules/gamepad/GamepadEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698