[Bug 26181] Spec should specify the presentation of the array returned by navigator.getGamepads() w.r.t "holes"

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

Ted Mielczarek [:ted] <ted@mielczarek.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Depends on|                            |27549
         Resolution|FIXED                       |---

--- Comment #16 from Ted Mielczarek [:ted] <ted@mielczarek.org> ---
I'd like to make the spec a bit more sensible here. I'm not particularly tied
to a certain behavior here (and I don't think web content is at this point
either), but I'd like to hew reasonably closely to what implementations are
doing and the direction of the web platform.

Apparently ES6 is doing its best to unsupport sparse arrays as a concept, so
trying to spec "holes" here is probably not a winning move. Ideally we'd just
have a way of spec'ing that the empty slots get undefined.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 9 December 2014 18:07:23 UTC