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

Unified Diff: Source/devtools/protocol.json

Issue 320933003: DevTools: Expand protocol to allow setting DOM event breakpoints on a given event target. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: skip test on mac 10.6 dbg Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/inspector/InspectorDOMDebuggerAgent.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index 1fc2a2c329da2b9a546bbdb844a8ce3e7c595de5..0507f61404d992fadcbf0a7defab17c6b2f492e1 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -3348,14 +3348,16 @@
{
"name": "setEventListenerBreakpoint",
"parameters": [
- { "name": "eventName", "type": "string", "description": "DOM Event name to stop on (any DOM event will do)." }
+ { "name": "eventName", "type": "string", "description": "DOM Event name to stop on (any DOM event will do)." },
+ { "name": "targetName", "type": "string", "optional": true, "description": "EventTarget interface name to stop on. If equal to <code>\"*\"</code> or not provided, will stop on any EventTarget.", "hidden": true }
],
"description": "Sets breakpoint on particular DOM event."
},
{
"name": "removeEventListenerBreakpoint",
"parameters": [
- { "name": "eventName", "type": "string", "description": "Event name." }
+ { "name": "eventName", "type": "string", "description": "Event name." },
+ { "name": "targetName", "type": "string", "optional": true, "description": "EventTarget interface name.", "hidden": true }
],
"description": "Removes breakpoint on particular DOM event."
},
« no previous file with comments | « Source/core/inspector/InspectorDOMDebuggerAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698