Mootools and String.prototype.contains

David Bruant bruant.d at gmail.com
Sat Oct 13 03:47:09 PDT 2012


2012/10/12 Geoffrey Sneddon <gsneddon at opera.com>

> On 12/10/12 14:50, David Bruant wrote:
>
>> I was looking at Bugzilla and came across two bugs [1] [2] related to
>> Mootools-based (only Mootools 1.2-) websites being broken by the inclusion
>> of String.prototype.contains in SpiderMonkey.
>> I don't think it's been brought to the list yet, though I think it's
>> relevant.
>>
>
> Given there were similar issues with Function.prototype.bind in the same
> release of Mootools, I'm inclined to let it slide: Mootools 1.2 already
> broke given ES5, and that was pushed through regardless.

By intuition, I'd say there is much more code with mystring.contains than
uses of myfunction.bind and so pushing .contains may have more impact than
.bind did.
But that's just an intuition.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121013/0f8d34a1/attachment-0001.html>


More information about the es-discuss mailing list