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

Issue 2508423002: Add getter properties to array entry previews (Closed)

Created:
4 years, 1 month ago by luoe
Modified:
4 years ago
Reviewers:
kozy, dgozman
CC:
v8-reviews_googlegroups.com, devtools-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Add getter properties to array entry previews Getter properties are not currently included in the protocol's Runtime.ObjectPreview. DevTools currently shows getter properties when evaluating arrays in the console, and this CL brings them into the preview generated for RemoteObjects. Corresponding DevTools CL: https://codereview.chromium.org/2521513006/ BUG=666882 Committed: https://crrev.com/80bcbccc676700b7ef66bac1ee581621b6889b04 Cr-Commit-Position: refs/heads/master@{#41565}

Patch Set 1 #

Patch Set 2 : add test #

Patch Set 3 : Remove inherited props, have getters for all #

Patch Set 4 : just getters #

Total comments: 4

Patch Set 5 : ac #

Patch Set 6 : ac #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -2 lines) Patch
M src/inspector/injected-script-source.js View 1 2 3 4 5 6 1 chunk +5 lines, -2 lines 0 comments Download
A test/inspector/runtime/evaluate-with-generate-preview.js View 1 2 3 4 1 chunk +54 lines, -0 lines 0 comments Download
A test/inspector/runtime/evaluate-with-generate-preview-expected.txt View 1 2 3 4 5 6 1 chunk +57 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 26 (17 generated)
luoe
This should land after this CL, in which DevTools shows getter array entries. https://codereview.chromium.org/2514893004/
4 years, 1 month ago (2016-11-18 22:42:57 UTC) #3
luoe
Please take a look
4 years, 1 month ago (2016-11-18 22:43:10 UTC) #4
luoe
I've reopened this issue, which has a corresponding front end change in DevTools: https://codereview.chromium.org/2521513006/ Once ...
4 years ago (2016-11-22 22:23:30 UTC) #10
dgozman
lgtm https://codereview.chromium.org/2508423002/diff/60001/src/inspector/injected-script-source.js File src/inspector/injected-script-source.js (right): https://codereview.chromium.org/2508423002/diff/60001/src/inspector/injected-script-source.js#newcode944 src/inspector/injected-script-source.js:944: // Ignore computed properties unless they are getters. ...
4 years ago (2016-11-24 00:33:32 UTC) #12
luoe
https://codereview.chromium.org/2508423002/diff/60001/src/inspector/injected-script-source.js File src/inspector/injected-script-source.js (right): https://codereview.chromium.org/2508423002/diff/60001/src/inspector/injected-script-source.js#newcode944 src/inspector/injected-script-source.js:944: // Ignore computed properties unless they are getters. On ...
4 years ago (2016-12-02 00:14:33 UTC) #13
kozy
lgtm
4 years ago (2016-12-06 02:05:40 UTC) #14
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/2508423002/120001
4 years ago (2016-12-07 22:29:26 UTC) #21
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years ago (2016-12-07 22:31:29 UTC) #24
commit-bot: I haz the power
4 years ago (2016-12-07 22:31:45 UTC) #26
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/80bcbccc676700b7ef66bac1ee581621b6889b04
Cr-Commit-Position: refs/heads/master@{#41565}

Powered by Google App Engine
This is Rietveld 408576698