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

Issue 1817443003: Remove oob elements collected from the prototype chain by trimming in GetArrayKeys (Closed)

Created:
4 years, 9 months ago by Toon Verwaest
Modified:
4 years, 9 months ago
Reviewers:
Jakob Kummerow
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

Remove oob elements collected from the prototype chain by trimming in GetArrayKeys BUG=chromium:594953 LOG=n Committed: https://crrev.com/c6f9883d53b05b882d41dc887385636d6c7d29fe Cr-Commit-Position: refs/heads/master@{#34893}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -34 lines) Patch
M src/js/array.js View 1 2 6 chunks +21 lines, -27 lines 0 comments Download
M src/runtime/runtime-array.cc View 1 chunk +10 lines, -3 lines 0 comments Download
A + test/mjsunit/regress/get-array-keys-oob.js View 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Toon Verwaest
ptal
4 years, 9 months ago (2016-03-18 10:36:02 UTC) #2
Jakob Kummerow
LGTM, but this obviates the need for a bunch of !IS_UNDEFINED(key) checks in array.js, right? ...
4 years, 9 months ago (2016-03-18 13:06:43 UTC) #3
Toon Verwaest
Removed those IS_UNDEFINED calls
4 years, 9 months ago (2016-03-18 13:54:50 UTC) #4
Jakob Kummerow
LGTM https://codereview.chromium.org/1817443003/diff/20001/src/js/array.js File src/js/array.js (right): https://codereview.chromium.org/1817443003/diff/20001/src/js/array.js#newcode1065 src/js/array.js:1065: if (!IS_UNDEFINED(index) && !HAS_OWN_PROPERTY(obj, index) This can go ...
4 years, 9 months ago (2016-03-18 14:00:25 UTC) #5
Toon Verwaest
Done.
4 years, 9 months ago (2016-03-18 14:14:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1817443003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1817443003/40001
4 years, 9 months ago (2016-03-18 14:15:08 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-18 14:36:15 UTC) #10
commit-bot: I haz the power
4 years, 9 months ago (2016-03-18 14:37:46 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c6f9883d53b05b882d41dc887385636d6c7d29fe
Cr-Commit-Position: refs/heads/master@{#34893}

Powered by Google App Engine
This is Rietveld 408576698