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

Issue 2521853003: Re-land of Use parenthesis in descriptions for array/map/set lengths/sizes (Closed)

Created:
4 years 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

Re-land of Use parenthesis in descriptions for array/map/set lengths/sizes Descriptions for (typed)arrays will use parenthesis instead of square brackets "Array(10)" instead of "Array[10]". This CL also adds size hints to descriptions of maps and sets. Related CL for DevTools: https://codereview.chromium.org/2524913002/ BUG=405845 Committed: https://crrev.com/92c77a57390e6a9ef726535b255a24359751992d Committed: https://crrev.com/2c1fb7a8211f59e7378274cd6e12d64ca23488ca Cr-Original-Commit-Position: refs/heads/master@{#41237} Cr-Commit-Position: refs/heads/master@{#41442}

Patch Set 1 #

Total comments: 4

Patch Set 2 : ac #

Total comments: 2

Patch Set 3 : ac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -9 lines) Patch
M src/inspector/injected-script-source.js View 1 1 chunk +7 lines, -1 line 0 comments Download
M test/inspector/debugger/object-preview-internal-properties-expected.txt View 3 chunks +5 lines, -4 lines 0 comments Download
A test/inspector/runtime/length-or-size-description.js View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
A test/inspector/runtime/length-or-size-description-expected.txt View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M test/inspector/runtime/set-or-map-entries-expected.txt View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 43 (30 generated)
luoe
This change is also described in section B3 on array hints in the doc linked ...
4 years ago (2016-11-22 23:50:01 UTC) #4
kozy
Could you add test for set and map? https://codereview.chromium.org/2521853003/diff/1/src/inspector/injected-script-source.js File src/inspector/injected-script-source.js (right): https://codereview.chromium.org/2521853003/diff/1/src/inspector/injected-script-source.js#newcode632 src/inspector/injected-script-source.js:632: className ...
4 years ago (2016-11-23 01:04:39 UTC) #5
luoe
Test added "length-or-size-description.js" https://codereview.chromium.org/2521853003/diff/1/src/inspector/injected-script-source.js File src/inspector/injected-script-source.js (right): https://codereview.chromium.org/2521853003/diff/1/src/inspector/injected-script-source.js#newcode632 src/inspector/injected-script-source.js:632: className += "(" + obj.length + ...
4 years ago (2016-11-23 18:36:25 UTC) #6
kozy
lgtm https://codereview.chromium.org/2521853003/diff/20001/test/inspector/runtime/length-or-size-description.js File test/inspector/runtime/length-or-size-description.js (right): https://codereview.chromium.org/2521853003/diff/20001/test/inspector/runtime/length-or-size-description.js#newcode7 test/inspector/runtime/length-or-size-description.js:7: testExpression("new Set()") V8 run microtasks in the scheduled ...
4 years ago (2016-11-23 18:49:10 UTC) #7
luoe
https://codereview.chromium.org/2521853003/diff/20001/test/inspector/runtime/length-or-size-description.js File test/inspector/runtime/length-or-size-description.js (right): https://codereview.chromium.org/2521853003/diff/20001/test/inspector/runtime/length-or-size-description.js#newcode7 test/inspector/runtime/length-or-size-description.js:7: testExpression("new Set()") On 2016/11/23 18:49:10, kozyatinskiy wrote: > V8 ...
4 years ago (2016-11-23 19:23:32 UTC) #8
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/2521853003/40001
4 years ago (2016-11-24 01:08:47 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-24 01:11:09 UTC) #24
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/92c77a57390e6a9ef726535b255a24359751992d Cr-Commit-Position: refs/heads/master@{#41237}
4 years ago (2016-11-24 01:11:30 UTC) #26
Michael Achenbach
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2530803002/ by machenbach@chromium.org. ...
4 years ago (2016-11-24 07:21:47 UTC) #27
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/2521853003/40001
4 years ago (2016-12-02 01:24:30 UTC) #37
luoe
On 2016/11/24 07:21:47, Michael Achenbach wrote: > A revert of this CL (patchset #3 id:40001) ...
4 years ago (2016-12-02 01:26:26 UTC) #39
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-02 01:26:33 UTC) #41
commit-bot: I haz the power
4 years ago (2016-12-02 01:26:52 UTC) #43
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2c1fb7a8211f59e7378274cd6e12d64ca23488ca
Cr-Commit-Position: refs/heads/master@{#41442}

Powered by Google App Engine
This is Rietveld 408576698