Resending to v8-users since apparently I didn't have permission to post previously.
On Thu, Nov 27, 2014 at 10:13 AM, Drew Wilson <atwil...@chromium.org> wrote: > What impact do we expect on web compatibility from apps that may already > be adding attributes named "include", etc to their String objects? > > I think that adding attributes that Firefox is already shipping should be > relatively safe, but I'm very leery about being the first browser to add > new attributes. What can we do to avoid a repeat of > http://crbug.com/409858? Do we have any stats for how often these > attributes are already in use in web pages (tricky, since some apps are > legitimately using them for polyfill purposes)? > > On Thu, Nov 27, 2014 at 9:27 AM, Dmitry Lomov <dslo...@chromium.org> > wrote: > >> [FYI +blink-dev] >> >> ES6 extends String.prototype with several methods: repeat, startsWith, >> endsWith, includes, codePointAt) and adds String.fromCodePoint method. >> >> Firefox ships codePointAt and fromCodePoint since release 29 [1], >> startsWith and endsWith since release 17 [2], and repeat since release 24 >> [3]. >> >> 'include' was previously named 'contains' and has been renamed at the >> last TC39 meeting. Firefox shipped 'contains' since release 17. >> >> These methods has been available under a flag for a while, and were >> staged in Chrome 40. >> >> [1] https://developer.mozilla.org/en-US/Firefox/Releases/29 >> [2] https://developer.mozilla.org/en-US/Firefox/Releases/17 >> [3] https://developer.mozilla.org/en-US/Firefox/Releases/24 >> >> Owners: yang...@chromium.org, dslo...@chromium.org >> > > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.