Open evilpie opened 4 years ago
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.
String.prototype.item
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.
String#item()
🧐
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.