tc39/proposal-relative-indexing-method

Web compatibility issue with Yui2

evilpie opened this issue ยท 3 comments

We just enabled String.prototype.item in Firefox Nightly and broke http://bugzilla.mozilla.org. We are going to backout this patch for that reason.

The problem seems to be in the obsolete Yui2 library: https://github.com/yui/yui2/blob/master/build/dom/dom.js#L789. It now assumes that strings are some kind of array/collections object.

We are going to revert String#item as well.
https://bugs.webkit.org/show_bug.cgi?id=217449

Ah, well that makes the decision of whether to include String#item() or not easy - we'll just remove it.

๐Ÿง