OLD | NEW |
1 { | 1 { |
2 "version": { "major": "1", "minor": "2" }, | 2 "version": { "major": "1", "minor": "2" }, |
3 "domains": [{ | 3 "domains": [{ |
4 "domain": "Inspector", | 4 "domain": "Inspector", |
5 "experimental": true, | 5 "experimental": 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 2805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2816 }, | 2816 }, |
2817 { | 2817 { |
2818 "id": "RuleUsage", | 2818 "id": "RuleUsage", |
2819 "type": "object", | 2819 "type": "object", |
2820 "properties": [ | 2820 "properties": [ |
2821 { "name": "styleSheetId", "$ref": "StyleSheetId", "descripti
on": "The css style sheet identifier (absent for user agent stylesheet and user-
specified stylesheet rules) this rule came from." }, | 2821 { "name": "styleSheetId", "$ref": "StyleSheetId", "descripti
on": "The css style sheet identifier (absent for user agent stylesheet and user-
specified stylesheet rules) this rule came from." }, |
2822 { "name": "startOffset", "type": "number", "description": "O
ffset of the start of the rule (including selector) from the beginning of the st
ylesheet." }, | 2822 { "name": "startOffset", "type": "number", "description": "O
ffset of the start of the rule (including selector) from the beginning of the st
ylesheet." }, |
2823 { "name": "endOffset", "type": "number", "description": "Off
set of the end of the rule body from the beginning of the stylesheet." }, | 2823 { "name": "endOffset", "type": "number", "description": "Off
set of the end of the rule body from the beginning of the stylesheet." }, |
2824 { "name": "used", "type": "boolean", "description": "Indicat
es whether the rule was actually used by some element in the page." } | 2824 { "name": "used", "type": "boolean", "description": "Indicat
es whether the rule was actually used by some element in the page." } |
2825 ], | 2825 ], |
2826 "description": "CSS rule usage information.", | 2826 "description": "CSS coverage information.", |
2827 "experimental": true | 2827 "experimental": true |
2828 }, | 2828 }, |
2829 { | 2829 { |
2830 "id": "SourceRange", | 2830 "id": "SourceRange", |
2831 "type": "object", | 2831 "type": "object", |
2832 "properties": [ | 2832 "properties": [ |
2833 { "name": "startLine", "type": "integer", "description": "St
art line of range." }, | 2833 { "name": "startLine", "type": "integer", "description": "St
art line of range." }, |
2834 { "name": "startColumn", "type": "integer", "description": "
Start column of range (inclusive)." }, | 2834 { "name": "startColumn", "type": "integer", "description": "
Start column of range (inclusive)." }, |
2835 { "name": "endLine", "type": "integer", "description": "End
line of range" }, | 2835 { "name": "endLine", "type": "integer", "description": "End
line of range" }, |
2836 { "name": "endColumn", "type": "integer", "description": "En
d column of range (exclusive)." } | 2836 { "name": "endColumn", "type": "integer", "description": "En
d column of range (exclusive)." } |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3188 "name": "getLayoutTreeAndStyles", | 3188 "name": "getLayoutTreeAndStyles", |
3189 "parameters": [ | 3189 "parameters": [ |
3190 { "name": "computedStyleWhitelist", "type": "array", "items"
: { "type": "string" }, "description": "Whitelist of computed styles to return."
} | 3190 { "name": "computedStyleWhitelist", "type": "array", "items"
: { "type": "string" }, "description": "Whitelist of computed styles to return."
} |
3191 ], | 3191 ], |
3192 "returns": [ | 3192 "returns": [ |
3193 { "name": "layoutTreeNodes", "type": "array", "items": { "$r
ef": "LayoutTreeNode" } }, | 3193 { "name": "layoutTreeNodes", "type": "array", "items": { "$r
ef": "LayoutTreeNode" } }, |
3194 { "name": "computedStyles", "type": "array", "items": { "$re
f": "ComputedStyle" } } | 3194 { "name": "computedStyles", "type": "array", "items": { "$re
f": "ComputedStyle" } } |
3195 ], | 3195 ], |
3196 "description": "For the main document and any content documents,
return the LayoutTreeNodes and a whitelisted subset of the computed style. It o
nly returns pushed nodes, on way to pull all nodes is to call DOM.getDocument wi
th a depth of -1.", | 3196 "description": "For the main document and any content documents,
return the LayoutTreeNodes and a whitelisted subset of the computed style. It o
nly returns pushed nodes, on way to pull all nodes is to call DOM.getDocument wi
th a depth of -1.", |
3197 "experimental": true | 3197 "experimental": true |
3198 » }, | 3198 }, |
3199 { | 3199 { |
3200 "name": "startRuleUsageTracking", | 3200 "name": "startRuleUsageTracking", |
3201 "description": "Enables the selector recording.", | 3201 "description": "Enables the selector recording.", |
3202 "experimental": true | 3202 "experimental": true |
3203 }, | 3203 }, |
3204 { | 3204 { |
| 3205 "name": "takeCoverageDelta", |
| 3206 "description": "Obtain list of rules that became used since last
call to this method (or since start of coverage instrumentation)", |
| 3207 "returns": [ |
| 3208 { "name": "coverage", "type": "array", "items": { "$ref": "R
uleUsage" } } |
| 3209 ], |
| 3210 "experimental": true |
| 3211 }, |
| 3212 { |
3205 "name": "stopRuleUsageTracking", | 3213 "name": "stopRuleUsageTracking", |
3206 "returns": [ | 3214 "returns": [ |
3207 { "name": "ruleUsage", "type": "array", "items": { "$ref": "
RuleUsage" } } | 3215 { "name": "ruleUsage", "type": "array", "items": { "$ref": "
RuleUsage" } } |
3208 ], | 3216 ], |
3209 "description": "The list of rules with an indication of whether
these were used", | 3217 "description": "The list of rules with an indication of whether
these were used", |
3210 "experimental": true | 3218 "experimental": true |
3211 } | 3219 } |
3212 ], | 3220 ], |
3213 "events": [ | 3221 "events": [ |
3214 { | 3222 { |
(...skipping 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4578 "name": "accepted", | 4586 "name": "accepted", |
4579 "description": "Informs that port was successfully bound and got
a specified connection id.", | 4587 "description": "Informs that port was successfully bound and got
a specified connection id.", |
4580 "parameters": [ | 4588 "parameters": [ |
4581 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, | 4589 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, |
4582 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } | 4590 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } |
4583 ] | 4591 ] |
4584 } | 4592 } |
4585 ] | 4593 ] |
4586 }] | 4594 }] |
4587 } | 4595 } |
OLD | NEW |