v8/test
mstarzinger@chromium.org 75c388e691 Fix detection of indexed properties in Object.defineProperty()
When defining an indexed property on an Array object, the object's
length property should (perhaps) be updated.  This was done for any
property for which

  ToUInt32(name) == ToNumber(name)

was true, meaning any property name that, when converted to a number,
was an integer in the range [0, 2^32).  The detection should be more
strict; an indexed property is one for which

  ToString(ToUInt32(name)) == name

is true only.

Review URL: https://codereview.chromium.org/13914003

Patch from Jens Lindström <jl@opera.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14242 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-04-12 08:45:14 +00:00
..
benchmarks First commit of new tools/run-tests.py 2012-09-24 09:38:46 +00:00
cctest Fix cctest/test-cpu-profiler/CollectCpuProfile test on Arm and MIPS simulators 2013-04-11 14:22:04 +00:00
es5conform First commit of new tools/run-tests.py 2012-09-24 09:38:46 +00:00
message Modifications to tests and test tools for Native Client V8. 2013-04-09 08:39:01 +00:00
mjsunit Fix detection of indexed properties in Object.defineProperty() 2013-04-12 08:45:14 +00:00
mozilla De-dupe test/mozilla/mozilla.status 2013-01-18 15:01:53 +00:00
preparser Adjust Android test expectations. 2012-10-19 09:28:23 +00:00
sputnik First commit of new tools/run-tests.py 2012-09-24 09:38:46 +00:00
test262 Make __proto__ a foreign callback on Object.prototype. 2013-02-26 10:46:00 +00:00