Array.prototype.values breaks the web

We've had to back out Array.prototype.values for the second time now,
because it breaks every website that uses Sencha's Ext.js. See 1, 2 and
3. In 4, Don from Sencha says that they're investigating, but also that
even once they fix the issue, (obviously) it's going to take some time for
all users to upgrade.

These users include all commercial Ext.js users (banking websites1 and
Synology's NAS web interfaces among them), every Typo3 installation, and
most certainly lots of other open source projects. Searching for "ext.js"
on github gets some 7000 hits.

Given that, I don't see how we can expect to be able to land
Array.prototype.values in any meaningful timeframe and think dropping it or
changing the name should be considered.

We've had to back out Array.prototype.values for the second time now,
because it breaks every website that uses Sencha's Ext.js. See [1], [2] and
[3]. In [4], Don from Sencha says that they're investigating, but also that
even once they fix the issue, (obviously) it's going to take some time for
all users to upgrade.
These users include all commercial Ext.js users (banking websites[1] and
Synology's NAS web interfaces among them), every Typo3 installation, and
most certainly lots of other open source projects. Searching for "ext.js"
on github gets some 7000 hits.
Given that, I don't see how we can expect to be able to land
Array.prototype.values in any meaningful timeframe and think dropping it or
changing the name should be considered.
[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=883914
[2]: https://bugzilla.mozilla.org/show_bug.cgi?id=892225
[3]: https://bugzilla.mozilla.org/show_bug.cgi?id=881782
[4]: https://bugzilla.mozilla.org/show_bug.cgi?id=883914#c15
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130723/36caa7fa/attachment.html>

Given that, I don't see how we can expect to be able to land
Array.prototype.values in any meaningful timeframe and think dropping
it or changing the name should be considered.

Bikeshed time! I submit "vals" and "items".

On 7/23/2013 9:00 AM, Till Schneidereit wrote:
> Given that, I don't see how we can expect to be able to land
> Array.prototype.values in any meaningful timeframe and think dropping
> it or changing the name should be considered.
Bikeshed time! I submit "vals" and "items".

First, I think we should question adding plain-named methods to
long-standard prototypes.

Second, we should avoid cybercruddy names.

Third, we should be careful to break common pairings such as key and value.

Where does this leave us? I'm thinking close to wanting a functional
API, generic keys, values, entries (nee items), with any method
delegation using symbol-named @keys, @values, @entries.

First, I think we should question adding plain-named methods to
long-standard prototypes.
Second, we should avoid cybercruddy names.
Third, we should be careful to break common pairings such as key and value.
Where does this leave us? I'm thinking close to wanting a functional
API, generic keys, values, entries (nee items), with any method
delegation using symbol-named @keys, @values, @entries.
/be
Brandon Benvie wrote:
> On 7/23/2013 9:00 AM, Till Schneidereit wrote:
>> Given that, I don't see how we can expect to be able to land
>> Array.prototype.values in any meaningful timeframe and think dropping
>> it or changing the name should be considered.
>
> Bikeshed time! I submit "vals" and "items".
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>