[Bug 21434] Need to spec liveness of Gamepad objects

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

--- Comment #7 from Philip Jägenstedt <philipj@opera.com> ---
(In reply to Philip Jägenstedt from comment #6)
> What does Firefox do?

I don't have a gamepad to test with here, but judging by the code in gecko-dev
and minor testing, it looks like Firefox always returns a new array, but the
internal Gamepad objects are just allocated once. One point of doubt is
|Gamepad::Clone|, is that called as part of getGamepads() so that a new object
is seen by script every time?

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

Received on Monday, 9 February 2015 13:32:28 UTC