DescriptionFix Array::New(length) in the API to return an array with the provided length.
The internal factory method initializes the elements but does not set
the length property of the array.
Add array api test case for length.
R=antonm@chromium.org
BUG=v8:1256
TEST=cctest/test-api/Array
Committed: http://code.google.com/p/v8/source/detail?r=7210
Patch Set 1 #Patch Set 2 : Handle negative lengths. #Patch Set 3 : Address comments. #
Messages
Total messages: 3 (0 generated)
|