Index: modules/webmidi/MIDIInputMap.idl |
diff --git a/modules/webmidi/MIDIInputMap.idl b/modules/webmidi/MIDIInputMap.idl |
index e165c9925098524e027be14eb624928504694937..86ff1241f501f6f38b6fb0c8fff2f6f26030bc08 100644 |
--- a/modules/webmidi/MIDIInputMap.idl |
+++ b/modules/webmidi/MIDIInputMap.idl |
@@ -6,17 +6,8 @@ |
// callback ForEachCallback = void(DOMString id, MIDIInput port); |
[ |
- Iterable, |
- NoInterfaceObject, |
GarbageCollected, |
] interface MIDIInputMap { |
readonly attribute unsigned long size; |
- Iterator keys(); |
- Iterator entries(); |
- Iterator values(); |
- // This function returns undefined if |!this->has(id)|. |
- [ImplementedAs=getForBinding, CallWith=ScriptState] any get(DOMString id); |
- boolean has(DOMString key); |
- // FIXME: Implement forEach. |
- // void forEach (ForEachCallback callback); |
+ readonly maplike<DOMString, MIDIInput>; |
}; |