2 "domain": "DOMDebugger",
3 "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.",
7 "id": "DOMBreakpointType",
9 "enum": ["subtree-modified", "attribute-modified", "node-removed"],
10 "description": "DOM breakpoint type."
15 "name": "setDOMBreakpoint",
17 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Identifier of the node to set breakpoint on." },
18 { "name": "type", "$ref": "DOMBreakpointType", "description": "Type of the operation to stop upon." }
20 "description": "Sets breakpoint on particular operation with DOM."
23 "name": "removeDOMBreakpoint",
25 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Identifier of the node to remove breakpoint from." },
26 { "name": "type", "$ref": "DOMBreakpointType", "description": "Type of the breakpoint to remove." }
28 "description": "Removes DOM breakpoint that was set using <code>setDOMBreakpoint</code>."
31 "name": "setEventListenerBreakpoint",
33 { "name": "eventName", "type": "string", "description": "DOM Event name to stop on (any DOM event will do)." }
35 "description": "Sets breakpoint on particular DOM event."
38 "name": "removeEventListenerBreakpoint",
40 { "name": "eventName", "type": "string", "description": "Event name." }
42 "description": "Removes breakpoint on particular DOM event."
45 "name": "setInstrumentationBreakpoint",
47 { "name": "eventName", "type": "string", "description": "Instrumentation name to stop on." }
49 "description": "Sets breakpoint on particular native event."
52 "name": "removeInstrumentationBreakpoint",
54 { "name": "eventName", "type": "string", "description": "Instrumentation name to stop on." }
56 "description": "Sets breakpoint on particular native event."
59 "name": "setXHRBreakpoint",
61 { "name": "url", "type": "string", "description": "Resource URL substring. All XHRs having this substring in the URL will get stopped upon." }
63 "description": "Sets breakpoint on XMLHttpRequest."
66 "name": "removeXHRBreakpoint",
68 { "name": "url", "type": "string", "description": "Resource URL substring." }
70 "description": "Removes breakpoint from XMLHttpRequest."