Array.prototype.values() compatibility hazard

Andrea Giammarchi andrea.giammarchi at gmail.com
Tue Jun 18 15:02:44 PDT 2013


can you try to hot-fix that via `with(values.values=values)` ?


On Tue, Jun 18, 2013 at 2:59 PM, Brandon Benvie <bbenvie at mozilla.com> wrote:

> On 6/17/2013 6:30 PM, Brandon Benvie wrote:
>
>> On 6/17/2013 4:33 PM, Jason Orendorff wrote:
>>
>>> Firefox added Array.prototype.values() and immediately ran into
>>> compatibility issues.
>>>
>>> https://bugzilla.mozilla.org/**show_bug.cgi?id=883914<https://bugzilla.mozilla.org/show_bug.cgi?id=883914>
>>> https://bugzilla.mozilla.org/**show_bug.cgi?id=881782<https://bugzilla.mozilla.org/show_bug.cgi?id=881782>
>>>
>>> Both bug reports have to do with Sencha Ext JS. I haven't looked closely
>>> yet. It seems `with(values)` appears in Ext.
>>>
>>> -j
>>>
>>
>> Looks like the `with` is responsible. When the "values" there is an
>> array, any reference inside the `with` to "values" then becomes
>> "values.values".
>>
>
> The issue appears to affect all the versions of ExtJS I cursorily checked
> (2.x, 3.x, 4.x) and resides in the XTemplate module. It's probably a large
> backward compatibility hazard.
>
> ______________________________**_________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/**listinfo/es-discuss<https://mail.mozilla.org/listinfo/es-discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130618/017385f4/attachment.html>


More information about the es-discuss mailing list