[whatwg] Canvas: dash list API

Tobie Langel tobie.langel at gmail.com
Sat Dec 22 06:01:10 PST 2012

On Sat, Dec 22, 2012 at 2:57 PM, Anne van Kesteren <annevk at annevk.nl> wrote:

> On Sat, Dec 22, 2012 at 2:43 PM, Cameron McCormack <cam at mcc.id.au> wrote:
> > On 23/12/12 12:40 AM, Anne van Kesteren wrote:
> >> I guess dashList is somewhat simpler, but I think it would be nice if
> >> it still did type coercion.
> >
> > In that case, I guess we are reliant on whatever ES-allowed Array
> extending
> > is possible, and I haven't followed that for a bit.  Is this actually
> > possible now?
> The feedback I got on es-discuss was
> https://mail.mozilla.org/pipermail/es-discuss/2012-December/027248.html
> which seems to suggest to create our own kind of object that looks
> like an Array. That seems however somewhat cumbersome to do each time
> we need something simple. I guess I should ask some more questions
> there.

Array-like objects which don't "inherit" from the Array object and are thus
missing methods one would expect to find on them (forEach, join, etc.) is
one of the biggest WTF of the Web platform. We should be doing whatever it
takes to fix this.


More information about the whatwg mailing list