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

Issue 2369243004: [DevTools] Improved function preview everywhere (Closed)

Created:
4 years, 2 months ago by kozy
Modified:
4 years, 2 months ago
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, pfeldman
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Improved function preview everywhere async function, function* and regular function is supported: - in console.log; - in console.dir; - in object popover on pause; - as property of object. BUG=650160 R=dgozman@chromium.org,lushnikov@chromium.org Committed: https://crrev.com/79415b9b7d748af97fc062e9623e5130f1e38db7 Cr-Commit-Position: refs/heads/master@{#421655}

Patch Set 1 #

Patch Set 2 : better approach #

Patch Set 3 : extracted regexp! #

Total comments: 6

Patch Set 4 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -32 lines) Patch
M third_party/WebKit/LayoutTests/inspector/console/console-dir-expected.txt View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-format-expected.txt View 1 6 chunks +16 lines, -16 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/console/console-functions.html View 1 1 chunk +44 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/console/console-functions-expected.txt View 1 1 chunk +51 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-native-function-expected.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-save-to-temp-var-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/debugger-save-to-temp-var-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/show-function-definition-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger/properties-special-expected.txt View 1 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js View 1 2 3 5 chunks +13 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/objectValue.css View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
kozy
Andrey, please take a look!
4 years, 2 months ago (2016-09-28 02:05:08 UTC) #3
Dan Ehrenberg
https://codereview.chromium.org/2369243004/diff/40001/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/2369243004/diff/40001/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js#newcode1054 third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js:1054: WebInspector.ObjectPropertiesSection._functionPrefixSource = "^(?:async\\s)?function\\*?\\s"; Does this path have to handle ...
4 years, 2 months ago (2016-09-28 07:20:21 UTC) #6
kozy
https://codereview.chromium.org/2369243004/diff/40001/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/2369243004/diff/40001/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js#newcode1054 third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js:1054: WebInspector.ObjectPropertiesSection._functionPrefixSource = "^(?:async\\s)?function\\*?\\s"; On 2016/09/28 07:20:21, Dan Ehrenberg wrote: ...
4 years, 2 months ago (2016-09-28 15:32:46 UTC) #7
lushnikov
lgtm https://codereview.chromium.org/2369243004/diff/40001/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/2369243004/diff/40001/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js#newcode1054 third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js:1054: WebInspector.ObjectPropertiesSection._functionPrefixSource = "^(?:async\\s)?function\\*?\\s"; You can avoid double-escaping by ...
4 years, 2 months ago (2016-09-28 18:53:19 UTC) #8
kozy
all done! thanks! https://codereview.chromium.org/2369243004/diff/40001/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/2369243004/diff/40001/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js#newcode1054 third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js:1054: WebInspector.ObjectPropertiesSection._functionPrefixSource = "^(?:async\\s)?function\\*?\\s"; On 2016/09/28 18:53:19, ...
4 years, 2 months ago (2016-09-28 19:42:03 UTC) #9
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/2369243004/60001
4 years, 2 months ago (2016-09-28 19:42:46 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-09-28 22:11:47 UTC) #14
commit-bot: I haz the power
4 years, 2 months ago (2016-09-28 22:13:14 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/79415b9b7d748af97fc062e9623e5130f1e38db7
Cr-Commit-Position: refs/heads/master@{#421655}

Powered by Google App Engine
This is Rietveld 408576698