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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/inspector/InspectorDOMDebuggerAgent.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications." 10 "description": "Enables inspector domain notifications."
(...skipping 3330 matching lines...) Expand 10 before | Expand all | Expand 10 after
3341 "name": "removeDOMBreakpoint", 3341 "name": "removeDOMBreakpoint",
3342 "parameters": [ 3342 "parameters": [
3343 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Id entifier of the node to remove breakpoint from." }, 3343 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Id entifier of the node to remove breakpoint from." },
3344 { "name": "type", "$ref": "DOMBreakpointType", "description" : "Type of the breakpoint to remove." } 3344 { "name": "type", "$ref": "DOMBreakpointType", "description" : "Type of the breakpoint to remove." }
3345 ], 3345 ],
3346 "description": "Removes DOM breakpoint that was set using <code> setDOMBreakpoint</code>." 3346 "description": "Removes DOM breakpoint that was set using <code> setDOMBreakpoint</code>."
3347 }, 3347 },
3348 { 3348 {
3349 "name": "setEventListenerBreakpoint", 3349 "name": "setEventListenerBreakpoint",
3350 "parameters": [ 3350 "parameters": [
3351 { "name": "eventName", "type": "string", "description": "DOM Event name to stop on (any DOM event will do)." } 3351 { "name": "eventName", "type": "string", "description": "DOM Event name to stop on (any DOM event will do)." },
3352 { "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 }
3352 ], 3353 ],
3353 "description": "Sets breakpoint on particular DOM event." 3354 "description": "Sets breakpoint on particular DOM event."
3354 }, 3355 },
3355 { 3356 {
3356 "name": "removeEventListenerBreakpoint", 3357 "name": "removeEventListenerBreakpoint",
3357 "parameters": [ 3358 "parameters": [
3358 { "name": "eventName", "type": "string", "description": "Eve nt name." } 3359 { "name": "eventName", "type": "string", "description": "Eve nt name." },
3360 { "name": "targetName", "type": "string", "optional": true, "description": "EventTarget interface name.", "hidden": true }
3359 ], 3361 ],
3360 "description": "Removes breakpoint on particular DOM event." 3362 "description": "Removes breakpoint on particular DOM event."
3361 }, 3363 },
3362 { 3364 {
3363 "name": "setInstrumentationBreakpoint", 3365 "name": "setInstrumentationBreakpoint",
3364 "parameters": [ 3366 "parameters": [
3365 { "name": "eventName", "type": "string", "description": "Ins trumentation name to stop on." } 3367 { "name": "eventName", "type": "string", "description": "Ins trumentation name to stop on." }
3366 ], 3368 ],
3367 "description": "Sets breakpoint on particular native event.", 3369 "description": "Sets breakpoint on particular native event.",
3368 "hidden": true 3370 "hidden": true
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
4187 { 4189 {
4188 "name": "dataAvailable", 4190 "name": "dataAvailable",
4189 "parameters": [ 4191 "parameters": [
4190 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } 4192 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." }
4191 ], 4193 ],
4192 "handlers": ["browser", "frontend"] 4194 "handlers": ["browser", "frontend"]
4193 } 4195 }
4194 ] 4196 ]
4195 }] 4197 }]
4196 } 4198 }
OLDNEW
« 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