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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIConnectionEventInit.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/MIDIConnectionEventInit.idl
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIConnectionEventInit.idl b/third_party/WebKit/Source/modules/webmidi/MIDIConnectionEventInit.idl
index 3e539cefb928b7904808eff9822c9d42eac5402b..d47f755f5d7f2893cfdde3ef0b220aff28dfc4fa 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIConnectionEventInit.idl
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIConnectionEventInit.idl
@@ -5,5 +5,8 @@
// http://webaudio.github.io/web-midi-api/#idl-def-MIDIConnectionEventInit
dictionary MIDIConnectionEventInit : EventInit {
- MIDIPort port;
+ // TODO(foolip): |port| should be required and not nullable.
+ // https://crbug.com/647693
+ // https://github.com/WebAudio/web-midi-api/issues/168
+ MIDIPort? port;
};

Powered by Google App Engine
This is Rietveld 408576698