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

Issue 2384533002: [DevTools] Better label for async function call stacks (Closed)

Created:
4 years, 2 months ago by kozy
Modified:
4 years, 2 months ago
Reviewers:
dgozman, Dan Ehrenberg
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] Better label for async function call stacks Async call stack with async function always contains (async function) label and async function as top frame for following stack. We can merge label with this frame for better user experience. R=dgozman@chromium.org,littledan@chromium.org BUG=654018, 621515 Committed: https://crrev.com/7534dfcb230327db0a378dd57413d8886ac924d3 Cr-Commit-Position: refs/heads/master@{#426960}

Patch Set 1 #

Patch Set 2 : addressed comments #

Patch Set 3 : rebased #

Total comments: 4

Patch Set 4 : addressed comments #

Patch Set 5 : a #

Total comments: 2

Patch Set 6 : addressed comments #

Total comments: 2

Patch Set 7 : addressed comments #

Patch Set 8 : rebased tests and removed virtual test suite #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -44 lines) Patch
M third_party/WebKit/LayoutTests/SlowTests View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/VirtualTestSuites View 1 2 3 4 5 6 7 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-await/async-callstack-async-await1-expected.txt View 1 2 3 4 5 6 7 3 chunks +3 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-await/async-callstack-async-await2-expected.txt View 1 2 3 4 5 6 7 6 chunks +6 lines, -12 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-await/async-callstack-async-await3-expected.txt View 1 2 3 4 5 6 7 5 chunks +5 lines, -10 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-async-function.html View 4 1 chunk +49 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-async-function-expected.txt View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/virtual/asyncawait/README.txt View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/virtual/asyncawait/inspector/sources/debugger-async/async-await/README.txt View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js View 1 2 3 4 5 2 chunks +22 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js View 1 2 3 4 5 6 1 chunk +12 lines, -1 line 0 comments Download

Messages

Total messages: 27 (9 generated)
kozy
Please take a look. Screenshots: before: https://drive.google.com/file/d/0B7RLEApsOKBLNmJNUUJVeGFGZzA/view?usp=sharing after: https://drive.google.com/file/d/0B7RLEApsOKBLUnJyMko1Q2dtd1U/view?usp=sharing
4 years, 2 months ago (2016-09-29 16:24:52 UTC) #1
dgozman
Why there is an async hop from (anonymous) to testFunction on the second screenshot? Also, ...
4 years, 2 months ago (2016-09-29 16:57:37 UTC) #2
kozy
I changed label into foo awaits boo. It works good as long as user doesn't ...
4 years, 2 months ago (2016-09-29 18:03:07 UTC) #3
Dan Ehrenberg
lgtm I like this change. Any chance we can get it into 55, so users ...
4 years, 2 months ago (2016-10-19 14:04:18 UTC) #4
kozy
Removed async suffix: https://drive.google.com/file/d/0B7RLEApsOKBLRUxmaHh1VDJDdXc/view?usp=sharing Dmitry, please take a look!
4 years, 2 months ago (2016-10-20 01:15:07 UTC) #5
dgozman
https://codereview.chromium.org/2384533002/diff/40001/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-async-function-expected.txt File third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-async-function-expected.txt (right): https://codereview.chromium.org/2384533002/diff/40001/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-async-function-expected.txt#newcode9 third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-async-function-expected.txt:9: testFunction awaits boo awaits boo 2 times? https://codereview.chromium.org/2384533002/diff/40001/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js File ...
4 years, 2 months ago (2016-10-20 01:19:01 UTC) #6
kozy
all done. https://codereview.chromium.org/2384533002/diff/40001/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-async-function-expected.txt File third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-async-function-expected.txt (right): https://codereview.chromium.org/2384533002/diff/40001/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-async-function-expected.txt#newcode9 third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/async-call-stack-async-function-expected.txt:9: testFunction awaits boo On 2016/10/20 01:19:01, dgozman ...
4 years, 2 months ago (2016-10-20 01:39:33 UTC) #7
kozy
Please take another look. Screenshot: https://drive.google.com/corp/drive/u/1/my-drive There is one left problem in case when user ...
4 years, 2 months ago (2016-10-20 20:54:48 UTC) #8
kozy
Screenshot is uploaded to issue: crbug.com/654018 Please take a look!
4 years, 2 months ago (2016-10-20 21:20:01 UTC) #10
dgozman
https://codereview.chromium.org/2384533002/diff/80001/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js File third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js (right): https://codereview.chromium.org/2384533002/diff/80001/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js#newcode88 third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js:88: var redundantFrame = asyncStackTrace.callFrames.shift(); Let's move model mutation to ...
4 years, 2 months ago (2016-10-20 21:37:08 UTC) #11
kozy
all done, please take a look. https://codereview.chromium.org/2384533002/diff/80001/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js File third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js (right): https://codereview.chromium.org/2384533002/diff/80001/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js#newcode88 third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js:88: var redundantFrame = ...
4 years, 2 months ago (2016-10-20 22:21:08 UTC) #12
dgozman
lgtm https://codereview.chromium.org/2384533002/diff/100001/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js File third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js (right): https://codereview.chromium.org/2384533002/diff/100001/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js#newcode88 third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js:88: var redundantFrame = peviousStackTrace[peviousStackTrace.length - 1]; It's not ...
4 years, 2 months ago (2016-10-21 19:03:35 UTC) #13
kozy
all done! thanks! https://codereview.chromium.org/2384533002/diff/100001/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js File third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js (right): https://codereview.chromium.org/2384533002/diff/100001/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js#newcode88 third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js:88: var redundantFrame = peviousStackTrace[peviousStackTrace.length - 1]; ...
4 years, 2 months ago (2016-10-21 19:30:59 UTC) #14
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/2384533002/120001
4 years, 2 months ago (2016-10-21 19:31:53 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/321613)
4 years, 2 months ago (2016-10-21 21:34:57 UTC) #19
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/2384533002/140001
4 years, 2 months ago (2016-10-22 00:20:50 UTC) #23
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 2 months ago (2016-10-22 03:05:27 UTC) #25
commit-bot: I haz the power
4 years, 2 months ago (2016-10-22 03:07:42 UTC) #27
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/7534dfcb230327db0a378dd57413d8886ac924d3
Cr-Commit-Position: refs/heads/master@{#426960}

Powered by Google App Engine
This is Rietveld 408576698