Allow Object.defineProperty to update value of an API accessor.
authorulan@chromium.org <ulan@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 23 Apr 2014 13:05:38 +0000 (13:05 +0000)
committerulan@chromium.org <ulan@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 23 Apr 2014 13:05:38 +0000 (13:05 +0000)
commit6cae9d1ce80094d1d0ae215a5977eed2bb452f7f
treea9b96db204007701a4a4e60cb343ec421d75c886
parent66ec29980888951e00d4d4c6b4996b04291fb95a
Allow Object.defineProperty to update value of an API accessor.

This is needed for converting internal accessors to API accessors and can break blink tests.

BUG=
R=yangguo@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20910 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/runtime.cc
test/cctest/test-api.cc