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

Issue 2723773003: DevTools: restore array lengths for long arrays (Closed)

Created:
3 years, 9 months ago by luoe
Modified:
3 years, 9 months ago
Reviewers:
dgozman, lushnikov
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: restore array lengths for long arrays After merging the two array formats, all arrays printed in the console had no length visible in the description. This CL takes array length hints out from the 'Object previews' experiment to address the regression. BUG=697155 Review-Url: https://codereview.chromium.org/2723773003 Cr-Commit-Position: refs/heads/master@{#454061} Committed: https://chromium.googlesource.com/chromium/src/+/eecc13e01b6a45274c7f18cc2aa4ea83f69eb8c5

Patch Set 1 #

Total comments: 6

Patch Set 2 : ac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -119 lines) Patch
M third_party/WebKit/LayoutTests/inspector/console/console-dirxml-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-format-array-prototype-expected.txt View 1 chunk +16 lines, -16 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-format-collections-expected.txt View 1 chunk +10 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-format-expected.txt View 9 chunks +12 lines, -12 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-log-object-with-getter-expected.txt View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-object-preview-expected.txt View 1 chunk +36 lines, -36 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-proxy-expected.txt View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-save-to-temp-var-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-tainted-globals-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/debugger-inline-values-expected.txt View 6 chunks +14 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/debugger-save-to-temp-var-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/inline-scope-variables-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/object_ui/RemoteObjectPreviewFormatter.js View 1 1 chunk +11 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/object_ui/objectValue.css View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (9 generated)
luoe
Please take a look!
3 years, 9 months ago (2017-02-28 20:38:30 UTC) #3
lushnikov
https://codereview.chromium.org/2723773003/diff/1/third_party/WebKit/Source/devtools/front_end/object_ui/RemoteObjectPreviewFormatter.js File third_party/WebKit/Source/devtools/front_end/object_ui/RemoteObjectPreviewFormatter.js (right): https://codereview.chromium.org/2723773003/diff/1/third_party/WebKit/Source/devtools/front_end/object_ui/RemoteObjectPreviewFormatter.js#newcode35 third_party/WebKit/Source/devtools/front_end/object_ui/RemoteObjectPreviewFormatter.js:35: const size = SDK.RemoteObject.arrayLength(preview) || SDK.RemoteObject.mapOrSetEntriesCount(preview); value of mapOrSetEntriesCount ...
3 years, 9 months ago (2017-02-28 22:21:08 UTC) #4
luoe
ptal https://codereview.chromium.org/2723773003/diff/1/third_party/WebKit/Source/devtools/front_end/object_ui/RemoteObjectPreviewFormatter.js File third_party/WebKit/Source/devtools/front_end/object_ui/RemoteObjectPreviewFormatter.js (right): https://codereview.chromium.org/2723773003/diff/1/third_party/WebKit/Source/devtools/front_end/object_ui/RemoteObjectPreviewFormatter.js#newcode35 third_party/WebKit/Source/devtools/front_end/object_ui/RemoteObjectPreviewFormatter.js:35: const size = SDK.RemoteObject.arrayLength(preview) || SDK.RemoteObject.mapOrSetEntriesCount(preview); On 2017/02/28 ...
3 years, 9 months ago (2017-02-28 22:32:57 UTC) #5
dgozman
lgtm
3 years, 9 months ago (2017-03-01 19:57:19 UTC) #6
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/2723773003/20001
3 years, 9 months ago (2017-03-01 21:49:54 UTC) #12
commit-bot: I haz the power
3 years, 9 months ago (2017-03-01 22:12:24 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/eecc13e01b6a45274c7f18cc2aa4...

Powered by Google App Engine
This is Rietveld 408576698