[Bug 26442] Clarify if TextTrackCueList should be able to be converted to Array

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

--- Comment #3 from Boris Zbarsky <bzbarsky@mit.edu> ---
> I'm not sure what objects count as `able to be converted to an array`

See the spec for Array.prototype.slice at
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-array.prototype.slice

Basically, as long as it has a "length" property and then has numbered
properties from 0 to length-1, slice() will produce an array from it.

That's obviously true for these objects, given their .length and indexed
getter.

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

Received on Monday, 28 July 2014 15:08:25 UTC