[Webkit-unassigned] [Bug 81588] Array.prototype.toString should be generic
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Apr 6 15:26:04 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=81588
--- Comment #17 from Erik Arvidsson <arv at chromium.org> 2012-04-06 15:26:04 PST ---
I think this patch might not be sufficient. If someone overrides Array.prototype.join, arrays need to reflect that. For example:
Array.prototype.join = function() { return 'join' }
shouldBeEqualToString('[0, 1, 2].toString()', 'join');
It seems like the right thing to do is to not special case real arrays and always call join as the spec says.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list