ES5 says that the Arguments should inherit from array (Section 10.6). Specifically that construction of the Arguments object is as follows (assuming Object and Array are the standard builtin Object and Array objects, and that their prototypes are unchanged): obj = new Object with the class Arguments obj.__proto__ = Array.prototype obj.constructor = Object obj.toString = Object.prototype.toString obj.toLocalString = Object.prototype.toLocaleString
Created attachment 34826 [details] Patch v1
You seem to be checking in another mozilla test failing? If so, is this intentional, could you not just fix the test?
I suppose i could do that...
Created attachment 34869 [details] Patch v1
Gavin i has fixed it
Committed r47292