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

Issue 1099453007: Empty Array prototype elements protection needs to alert on length change. (Closed)

Created:
5 years, 8 months ago by mvstanton
Modified:
5 years, 7 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Empty Array prototype elements protection needs to alert on length change. If the length of the array prototype is changed, be sure to turn off the guarantee that it's elements are empty. This case was missed in https://codereview.chromium.org/1092043002 ("Protect the emptiness of Array prototype elements with a PropertyCell") R=jkummerow@chromium.org BUG=479781 LOG=N Committed: https://crrev.com/df7e09da19e39fe9047cb9a02c427aa3f8915916 Cr-Commit-Position: refs/heads/master@{#28033}

Patch Set 1 #

Total comments: 1

Patch Set 2 : With comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -7 lines) Patch
M src/isolate.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/isolate.cc View 1 3 chunks +7 lines, -6 lines 0 comments Download
M src/objects.cc View 1 chunk +4 lines, -1 line 0 comments Download
M test/cctest/test-api.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
mvstanton
Hi Jakob, I missed a case in the array_protector work of yesterday: Array.prototype.length = 5; ...
5 years, 8 months ago (2015-04-23 15:06:59 UTC) #1
Jakob Kummerow
LGTM with a comment. https://codereview.chromium.org/1099453007/diff/1/src/isolate.cc File src/isolate.cc (right): https://codereview.chromium.org/1099453007/diff/1/src/isolate.cc#newcode2431 src/isolate.cc:2431: Handle<PropertyCell> array_protector = factory()->array_protector(); While ...
5 years, 8 months ago (2015-04-23 15:11:32 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1099453007/20001
5 years, 8 months ago (2015-04-23 15:21:45 UTC) #5
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 8 months ago (2015-04-23 16:09:15 UTC) #6
commit-bot: I haz the power
5 years, 8 months ago (2015-04-23 16:09:25 UTC) #7
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/df7e09da19e39fe9047cb9a02c427aa3f8915916
Cr-Commit-Position: refs/heads/master@{#28033}

Powered by Google App Engine
This is Rietveld 408576698