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

Issue 2527773002: DevTools: separate array formatter from object formatter (Closed)

Created:
4 years ago by luoe
Modified:
4 years ago
Reviewers:
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: separate array formatter from object formatter No visual or functional changes are presented in this CL. It separates the _appendArrayPropertiesPreview() to prepare for moving array formatting logic from printArrayResult(). The logic in printArrayResult() cannot be moved there yet because it does not make use of the ObjectPreview, but it will do so in a different CL. BUG=666882 Committed: https://crrev.com/339d1441a7f5c27e48047e825384b734e26790c4 Cr-Commit-Position: refs/heads/master@{#435814}

Patch Set 1 #

Total comments: 4

Patch Set 2 : ac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -25 lines) Patch
M third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js View 1 6 chunks +45 lines, -25 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
luoe
Please take a look at this refactoring change.
4 years ago (2016-11-23 22:37:36 UTC) #4
lushnikov
lgtm https://codereview.chromium.org/2527773002/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/2527773002/diff/1/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js#newcode51 third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js:51: _appendPropertiesPreview(parentElement, preview) { _appendObjectPropertiesPreview https://codereview.chromium.org/2527773002/diff/1/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js#newcode147 third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js:147: result.createTextChild(needsQuotes ? ...
4 years ago (2016-11-23 23:56:40 UTC) #5
luoe
https://codereview.chromium.org/2527773002/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/2527773002/diff/1/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js#newcode51 third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js:51: _appendPropertiesPreview(parentElement, preview) { On 2016/11/23 23:56:39, lushnikov wrote: > ...
4 years ago (2016-12-01 23:38:24 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/2527773002/20001
4 years ago (2016-12-02 01:35:30 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-02 01:41:36 UTC) #16
commit-bot: I haz the power
4 years ago (2016-12-02 01:44:32 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/339d1441a7f5c27e48047e825384b734e26790c4
Cr-Commit-Position: refs/heads/master@{#435814}

Powered by Google App Engine
This is Rietveld 408576698