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

Issue 2873713002: [DevTools] added creation stack for event listeners without scheduled stack

Created:
3 years, 7 months ago by kozy
Modified:
3 years, 5 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, kozyatinskiy+blink_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] added creation stack for event listeners without scheduled stack BUG=v8:6189 R=dgozman@chromium.org

Patch Set 1 #

Total comments: 1

Patch Set 2 : added creation only when there is no scheduled #

Patch Set 3 : added a test #

Total comments: 6

Patch Set 4 : ac #

Patch Set 5 : fixed test #

Patch Set 6 : better #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -9 lines) Patch
A third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/async-callstack-onload.html View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/async-callstack-onload-expected.txt View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-uncaught-exception-expected.txt View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-uncaught-promise-in-worker-expected.txt View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/EventTarget.cpp View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/ThreadDebugger.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp View 1 2 3 1 chunk +10 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/probe/CoreProbes.h View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/probe/CoreProbes.cpp View 1 2 3 2 chunks +9 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
kozy
Dmitry, please take a look. https://codereview.chromium.org/2873713002/diff/1/third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-callstack-events-expected.txt File third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-callstack-events-expected.txt (right): https://codereview.chromium.org/2873713002/diff/1/third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-callstack-events-expected.txt#newcode26 third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-callstack-events-expected.txt:26: 0) doTestSelectionChange (async-callstack-events.html:30) We ...
3 years, 7 months ago (2017-05-09 18:09:39 UTC) #1
kozy
Dmitry, please take another look!
3 years, 7 months ago (2017-05-10 00:41:34 UTC) #3
dgozman
Let's also remove unneeded instrumentation in this patch. https://codereview.chromium.org/2873713002/diff/40001/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp File third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp (right): https://codereview.chromium.org/2873713002/diff/40001/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp#newcode64 third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp:64: probe::AsyncTaskScheduled(CurrentExecutionContext(isolate), ...
3 years, 7 months ago (2017-05-10 18:36:30 UTC) #4
kozy
all done, please take a look. https://codereview.chromium.org/2873713002/diff/40001/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp File third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp (right): https://codereview.chromium.org/2873713002/diff/40001/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp#newcode64 third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp:64: probe::AsyncTaskScheduled(CurrentExecutionContext(isolate), "Event Listener", ...
3 years, 7 months ago (2017-05-10 21:24:01 UTC) #5
kozy
Dmitry, please take another look.
3 years, 7 months ago (2017-05-17 20:10:15 UTC) #6
dgozman
3 years, 5 months ago (2017-07-15 05:54:30 UTC) #11
What's the plan here?

Powered by Google App Engine
This is Rietveld 408576698