[SERVER-5274] updatek.js failing in V8 Created: 09/Mar/12 Updated: 11/Jul/16 Resolved: 13/Mar/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | None |
| Fix Version/s: | 2.1.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eric Milkie | Assignee: | Antoine Girbal |
| Resolution: | Done | Votes: | 0 |
| Labels: | buildbot | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
| Comments |
| Comment by Antoine Girbal [ 13/Mar/12 ] | |||||||||||||||
|
when v8 sees numerical keys in object it puts them to the front in order. | |||||||||||||||
| Comment by auto [ 13/Mar/12 ] | |||||||||||||||
|
Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}Message: | |||||||||||||||
| Comment by Aaron Staple [ 12/Mar/12 ] | |||||||||||||||
|
There aren't any explicit arrays here, just objects with field names that happen to consist of digits. Do we have any choice about whether the v8 engine performs this reordering? | |||||||||||||||
| Comment by Antoine Girbal [ 10/Mar/12 ] | |||||||||||||||
|
Ok so this is a brand new test.
That kind of stuff is not really standardized in JS (when using numeric keys make an object an array, etc) |