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

Issue 320933003: DevTools: Expand protocol to allow setting DOM event breakpoints on a given event target. (Closed)

Created:
6 years, 6 months ago by aandrey
Modified:
6 years, 6 months ago
Reviewers:
pfeldman, yurys
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, malch+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, sergeyv+blink_chromium.org, aandrey+blink_chromium.org
Visibility:
Public.

Description

DevTools: Expand protocol to allow setting DOM event breakpoints on a given event target. This will allow debugger to pause on "load", "error" and etc. event breakpoints only when they happen on XHR event targets. BUG=381470 R=yurys, pfeldman@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175882 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175964

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : rebased #

Patch Set 4 : skip test on mac 10.6 dbg #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -40 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/http/tests/inspector/debugger-test.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/inspector/sources/debugger/event-listener-breakpoints.html View 3 chunks +57 lines, -2 lines 0 comments Download
M LayoutTests/inspector/sources/debugger/event-listener-breakpoints-expected.txt View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorDOMDebuggerAgent.h View 3 chunks +5 lines, -5 lines 0 comments Download
M Source/core/inspector/InspectorDOMDebuggerAgent.cpp View 8 chunks +60 lines, -30 lines 0 comments Download
M Source/devtools/protocol.json View 1 2 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
aandrey
6 years, 6 months ago (2014-06-09 16:11:22 UTC) #1
yurys
lgtm https://codereview.chromium.org/320933003/diff/20001/Source/core/inspector/InspectorDOMDebuggerAgent.cpp File Source/core/inspector/InspectorDOMDebuggerAgent.cpp (right): https://codereview.chromium.org/320933003/diff/20001/Source/core/inspector/InspectorDOMDebuggerAgent.cpp#newcode214 Source/core/inspector/InspectorDOMDebuggerAgent.cpp:214: breakpointsByTarget->remove(DOMDebuggerAgentState::eventTargetAny); It might make sense to remove all ...
6 years, 6 months ago (2014-06-10 08:49:53 UTC) #2
aandrey
https://codereview.chromium.org/320933003/diff/20001/Source/core/inspector/InspectorDOMDebuggerAgent.cpp File Source/core/inspector/InspectorDOMDebuggerAgent.cpp (right): https://codereview.chromium.org/320933003/diff/20001/Source/core/inspector/InspectorDOMDebuggerAgent.cpp#newcode214 Source/core/inspector/InspectorDOMDebuggerAgent.cpp:214: breakpointsByTarget->remove(DOMDebuggerAgentState::eventTargetAny); On 2014/06/10 08:49:53, yurys wrote: > It might ...
6 years, 6 months ago (2014-06-10 09:14:38 UTC) #3
aandrey
The CQ bit was checked by aandrey@chromium.org
6 years, 6 months ago (2014-06-10 09:14:42 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aandrey@chromium.org/320933003/20001
6 years, 6 months ago (2014-06-10 09:15:19 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-10 09:15:25 UTC) #6
commit-bot: I haz the power
Failed to apply patch for LayoutTests/inspector/sources/debugger/event-listener-breakpoints-expected.txt: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-10 09:15:26 UTC) #7
aandrey
The CQ bit was checked by aandrey@chromium.org
6 years, 6 months ago (2014-06-10 09:48:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aandrey@chromium.org/320933003/40001
6 years, 6 months ago (2014-06-10 09:49:02 UTC) #9
commit-bot: I haz the power
Change committed as 175882
6 years, 6 months ago (2014-06-10 10:58:35 UTC) #10
dcheng
A revert of this CL has been created in https://codereview.chromium.org/322893006/ by dcheng@chromium.org. The reason for ...
6 years, 6 months ago (2014-06-10 18:28:47 UTC) #11
aandrey
The CQ bit was checked by aandrey@chromium.org
6 years, 6 months ago (2014-06-11 12:41:28 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aandrey@chromium.org/320933003/60001
6 years, 6 months ago (2014-06-11 12:41:39 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-11 13:44:48 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-11 13:44:58 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/16188)
6 years, 6 months ago (2014-06-11 13:44:59 UTC) #16
aandrey
The CQ bit was checked by aandrey@chromium.org
6 years, 6 months ago (2014-06-11 15:00:19 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aandrey@chromium.org/320933003/60001
6 years, 6 months ago (2014-06-11 15:01:08 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 6 months ago (2014-06-11 15:01:25 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-11 15:01:35 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/16203)
6 years, 6 months ago (2014-06-11 15:01:36 UTC) #21
aandrey
The CQ bit was checked by aandrey@chromium.org
6 years, 6 months ago (2014-06-11 16:13:14 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aandrey@chromium.org/320933003/60001
6 years, 6 months ago (2014-06-11 16:14:27 UTC) #23
commit-bot: I haz the power
6 years, 6 months ago (2014-06-11 16:14:52 UTC) #24
Message was sent while issue was closed.
Change committed as 175964

Powered by Google App Engine
This is Rietveld 408576698