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

Issue 2521513006: DevTools: allow array previews to show static array getters (Closed)

Created:
4 years, 1 month ago by luoe
Modified:
4 years ago
Reviewers:
kozy, dgozman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: allow array previews to show static array getters This CL introduces the ability for the latter to properly render getter properties when they are provided. Objects will continue to exclude show getter properties in their preview, as is today. By this change, ConsoleViewMessage's printArrayResult will no longer depend on property descriptors, bringing us closer to moving all preview logic into RemoteObjectPreviewFormatter. Corresponding V8 CL: https://codereview.chromium.org/2508423002/ BUG=666882 Committed: https://crrev.com/644d46fd466d1d893ea6cc6b042a30bce66f3c98 Cr-Commit-Position: refs/heads/master@{#436797}

Patch Set 1 #

Total comments: 3

Patch Set 2 : rebase #

Patch Set 3 : ac #

Patch Set 4 : Punt needsManualRebaseline for later #

Patch Set 5 : Rebaseline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -5 lines) Patch
M third_party/WebKit/LayoutTests/inspector/console/console-log-object-with-getter.html View 2 chunks +12 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-log-object-with-getter-expected.txt View 1 2 3 4 1 chunk +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js View 1 2 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 32 (23 generated)
luoe
Please take a look. There is a corresponding CL that will include getter properties in ...
4 years, 1 month ago (2016-11-22 22:21:55 UTC) #6
dgozman
https://codereview.chromium.org/2521513006/diff/1/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js File third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js (right): https://codereview.chromium.org/2521513006/diff/1/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js#newcode151 third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js:151: span.textContent = '(...)'; Let's make this clickable when we ...
4 years ago (2016-11-24 00:38:50 UTC) #8
luoe
After talking with chowse@ and kozyatinskiy@, we can leave this as '(...)', and strive to ...
4 years ago (2016-12-03 02:01:08 UTC) #9
dgozman
lgtm https://codereview.chromium.org/2521513006/diff/1/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js File third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js (right): https://codereview.chromium.org/2521513006/diff/1/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js#newcode151 third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js:151: span.textContent = '(...)'; On 2016/11/24 00:38:49, dgozman wrote: ...
4 years ago (2016-12-05 23:16:51 UTC) #10
luoe
Thank you for the review https://codereview.chromium.org/2521513006/diff/1/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js File third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js (right): https://codereview.chromium.org/2521513006/diff/1/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js#newcode151 third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js:151: span.textContent = '(...)'; Added ...
4 years ago (2016-12-06 01:30:44 UTC) #11
kozy
lgtm
4 years ago (2016-12-06 02:05:13 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/2521513006/80001
4 years ago (2016-12-07 00:36:41 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-07 00:53:38 UTC) #30
commit-bot: I haz the power
4 years ago (2016-12-07 00:56:43 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/644d46fd466d1d893ea6cc6b042a30bce66f3c98
Cr-Commit-Position: refs/heads/master@{#436797}

Powered by Google App Engine
This is Rietveld 408576698