v8/test
adamk@chromium.org 9bebd23d5c Fix %GetArrayKeys to not skip non-enumerable indices
This is one step in the direction of fixing a range of small bugs in the array methods when dealing with non-standard element attributes.

Added tests exercising this behavior for shift and unshift.

For Proxies and Interceptors, the behavior of %GetArrayKeys is now to just return an interval, rather than trying to list all their indexed properties. In the Proxy case, this seems like the only way to avoid an observable difference between smart and non-smart array methods. For Interceptors, the usual case (in WebKit, anyway) is for them to have all indices in [0, length), so enumerating them won't be any better than simply iterating over that range.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14057 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-03-22 18:04:32 +00:00
..
benchmarks First commit of new tools/run-tests.py 2012-09-24 09:38:46 +00:00
cctest ES6 symbols: prevent reflection, proxy, and observe APIs from leaking symbols 2013-03-22 17:27:44 +00:00
es5conform First commit of new tools/run-tests.py 2012-09-24 09:38:46 +00:00
message Reland r13188, r13194, r13256 (Deferred formatting of error stack trace during GC). 2013-01-14 13:19:27 +00:00
mjsunit Fix %GetArrayKeys to not skip non-enumerable indices 2013-03-22 18:04:32 +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