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 2773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2784 }, | 2784 }, |
2785 { | 2785 { |
2786 "id": "RuleUsage", | 2786 "id": "RuleUsage", |
2787 "type": "object", | 2787 "type": "object", |
2788 "properties": [ | 2788 "properties": [ |
2789 { "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." }, | 2789 { "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." }, |
2790 { "name": "startOffset", "type": "number", "description": "O
ffset of the start of the rule (including selector) from the beginning of the st
ylesheet." }, | 2790 { "name": "startOffset", "type": "number", "description": "O
ffset of the start of the rule (including selector) from the beginning of the st
ylesheet." }, |
2791 { "name": "endOffset", "type": "number", "description": "Off
set of the end of the rule body from the beginning of the stylesheet." }, | 2791 { "name": "endOffset", "type": "number", "description": "Off
set of the end of the rule body from the beginning of the stylesheet." }, |
2792 { "name": "used", "type": "boolean", "description": "Indicat
es whether the rule was actually used by some element in the page." } | 2792 { "name": "used", "type": "boolean", "description": "Indicat
es whether the rule was actually used by some element in the page." } |
2793 ], | 2793 ], |
2794 "description": "CSS rule usage information.", | 2794 "description": "CSS coverage information.", |
2795 "experimental": true | 2795 "experimental": true |
2796 }, | 2796 }, |
2797 { | 2797 { |
2798 "id": "SourceRange", | 2798 "id": "SourceRange", |
2799 "type": "object", | 2799 "type": "object", |
2800 "properties": [ | 2800 "properties": [ |
2801 { "name": "startLine", "type": "integer", "description": "St
art line of range." }, | 2801 { "name": "startLine", "type": "integer", "description": "St
art line of range." }, |
2802 { "name": "startColumn", "type": "integer", "description": "
Start column of range (inclusive)." }, | 2802 { "name": "startColumn", "type": "integer", "description": "
Start column of range (inclusive)." }, |
2803 { "name": "endLine", "type": "integer", "description": "End
line of range" }, | 2803 { "name": "endLine", "type": "integer", "description": "End
line of range" }, |
2804 { "name": "endColumn", "type": "integer", "description": "En
d column of range (exclusive)." } | 2804 { "name": "endColumn", "type": "integer", "description": "En
d column of range (exclusive)." } |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3156 "name": "getLayoutTreeAndStyles", | 3156 "name": "getLayoutTreeAndStyles", |
3157 "parameters": [ | 3157 "parameters": [ |
3158 { "name": "computedStyleWhitelist", "type": "array", "items"
: { "type": "string" }, "description": "Whitelist of computed styles to return."
} | 3158 { "name": "computedStyleWhitelist", "type": "array", "items"
: { "type": "string" }, "description": "Whitelist of computed styles to return."
} |
3159 ], | 3159 ], |
3160 "returns": [ | 3160 "returns": [ |
3161 { "name": "layoutTreeNodes", "type": "array", "items": { "$r
ef": "LayoutTreeNode" } }, | 3161 { "name": "layoutTreeNodes", "type": "array", "items": { "$r
ef": "LayoutTreeNode" } }, |
3162 { "name": "computedStyles", "type": "array", "items": { "$re
f": "ComputedStyle" } } | 3162 { "name": "computedStyles", "type": "array", "items": { "$re
f": "ComputedStyle" } } |
3163 ], | 3163 ], |
3164 "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.", | 3164 "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.", |
3165 "experimental": true | 3165 "experimental": true |
3166 » }, | 3166 }, |
3167 { | 3167 { |
3168 "name": "startRuleUsageTracking", | 3168 "name": "startRuleUsageTracking", |
3169 "description": "Enables the selector recording.", | 3169 "description": "Enables the selector recording.", |
3170 "experimental": true | 3170 "experimental": true |
3171 }, | 3171 }, |
3172 { | 3172 { |
| 3173 "name": "takeCoverageDelta", |
| 3174 "description": "Obtain list of rules that became used since last
call to this method (or since start of coverage instrumentation)", |
| 3175 "returns": [ |
| 3176 { "name": "coverage", "type": "array", "items": { "$ref": "R
uleUsage" } } |
| 3177 ], |
| 3178 "experimental": true |
| 3179 }, |
| 3180 { |
3173 "name": "stopRuleUsageTracking", | 3181 "name": "stopRuleUsageTracking", |
3174 "returns": [ | 3182 "returns": [ |
3175 { "name": "ruleUsage", "type": "array", "items": { "$ref": "
RuleUsage" } } | 3183 { "name": "ruleUsage", "type": "array", "items": { "$ref": "
RuleUsage" } } |
3176 ], | 3184 ], |
3177 "description": "The list of rules with an indication of whether
these were used", | 3185 "description": "The list of rules with an indication of whether
these were used", |
3178 "experimental": true | 3186 "experimental": true |
3179 } | 3187 } |
3180 ], | 3188 ], |
3181 "events": [ | 3189 "events": [ |
3182 { | 3190 { |
(...skipping 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4546 "name": "accepted", | 4554 "name": "accepted", |
4547 "description": "Informs that port was successfully bound and got
a specified connection id.", | 4555 "description": "Informs that port was successfully bound and got
a specified connection id.", |
4548 "parameters": [ | 4556 "parameters": [ |
4549 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, | 4557 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, |
4550 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } | 4558 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } |
4551 ] | 4559 ] |
4552 } | 4560 } |
4553 ] | 4561 ] |
4554 }] | 4562 }] |
4555 } | 4563 } |
OLD | NEW |