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

Issue 2118613003: [builtins] don't create keys for undefined property descriptors in O.gOPDs (Closed)

Created:
4 years, 5 months ago by caitp (gmail)
Modified:
4 years, 5 months ago
Reviewers:
jwolfe, Dan Ehrenberg, adamk
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[builtins] don't create keys for undefined property descriptors in O.gOPDs Implements the change proposed at https://github.com/tc39/ecma262/pull/593. In summary, Object.getOwnPropertyDescriptors can produce results which cause Object.defineProperties() to throw, by inserting a property with an undefined descriptor into the result object. This change to the algorithm requires that the descriptor only be added to the result object if it is not undefined. BUG=v8:4725 R=littledan@chromium.org, adamk@chromium.org, jwolfe@igalia.com Committed: https://crrev.com/81349869174c76216e69c511396b1c05c826fa5e Cr-Commit-Position: refs/heads/master@{#37504}

Patch Set 1 #

Patch Set 2 : fix test262.status #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -5 lines) Patch
M src/builtins.cc View 1 2 chunks +2 lines, -4 lines 0 comments Download
M test/mjsunit/harmony/object-get-own-property-descriptors.js View 2 chunks +30 lines, -1 line 0 comments Download
M test/test262/test262.status View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
caitp (gmail)
Hi, PTAL
4 years, 5 months ago (2016-07-01 20:50:20 UTC) #1
adamk
This is definitely the way I'd want this to get resolved, but it's not clear ...
4 years, 5 months ago (2016-07-01 21:02:52 UTC) #2
Dan Ehrenberg
On 2016/07/01 21:02:52, adamk (out until june 12) wrote: > This is definitely the way ...
4 years, 5 months ago (2016-07-01 23:46:55 UTC) #3
caitp (gmail)
On 2016/07/01 23:46:55, Dan Ehrenberg wrote: > On 2016/07/01 21:02:52, adamk (out until june 12) ...
4 years, 5 months ago (2016-07-01 23:56:10 UTC) #4
caitp (gmail)
On 2016/07/01 23:56:10, caitp wrote: > On 2016/07/01 23:46:55, Dan Ehrenberg wrote: > > On ...
4 years, 5 months ago (2016-07-04 16:00:18 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/2118613003/1
4 years, 5 months ago (2016-07-04 16:00:34 UTC) #7
caitp (gmail)
On 2016/07/04 16:00:34, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
4 years, 5 months ago (2016-07-04 16:02:50 UTC) #8
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/2118613003/20001
4 years, 5 months ago (2016-07-04 17:40:25 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-04 18:02:43 UTC) #12
commit-bot: I haz the power
4 years, 5 months ago (2016-07-04 18:04:15 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/81349869174c76216e69c511396b1c05c826fa5e
Cr-Commit-Position: refs/heads/master@{#37504}

Powered by Google App Engine
This is Rietveld 408576698