| Index: third_party/WebKit/Source/core/inspector/protocol-1.1/DOMDebugger.json
|
| diff --git a/third_party/WebKit/Source/core/inspector/protocol-1.1/DOMDebugger.json b/third_party/WebKit/Source/core/inspector/protocol-1.1/DOMDebugger.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2c985cdd87aeae6fd11ca1417bae7ee3f6874ed5
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/inspector/protocol-1.1/DOMDebugger.json
|
| @@ -0,0 +1,122 @@
|
| +{
|
| + "domain": "DOMDebugger",
|
| + "version": {
|
| + "major": "1",
|
| + "minor": "1"
|
| + },
|
| + "description": "DOM debugging allows setting breakpoints on particular DOM operations and events. JavaScript execution will stop on these operations as if there was a regular breakpoint set.",
|
| + "types": [
|
| + {
|
| + "id": "DOMBreakpointType",
|
| + "type": "string",
|
| + "enum": [
|
| + "subtree-modified",
|
| + "attribute-modified",
|
| + "node-removed"
|
| + ],
|
| + "description": "DOM breakpoint type."
|
| + }
|
| + ],
|
| + "commands": [
|
| + {
|
| + "name": "setDOMBreakpoint",
|
| + "parameters": [
|
| + {
|
| + "name": "nodeId",
|
| + "$ref": "DOM.NodeId",
|
| + "description": "Identifier of the node to set breakpoint on."
|
| + },
|
| + {
|
| + "name": "type",
|
| + "$ref": "DOMBreakpointType",
|
| + "description": "Type of the operation to stop upon."
|
| + }
|
| + ],
|
| + "description": "Sets breakpoint on particular operation with DOM."
|
| + },
|
| + {
|
| + "name": "removeDOMBreakpoint",
|
| + "parameters": [
|
| + {
|
| + "name": "nodeId",
|
| + "$ref": "DOM.NodeId",
|
| + "description": "Identifier of the node to remove breakpoint from."
|
| + },
|
| + {
|
| + "name": "type",
|
| + "$ref": "DOMBreakpointType",
|
| + "description": "Type of the breakpoint to remove."
|
| + }
|
| + ],
|
| + "description": "Removes DOM breakpoint that was set using <code>setDOMBreakpoint</code>."
|
| + },
|
| + {
|
| + "name": "setEventListenerBreakpoint",
|
| + "parameters": [
|
| + {
|
| + "name": "eventName",
|
| + "type": "string",
|
| + "description": "DOM Event name to stop on (any DOM event will do)."
|
| + }
|
| + ],
|
| + "description": "Sets breakpoint on particular DOM event."
|
| + },
|
| + {
|
| + "name": "removeEventListenerBreakpoint",
|
| + "parameters": [
|
| + {
|
| + "name": "eventName",
|
| + "type": "string",
|
| + "description": "Event name."
|
| + }
|
| + ],
|
| + "description": "Removes breakpoint on particular DOM event."
|
| + },
|
| + {
|
| + "name": "setInstrumentationBreakpoint",
|
| + "parameters": [
|
| + {
|
| + "name": "eventName",
|
| + "type": "string",
|
| + "description": "Instrumentation name to stop on."
|
| + }
|
| + ],
|
| + "description": "Sets breakpoint on particular native event.",
|
| + "hidden": true
|
| + },
|
| + {
|
| + "name": "removeInstrumentationBreakpoint",
|
| + "parameters": [
|
| + {
|
| + "name": "eventName",
|
| + "type": "string",
|
| + "description": "Instrumentation name to stop on."
|
| + }
|
| + ],
|
| + "description": "Removes breakpoint on particular native event.",
|
| + "hidden": true
|
| + },
|
| + {
|
| + "name": "setXHRBreakpoint",
|
| + "parameters": [
|
| + {
|
| + "name": "url",
|
| + "type": "string",
|
| + "description": "Resource URL substring. All XHRs having this substring in the URL will get stopped upon."
|
| + }
|
| + ],
|
| + "description": "Sets breakpoint on XMLHttpRequest."
|
| + },
|
| + {
|
| + "name": "removeXHRBreakpoint",
|
| + "parameters": [
|
| + {
|
| + "name": "url",
|
| + "type": "string",
|
| + "description": "Resource URL substring."
|
| + }
|
| + ],
|
| + "description": "Removes breakpoint from XMLHttpRequest."
|
| + }
|
| + ]
|
| +}
|
|
|