[Bug 17309] It is not defined what the value of Gamepad.index should be after disconnecting the gamepad

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17309

--- Comment #3 from Ted Mielczarek [:ted] <ted@mielczarek.org> 2012-06-04 17:04:02 UTC ---
Why? How is that any worse than using -1 as a sigil for "not connected"? null
seems like a saner choice in that regard. Either way, the point is just that
writing navigator.gamepads[gamepad.index] will throw.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 4 June 2012 17:05:57 UTC