[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

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bzbarsky@mit.edu

--- Comment #1 from Boris Zbarsky <bzbarsky@mit.edu> ---
Undefined, or hole?  Those are actually observably different in JavaScript:

 [,1].hasOwnProperty(0) === false

vs

 [undefined,1].hasOwnProperty(0) === true

while of course both arrays will return undefined if indexed with [0].

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

Received on Monday, 23 June 2014 18:42:20 UTC