Comment #3 on issue 1929 by [email protected]: getOwnPropertyNames
should only include named properties, not numbered ones
http://code.google.com/p/v8/issues/detail?id=1929
I think the "named" part of the spec phrase "named own property" has no
real meaning. Test262 explicitly checks for number properties, see e.g.:
http://hg.ecmascript.org/tests/test262/file/a5e3b4d91949/test/suite/ch15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-44.js
http://hg.ecmascript.org/tests/test262/file/a5e3b4d91949/test/suite/ch15/15.2/15.2.3/15.2.3.4/15.2.3.4-4-49.js
So either the spec or the test suite has a bug. :-) But given the fact that
other browser vendors prefer following the test suite, we will continue do
the same.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev