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

Issue 2147343002: DevTools: cleanup treeoutline expand logic (Closed)

Created:
4 years, 5 months ago by luoe
Modified:
4 years, 5 months 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, sergeyv+blink_chromium.org, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: cleanup treeoutline expand logic TreeElement.expand() should not need to check that the element has children and TreeOutline.insertChild() should not automatically expand a child when it is inserted. ObjectPropertiesSection.js depended on this logic to automatically expand the Entries property. This CL updates it so that the Entries property is added before expanded. BUG= Committed: https://crrev.com/cf5b729f072ba670c7b9966407fb3d47eb2169e7 Cr-Commit-Position: refs/heads/master@{#407061}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -7 lines) Patch
M third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js View 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js View 2 chunks +1 line, -3 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
luoe
4 years, 5 months ago (2016-07-19 19:19:43 UTC) #3
lushnikov
lgtm, thanks!
4 years, 5 months ago (2016-07-20 17:05:00 UTC) #5
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/2147343002/1
4 years, 5 months ago (2016-07-22 03:02:16 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-22 04:36:48 UTC) #13
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/cf5b729f072ba670c7b9966407fb3d47eb2169e7 Cr-Commit-Position: refs/heads/master@{#407061}
4 years, 5 months ago (2016-07-22 04:38:29 UTC) #15
allada
4 years, 4 months ago (2016-07-25 21:33:47 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2179783003/ by allada@chromium.org.

The reason for reverting is: [Devtools] Broke header tabs in network tab

B=630971.

Powered by Google App Engine
This is Rietveld 408576698