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

Issue 1978323002: DevTools: reveal object path in console tooltip (Closed)

Created:
4 years, 7 months ago by luoe
Modified:
4 years, 7 months ago
Reviewers:
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, 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: reveal object path in console tooltip BUG=607691 Committed: https://crrev.com/552f0cca1e282832f21f591d503be714eb237911 Cr-Commit-Position: refs/heads/master@{#394801}

Patch Set 1 #

Patch Set 2 : Always bracket notation #

Patch Set 3 : Use regexes for approximate cases #

Patch Set 4 : Removed console logs #

Total comments: 9

Patch Set 5 : Address comments in patch 4 #

Total comments: 6

Patch Set 6 : Address patch 5 comments #

Patch Set 7 : Move option to bottom of list #

Patch Set 8 : Remove uiutils and rebase #

Total comments: 3

Patch Set 9 : Add beforeShow #

Total comments: 4

Patch Set 10 : Address comments in patch 9 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -8 lines) Patch
M third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js View 1 2 3 4 5 6 7 8 9 2 chunks +32 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/ContextMenu.js View 1 2 3 4 5 6 7 8 9 3 chunks +15 lines, -3 lines 0 comments Download

Messages

Total messages: 28 (10 generated)
luoe
4 years, 7 months ago (2016-05-17 01:20:04 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1978323002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1978323002/60001
4 years, 7 months ago (2016-05-17 01:21:40 UTC) #5
dgozman
https://codereview.chromium.org/1978323002/diff/60001/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js File third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js (right): https://codereview.chromium.org/1978323002/diff/60001/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js#newcode330 third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js:330: if (this.title) Why this check? https://codereview.chromium.org/1978323002/diff/60001/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js#newcode336 third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js:336: var parentPath ...
4 years, 7 months ago (2016-05-17 02:09:51 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/222821)
4 years, 7 months ago (2016-05-17 06:19:37 UTC) #8
luoe
https://codereview.chromium.org/1978323002/diff/60001/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js File third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js (right): https://codereview.chromium.org/1978323002/diff/60001/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js#newcode330 third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js:330: if (this.title) On 2016/05/17 02:09:50, dgozman wrote: > Why ...
4 years, 7 months ago (2016-05-18 00:16:24 UTC) #9
dgozman
https://codereview.chromium.org/1978323002/diff/80001/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js File third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js (right): https://codereview.chromium.org/1978323002/diff/80001/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js#newcode347 third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js:347: _nameContextMenuFired: function(property, event) Did you preserve "Store as Global ...
4 years, 7 months ago (2016-05-18 00:46:15 UTC) #10
luoe
https://codereview.chromium.org/1978323002/diff/80001/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js File third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js (right): https://codereview.chromium.org/1978323002/diff/80001/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js#newcode347 third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js:347: _nameContextMenuFired: function(property, event) On 2016/05/18 00:46:14, dgozman wrote: > ...
4 years, 7 months ago (2016-05-18 21:15:48 UTC) #11
luoe
Okay, Copy property path is on the bottom now. At first, I was trying to ...
4 years, 7 months ago (2016-05-18 22:35:29 UTC) #12
dgozman
Almost there! https://codereview.chromium.org/1978323002/diff/140001/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js File third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js (right): https://codereview.chromium.org/1978323002/diff/140001/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js#newcode354 third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js:354: contextMenu.show(function() { We disallow anonymous functions except ...
4 years, 7 months ago (2016-05-18 23:05:31 UTC) #13
luoe
Comments addressed?
4 years, 7 months ago (2016-05-18 23:39:09 UTC) #14
dgozman
lgtm https://codereview.chromium.org/1978323002/diff/160001/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js File third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js (right): https://codereview.chromium.org/1978323002/diff/160001/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js#newcode354 third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js:354: contextMenu.beforeShow(() => { nit: make it a one-liner. ...
4 years, 7 months ago (2016-05-18 23:56:32 UTC) #15
luoe
https://codereview.chromium.org/1978323002/diff/140001/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js File third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js (right): https://codereview.chromium.org/1978323002/diff/140001/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js#newcode354 third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js:354: contextMenu.show(function() { On 2016/05/18 23:05:31, dgozman wrote: > We ...
4 years, 7 months ago (2016-05-19 00:04:58 UTC) #16
dgozman
> I made it a one liner, but the line was super long so I ...
4 years, 7 months ago (2016-05-19 00:12:52 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1978323002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1978323002/180001
4 years, 7 months ago (2016-05-19 00:14:28 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-19 04:39:11 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1978323002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1978323002/180001
4 years, 7 months ago (2016-05-19 17:01:28 UTC) #24
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 7 months ago (2016-05-19 17:06:24 UTC) #26
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 17:07:36 UTC) #28
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/552f0cca1e282832f21f591d503be714eb237911
Cr-Commit-Position: refs/heads/master@{#394801}

Powered by Google App Engine
This is Rietveld 408576698