Updates:
Status: Available
Owner: ---
Cc: ad...@chromium.org
Labels: Area-Language Harmony
Comment #1 on issue 3056 by ad...@chromium.org: getOwnPropertyNames does
not return names in the insertion order
https://code.google.com/p/v8/issues/detail?id=3056
This is now a spec violation, per
http://www.ecma-international.org/ecma-262/6.0/#sec-ordinary-object-internal-methods-and-internal-slots-ownpropertykeys,
which requires insertion order.
Also, another test case, from mridg...@yahoo-inc.com on issue 4118 (the
object is in dictionary mode due to too many keyed stores):
var t = {}; 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
t[letter] = letter; }); Object.getOwnPropertyNames(t);
["g", "b", "h", "a", "t", "c", "f", "r", "k", "e", "p", "l", "q", "n", "s", "m", "o", "j",
"i", "d"]
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.