[Bug 21434] Need to spec liveness of Gamepad objects

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

--- Comment #6 from Philip Jägenstedt <philipj@opera.com> ---
I'm trying to implement the Navigator.getGamepads() change in
https://codereview.chromium.org/808643005/ but quickly realized that "Retrieve
a snapshot of the data for the the currently connected and interacted-with
gamepads." isn't a certainly until this spec bug is resolved.

Having getGamepads() return a new array of completly new Gamepad object every
time is simple enough to implement, but it seems to make the GamepadEvent
nonsensical, as the GamepadEvent.gamepad member will necessarily be a Gamepad
object constructed only for that event and that will never appear in any array
returned by Navigator.getGamepads().

What does Firefox do?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 9 February 2015 11:29:17 UTC