| 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 2985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2996 }, | 2996 }, |
| 2997 { | 2997 { |
| 2998 "name": "setStyleSheetText", | 2998 "name": "setStyleSheetText", |
| 2999 "parameters": [ | 2999 "parameters": [ |
| 3000 { "name": "styleSheetId", "$ref": "StyleSheetId" }, | 3000 { "name": "styleSheetId", "$ref": "StyleSheetId" }, |
| 3001 { "name": "text", "type": "string" } | 3001 { "name": "text", "type": "string" } |
| 3002 ], | 3002 ], |
| 3003 "description": "Sets the new stylesheet text." | 3003 "description": "Sets the new stylesheet text." |
| 3004 }, | 3004 }, |
| 3005 { | 3005 { |
| 3006 "name": "setPropertyText", | |
| 3007 "parameters": [ | |
| 3008 { "name": "styleSheetId", "$ref": "StyleSheetId" }, | |
| 3009 { "name": "range", "$ref": "SourceRange", "description": "Ei
ther a source range of the property to be edited or an empty range representing
a position for the property insertion." }, | |
| 3010 { "name": "text", "type": "string" } | |
| 3011 ], | |
| 3012 "returns": [ | |
| 3013 { "name": "style", "$ref": "CSSStyle", "description": "The r
esulting style after the property text modification." } | |
| 3014 ], | |
| 3015 "description": "Either replaces a property identified by <code>s
tyleSheetId</code> and <code>range</code> with <code>text</code> or inserts a ne
w property <code>text</code> at the position identified by an empty <code>range<
/code>." | |
| 3016 }, | |
| 3017 { | |
| 3018 "name": "setRuleSelector", | 3006 "name": "setRuleSelector", |
| 3019 "parameters": [ | 3007 "parameters": [ |
| 3020 { "name": "styleSheetId", "$ref": "StyleSheetId" }, | 3008 { "name": "styleSheetId", "$ref": "StyleSheetId" }, |
| 3021 { "name": "range", "$ref": "SourceRange" }, | 3009 { "name": "range", "$ref": "SourceRange" }, |
| 3022 { "name": "selector", "type": "string" } | 3010 { "name": "selector", "type": "string" } |
| 3023 ], | 3011 ], |
| 3024 "returns": [ | 3012 "returns": [ |
| 3025 { "name": "rule", "$ref": "CSSRule", "description": "The res
ulting rule after the selector modification." } | 3013 { "name": "rule", "$ref": "CSSRule", "description": "The res
ulting rule after the selector modification." } |
| 3026 ], | 3014 ], |
| 3027 "description": "Modifies the rule selector." | 3015 "description": "Modifies the rule selector." |
| (...skipping 2023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5051 "description": "The security state of the page changed.", | 5039 "description": "The security state of the page changed.", |
| 5052 "parameters": [ | 5040 "parameters": [ |
| 5053 { "name": "securityState", "$ref": "SecurityState", "descrip
tion": "Security state." }, | 5041 { "name": "securityState", "$ref": "SecurityState", "descrip
tion": "Security state." }, |
| 5054 { "name": "explanations", "type": "array", "items": { "$ref"
: "SecurityStateExplanation" }, "description": "List of explanations for the sec
urity state. If the overall security state is `insecure` or `warning`, at least
one corresponding explanation should be included.", "optional": true } | 5042 { "name": "explanations", "type": "array", "items": { "$ref"
: "SecurityStateExplanation" }, "description": "List of explanations for the sec
urity state. If the overall security state is `insecure` or `warning`, at least
one corresponding explanation should be included.", "optional": true } |
| 5055 ], | 5043 ], |
| 5056 "handlers": ["browser"] | 5044 "handlers": ["browser"] |
| 5057 } | 5045 } |
| 5058 ] | 5046 ] |
| 5059 }] | 5047 }] |
| 5060 } | 5048 } |
| OLD | NEW |