From Mitz in bug 10720: > I think this HTMLAnchorElement regression exposed a bug in > Array.prototype.toString() that was introduced when bug 3991 was fixed (r9842): > according to the spec (15.4.4.5), unlike toLocaleString(), join() (and thus > toString()) should not use the array elements' toString(), but rather apply the > ToString operator to them.
Created attachment 11393 [details] Patch
Comment on attachment 11393 [details] Patch The code change looks good. There are coding style issues (misplaced stars) and there's a typo in the bug number in the test's name, so r-.
Created attachment 11394 [details] Patch with less stupidity
Created attachment 11395 [details] Patch with zero stupidity?
Comment on attachment 11395 [details] Patch with zero stupidity? r=me
Landed in r17610.