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

Issue 1441043002: [proxies] Implement [[PreventExtensions]] and [[IsExtensible]]. (Closed)

Created:
5 years, 1 month ago by neis
Modified:
5 years ago
Reviewers:
rossberg, Camillo Bruni
CC:
Jakob Kummerow, rmcilroy
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[proxies] Implement [[PreventExtensions]] and [[IsExtensible]]. BUG= Committed: https://crrev.com/a25018905df5f41e279403423eef4fc8b463ab49 Cr-Commit-Position: refs/heads/master@{#32212}

Patch Set 1 #

Patch Set 2 : Various changes. #

Total comments: 16

Patch Set 3 : Address some comments, in particular add tests. #

Patch Set 4 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -40 lines) Patch
M src/builtins.cc View 1 2 3 2 chunks +6 lines, -16 lines 0 comments Download
M src/js/v8natives.js View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M src/messages.h View 1 2 3 1 chunk +8 lines, -2 lines 0 comments Download
M src/objects.h View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M src/objects.cc View 1 2 3 5 chunks +111 lines, -10 lines 0 comments Download
M src/runtime/runtime-object.cc View 1 2 3 2 chunks +6 lines, -4 lines 0 comments Download
M test/cctest/interpreter/test-bytecode-generator.cc View 1 2 3 1 chunk +9 lines, -5 lines 0 comments Download
A test/mjsunit/harmony/proxies-is-extensible.js View 1 2 1 chunk +74 lines, -0 lines 0 comments Download
A test/mjsunit/harmony/proxies-prevent-extensions.js View 1 2 1 chunk +87 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
neis
Not for review yet.
5 years, 1 month ago (2015-11-12 17:29:34 UTC) #2
neis
PTAL. In order to write meaningful tests, we first need [[Set]] to work properly.
5 years, 1 month ago (2015-11-16 22:38:37 UTC) #4
neis
mcilroy: please have a look at the changes to test-bytecode-generator.cc.
5 years, 1 month ago (2015-11-16 22:40:23 UTC) #6
Camillo Bruni
LGTM with nits (mostly missing comments). I know that we probably need the full set ...
5 years, 1 month ago (2015-11-17 08:57:17 UTC) #8
Jakob Kummerow
DBC. https://codereview.chromium.org/1441043002/diff/20001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1441043002/diff/20001/src/objects.cc#newcode910 src/objects.cc:910: // TODO(neis): Decide on how to represent revocation. ...
5 years, 1 month ago (2015-11-17 12:12:35 UTC) #9
rossberg
lgtm https://codereview.chromium.org/1441043002/diff/20001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1441043002/diff/20001/src/objects.cc#newcode7171 src/objects.cc:7171: DCHECK(object->IsJSObject()); Nit: this check is redundant, since it's ...
5 years, 1 month ago (2015-11-17 13:29:09 UTC) #10
neis
I added tests and addressed some comments. Please have another look. https://codereview.chromium.org/1441043002/diff/20001/src/objects.cc File src/objects.cc (right): ...
5 years, 1 month ago (2015-11-17 23:19:03 UTC) #12
Jakob Kummerow
https://codereview.chromium.org/1441043002/diff/20001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1441043002/diff/20001/src/objects.cc#newcode7064 src/objects.cc:7064: ShouldThrow should_throw) { On 2015/11/17 23:19:03, neis wrote: > ...
5 years, 1 month ago (2015-11-18 13:58:27 UTC) #13
rossberg
On 2015/11/18 13:58:27, Jakob wrote: > https://codereview.chromium.org/1441043002/diff/20001/src/objects.cc > File src/objects.cc (right): > > https://codereview.chromium.org/1441043002/diff/20001/src/objects.cc#newcode7064 > ...
5 years, 1 month ago (2015-11-18 14:31:22 UTC) #14
rossberg
Still LGTM. I don't see the necessity to comment every trivial micro step. May not ...
5 years ago (2015-11-24 09:33:46 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1441043002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1441043002/60001
5 years ago (2015-11-24 13:46:12 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-11-24 14:16:04 UTC) #19
commit-bot: I haz the power
5 years ago (2015-11-24 14:16:32 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a25018905df5f41e279403423eef4fc8b463ab49
Cr-Commit-Position: refs/heads/master@{#32212}

Powered by Google App Engine
This is Rietveld 408576698