Index: third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl |
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl b/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl |
index bf252c0563dd5c927bf3d8a363bb51796aee6cda..3f0c83c1ec7902db4bef5c40310c5b2534cb7c41 100644 |
--- a/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl |
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl |
@@ -30,9 +30,12 @@ |
// http://webaudio.github.io/web-midi-api/#idl-def-MIDIMessageEvent |
+// TODO(toyoshim): Remove ConstructorCallWith=ScriptState and receivedTime. |
+// See https://github.com/WebAudio/web-midi-api/issues/145 and crbug.com/599335. |
[ |
Constructor(DOMString type, optional MIDIMessageEventInit eventInitDict), |
+ ConstructorCallWith=ScriptState, |
] interface MIDIMessageEvent : Event { |
- readonly attribute double receivedTime; |
+ [CallWith=ScriptState] readonly attribute double receivedTime; |
readonly attribute Uint8Array data; |
}; |