Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Issue 2680353004: Fixes Object::SetAccessor to return false if the prop is unconfigurable. (Closed)

Created:
3 years, 10 months ago by Yuki
Modified:
3 years, 10 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Fixes Object::SetAccessor to return false if the prop is unconfigurable. http://www.ecma-international.org/ecma-262/7.0/#sec-validateandapplypropertydescriptor says that [[DefineProperty]] should return false if the property is already defined and it's unconfigurable (exactly speaking, the condition in the spec is more complicated, but roughly speaking, it's when the property is unconfigurable). BUG=chromium:670651 Review-Url: https://codereview.chromium.org/2680353004 Cr-Commit-Position: refs/heads/master@{#43080} Committed: https://chromium.googlesource.com/v8/v8/+/d014b47fe595b1e119b6c177df0b3234bbc0cf24

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -9 lines) Patch
M src/api.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-api.cc View 2 chunks +8 lines, -8 lines 0 comments Download
M test/unittests/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A test/unittests/api/v8-object-unittest.cc View 1 chunk +39 lines, -0 lines 0 comments Download
M test/unittests/unittests.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
Yuki
Could you review this CL?
3 years, 10 months ago (2017-02-09 15:06:45 UTC) #4
jochen (gone - plz use gerrit)
lgtm
3 years, 10 months ago (2017-02-09 15:23:45 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2680353004/1
3 years, 10 months ago (2017-02-10 05:54:21 UTC) #9
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 05:56:07 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/d014b47fe595b1e119b6c177df0b3234bbc...

Powered by Google App Engine
This is Rietveld 408576698