Go to file
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 More fixes for V8 benchmark version 7. 2012-03-15 17:13:50 +00:00
build Move v8_optimized_debug default value to standalone.gypi 2013-10-14 13:07:41 +00:00
include Expose v8::Function::GetDisplayName to public API. 2013-10-23 12:38:06 +00:00
samples remove uses of static oddball accessors using GetCurrent in advance of removal from api 2013-09-26 08:21:48 +00:00
src Make Array.prototype.pop throw if the last element is not configurable. 2013-10-23 16:19:24 +00:00
test Make Array.prototype.pop throw if the last element is not configurable. 2013-10-23 16:19:24 +00:00
tools Make Array.prototype.pop throw if the last element is not configurable. 2013-10-23 16:19:24 +00:00
.gitignore Migrate to new test status file syntax 2013-09-24 12:08:33 +00:00
AUTHORS Fix a crash when generating forward jumps to labels at very high assembly offsets 2013-08-01 08:13:08 +00:00
ChangeLog Prepare push to trunk. Now working on version 3.22.20. 2013-10-23 06:50:44 +00:00
DEPS Update V8's dependencies: 2013-07-31 13:41:12 +00:00
LICENSE Update LICENSE file 2012-01-03 16:38:42 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
Makefile Remove obsolete preparser binary. 2013-10-04 16:21:23 +00:00
Makefile.android Enable building for android on x86_64 machines. 2013-07-17 08:37:48 +00:00
Makefile.nacl Turn on i18n support by default 2013-09-19 12:07:03 +00:00
OWNERS Add ishell@ to OWNERS. 2013-10-21 13:52:12 +00:00
PRESUBMIT.py Scripts should not care about closed tree when committing. 2013-09-24 13:35:45 +00:00
WATCHLISTS Add myself to a watchlist for the public API. 2013-10-10 11:37:48 +00:00