| OLD | NEW |
| 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 2070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2081 "returns": [ | 2081 "returns": [ |
| 2082 { "name": "nodeId", "$ref": "NodeId", "description": "Node i
d for given object." } | 2082 { "name": "nodeId", "$ref": "NodeId", "description": "Node i
d for given object." } |
| 2083 ], | 2083 ], |
| 2084 "description": "Requests that the node is sent to the caller giv
en the JavaScript node object reference. All nodes that form the path from the n
ode to the root are also sent to the client as a series of <code>setChildNodes</
code> notifications." | 2084 "description": "Requests that the node is sent to the caller giv
en the JavaScript node object reference. All nodes that form the path from the n
ode to the root are also sent to the client as a series of <code>setChildNodes</
code> notifications." |
| 2085 }, | 2085 }, |
| 2086 { | 2086 { |
| 2087 "name": "setInspectModeEnabled", | 2087 "name": "setInspectModeEnabled", |
| 2088 "hidden": true, | 2088 "hidden": true, |
| 2089 "parameters": [ | 2089 "parameters": [ |
| 2090 { "name": "enabled", "type": "boolean", "description": "True
to enable inspection mode, false to disable it." }, | 2090 { "name": "enabled", "type": "boolean", "description": "True
to enable inspection mode, false to disable it." }, |
| 2091 { "name": "inspectShadowDOM", "type": "boolean", "optional":
true, "description": "True to enable inspection mode for shadow DOM." }, | 2091 { "name": "inspectUAShadowDOM", "type": "boolean", "optional
": true, "description": "True to enable inspection mode for user agent shadow DO
M." }, |
| 2092 { "name": "highlightConfig", "$ref": "HighlightConfig", "opt
ional": true, "description": "A descriptor for the highlight appearance of hover
ed-over nodes. May be omitted if <code>enabled == false</code>." } | 2092 { "name": "highlightConfig", "$ref": "HighlightConfig", "opt
ional": true, "description": "A descriptor for the highlight appearance of hover
ed-over nodes. May be omitted if <code>enabled == false</code>." } |
| 2093 ], | 2093 ], |
| 2094 "description": "Enters the 'inspect' mode. In this mode, element
s that user is hovering over are highlighted. Backend then generates 'inspectNod
eRequested' event upon element selection." | 2094 "description": "Enters the 'inspect' mode. In this mode, element
s that user is hovering over are highlighted. Backend then generates 'inspectNod
eRequested' event upon element selection." |
| 2095 }, | 2095 }, |
| 2096 { | 2096 { |
| 2097 "name": "highlightRect", | 2097 "name": "highlightRect", |
| 2098 "parameters": [ | 2098 "parameters": [ |
| 2099 { "name": "x", "type": "integer", "description": "X coordina
te" }, | 2099 { "name": "x", "type": "integer", "description": "X coordina
te" }, |
| 2100 { "name": "y", "type": "integer", "description": "Y coordina
te" }, | 2100 { "name": "y", "type": "integer", "description": "Y coordina
te" }, |
| 2101 { "name": "width", "type": "integer", "description": "Rectan
gle width" }, | 2101 { "name": "width", "type": "integer", "description": "Rectan
gle width" }, |
| (...skipping 1962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4064 { | 4064 { |
| 4065 "name": "dataAvailable", | 4065 "name": "dataAvailable", |
| 4066 "parameters": [ | 4066 "parameters": [ |
| 4067 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } | 4067 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } |
| 4068 ], | 4068 ], |
| 4069 "handlers": ["browser", "frontend"] | 4069 "handlers": ["browser", "frontend"] |
| 4070 } | 4070 } |
| 4071 ] | 4071 ] |
| 4072 }] | 4072 }] |
| 4073 } | 4073 } |
| OLD | NEW |