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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIMessageEventInit.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/webmidi/MIDIMessageEventInit.idl
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIMessageEventInit.idl b/third_party/WebKit/Source/modules/webmidi/MIDIMessageEventInit.idl
index 4c9e046af180f007f955918b84867ad961cc7dc3..0115f67083ab3dd5d9230050545a0ef6d427aed7 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIMessageEventInit.idl
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIMessageEventInit.idl
@@ -6,5 +6,8 @@
dictionary MIDIMessageEventInit : EventInit {
double receivedTime;
- Uint8Array data;
+ // TODO(foolip): |data| should be required and not nullable.
+ // https://crbug.com/647693
+ // https://github.com/WebAudio/web-midi-api/issues/168
+ Uint8Array? data;
};

Powered by Google App Engine
This is Rietveld 408576698