Index: core/dom/Iterator.idl |
diff --git a/modules/gamepad/GamepadButton.idl b/core/dom/Iterator.idl |
similarity index 66% |
copy from modules/gamepad/GamepadButton.idl |
copy to core/dom/Iterator.idl |
index 19d88ce77cdc808153c4250e1203526586640e01..87027c5bdac9d26ac0404df9ed40c057f021eb1b 100644 |
--- a/modules/gamepad/GamepadButton.idl |
+++ b/core/dom/Iterator.idl |
@@ -3,9 +3,9 @@ |
// found in the LICENSE file. |
[ |
- NoInterfaceObject, |
+ Iterable, |
GarbageCollected, |
-] interface GamepadButton { |
- readonly attribute boolean pressed; |
- readonly attribute double value; |
+ NoInterfaceObject, |
+] interface Iterator { |
+ [CallWith=ScriptState, RaisesException] any next(optional any value); |
}; |