v8/test
ricow@chromium.org 95939ada29 Fix issue 720 making Object.defineProperty handle existing writable flags correctly.
The existing version will overwrite the existing writable flag with
false even in the case where no new value is given and the existing
writable flag is true.

The reason for the issue is that there is no check to see if the
provided descriptor actually has a writable attribute. This causes us
to use the default value (false) even in the case where nothing was
provided. In addition, the existing tests makes wrong assumptions (that writable is always set to false if not provided) and has been changed to follow the specification.

Review URL: http://codereview.chromium.org/2271001

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4720 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2010-05-26 08:31:57 +00:00
..
cctest ARM: Update the full compiler to handle all code 2010-05-25 14:08:17 +00:00
es5conform Enable Object.create tests since we implement this correctly (since 3786 i guess, it was enabled in 3438 but did not function correctly because DefineOwnProperty was not implemented fully according to spec). 2010-04-28 08:04:39 +00:00
message MIPS port initial commit 2010-02-04 20:36:58 +00:00
mjsunit Fix issue 720 making Object.defineProperty handle existing writable flags correctly. 2010-05-26 08:31:57 +00:00
mozilla Mark Mozilla test as possible timeout 2010-05-20 08:03:01 +00:00
sputnik Added ability to remove prototype from function. In this case, [[Construct]] from function will not be allowed. 2010-04-28 12:05:40 +00:00