Updates:
Status: Invalid
Comment #5 on issue 2264 by erik.corry: Array.prototype.sort does not call
ToString() for identical elements
http://code.google.com/p/v8/issues/detail?id=2264
When the identity short cut is used, the user of the sort function cannot
detect that SortCompare is called at all, therefore V8s behaviour is
indistinguishable from a sort routine that is merely clever at minimising
how often it calls the comparison function. This is allowed.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev