v8/test
yangguo@chromium.org e25920da19 Make Array.prototype.pop throw if the last element is not configurable.
Popping an element from an array should call [[Delete]] internal method
and pass true as the second argument (ECMA-262/5.1/#sec-15.4.4.6).
When the last element can't be deleted, throw a Type Error.
Not throwing the error would result in endless loop in the following test.

TEST=var a=[];Object.defineProperty(a,0,{});while(a.length)a.pop();

By the way fix another bug, or else i can't post any issues.
"presubmit.py" throw a "missing a correct copyright header" on windows.
Both the slash and the backslash are valid path separator on windows.

R=yangguo@chromium.org

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

Patch from Yanagi <admin@web-tinker.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17346 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-10-23 16:19:24 +00:00
..
benchmarks Make it possible to run a test only in the standard variant. 2013-10-17 13:09:28 +00:00
cctest Enable preaging of code objects when --optimize-for-size. 2013-10-23 13:48:04 +00:00
intl Original review https://codereview.chromium.org/25855005. 2013-10-11 17:54:31 +00:00
message Crankshaft builtins. 2013-10-23 08:57:54 +00:00
mjsunit Make Array.prototype.pop throw if the last element is not configurable. 2013-10-23 16:19:24 +00:00
mozilla Migrate to new test status file syntax 2013-09-24 12:08:33 +00:00
preparser Make it possible to run a test only in the standard variant. 2013-10-17 13:09:28 +00:00
test262 Migrate to new test status file syntax 2013-09-24 12:08:33 +00:00
webkit Migrate to new test status file syntax 2013-09-24 12:08:33 +00:00