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

Issue 2626283002: [inspector] introduced debug::SetCompileEventListener (Closed)

Created:
3 years, 11 months ago by kozy
Modified:
3 years, 11 months ago
CC:
devtools-reviews_chromium.org, v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[inspector] introduced debug::SetCompileEventListener Listener is called instead of event listener for v8::AfterCompile and v8::CompileError events if installed. - removed v8::debug::Script::Wrap. BUG=v8:5510 R=yangguo@chromium.org,jgruber@chromium.org,dgozman@chromium.org,clemensh@chromium.org, alph@chromium.org, Review-Url: https://codereview.chromium.org/2626283002 Cr-Commit-Position: refs/heads/master@{#42477} Committed: https://chromium.googlesource.com/v8/v8/+/b0577a3d3d0f64380b15643552e3ebfb9ed94a07

Patch Set 1 #

Patch Set 2 : rebased #

Total comments: 2

Patch Set 3 : extracted non_inspector_listener_exists #

Total comments: 2

Patch Set 4 : fixed condition #

Patch Set 5 : fixed debugger tests #

Total comments: 6

Patch Set 6 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -70 lines) Patch
M src/api.cc View 1 2 3 2 chunks +8 lines, -20 lines 0 comments Download
M src/debug/debug.h View 1 2 3 3 chunks +16 lines, -0 lines 0 comments Download
M src/debug/debug.cc View 1 2 3 4 5 4 chunks +17 lines, -14 lines 0 comments Download
M src/debug/debug-interface.h View 1 2 2 chunks +6 lines, -11 lines 0 comments Download
M src/inspector/v8-debugger.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/inspector/v8-debugger.cc View 1 2 3 4 5 5 chunks +28 lines, -25 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (19 generated)
kozy
Dmitry, please take a look on inspector part (at least on using script->context_data for getting ...
3 years, 11 months ago (2017-01-13 17:22:24 UTC) #3
Clemens Hammacher
src/wasm lgtm. thanks!
3 years, 11 months ago (2017-01-16 09:06:09 UTC) #4
jgruber
lgtm https://codereview.chromium.org/2626283002/diff/20001/src/debug/debug.cc File src/debug/debug.cc (right): https://codereview.chromium.org/2626283002/diff/20001/src/debug/debug.cc#newcode1982 src/debug/debug.cc:1982: message_handler_ != nullptr || Nit: Maybe it'd make ...
3 years, 11 months ago (2017-01-16 19:26:32 UTC) #5
kozy
Dmitry, please take a look. https://codereview.chromium.org/2626283002/diff/20001/src/debug/debug.cc File src/debug/debug.cc (right): https://codereview.chromium.org/2626283002/diff/20001/src/debug/debug.cc#newcode1982 src/debug/debug.cc:1982: message_handler_ != nullptr || ...
3 years, 11 months ago (2017-01-16 22:22:39 UTC) #8
Yang
https://codereview.chromium.org/2626283002/diff/40001/src/debug/debug.h File src/debug/debug.h (right): https://codereview.chromium.org/2626283002/diff/40001/src/debug/debug.h#newcode609 src/debug/debug.h:609: (event_listener_.is_null() && !event_listener_->IsForeign()); shouldn't this be !event_listener.is_null() instead?
3 years, 11 months ago (2017-01-17 12:48:34 UTC) #11
kozy
Fixed condition, but I'm still investigating into test/debugger/debug/debug-step-stub-callfunction.js failure on try bots. https://codereview.chromium.org/2626283002/diff/40001/src/debug/debug.h File src/debug/debug.h ...
3 years, 11 months ago (2017-01-17 16:11:54 UTC) #12
kozy
Fixed tests and left one comment for Jacob, please take a look. https://codereview.chromium.org/2626283002/diff/80001/src/debug/debug.cc File src/debug/debug.cc ...
3 years, 11 months ago (2017-01-17 17:14:09 UTC) #13
kozy
Alexei, please take a look on src/inspector changes.
3 years, 11 months ago (2017-01-17 21:30:47 UTC) #20
Yang
On 2017/01/17 21:30:47, kozyatinskiy wrote: > Alexei, please take a look on src/inspector changes. lgtm.
3 years, 11 months ago (2017-01-18 09:27:24 UTC) #21
jgruber
https://codereview.chromium.org/2626283002/diff/80001/src/debug/debug.cc File src/debug/debug.cc (right): https://codereview.chromium.org/2626283002/diff/80001/src/debug/debug.cc#newcode1969 src/debug/debug.cc:1969: SuppressDebug while_processing(this); On 2017/01/17 17:14:09, kozyatinskiy wrote: > test/debug ...
3 years, 11 months ago (2017-01-18 10:25:35 UTC) #22
jgruber
By the way, inspector tests on the blink side seem to be failing.
3 years, 11 months ago (2017-01-18 10:26:55 UTC) #23
Yang
https://codereview.chromium.org/2626283002/diff/80001/src/debug/debug.cc File src/debug/debug.cc (right): https://codereview.chromium.org/2626283002/diff/80001/src/debug/debug.cc#newcode1980 src/debug/debug.cc:1980: DebugScope debug_scope(this); I think we need to move the ...
3 years, 11 months ago (2017-01-18 11:41:08 UTC) #24
dgozman
inspector lgtm modulo comment https://codereview.chromium.org/2626283002/diff/80001/src/inspector/v8-debugger.cc File src/inspector/v8-debugger.cc (right): https://codereview.chromium.org/2626283002/diff/80001/src/inspector/v8-debugger.cc#newcode585 src/inspector/v8-debugger.cc:585: debugger->m_inspector->enabledDebuggerAgentForGroup(contextId); contextId is not a ...
3 years, 11 months ago (2017-01-18 18:18:29 UTC) #25
kozy
all done, issue with blink tests was related to using contextId instead of contextGroupId and ...
3 years, 11 months ago (2017-01-18 20:00:03 UTC) #28
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/2626283002/100001
3 years, 11 months ago (2017-01-18 20:00:37 UTC) #32
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 20:16:38 UTC) #35
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/v8/v8/+/b0577a3d3d0f64380b15643552e3ebfb9ed...

Powered by Google App Engine
This is Rietveld 408576698