Reviewers: Kasper Lund, Description: Change the for-in enumeration order of dictionary case elements to always be numerical order.
When an object has both integer and string keys, the enumeration order will be: integer keys in numerical order followed by string keys in insertion order. This is consistent with the WebKit/JSC behavior for JavaScript Arrays. Our JS Objects and Arrays behave the same with respect to for-in. Please review this at http://codereview.chromium.org/73081 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/handles.cc M src/objects.h M src/objects.cc M test/cctest/test-api.cc --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
