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 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1127 { | 1127 { |
1128 "name": "canClearBrowserCache", | 1128 "name": "canClearBrowserCache", |
1129 "description": "Tells whether clearing browser cache is supporte
d.", | 1129 "description": "Tells whether clearing browser cache is supporte
d.", |
1130 "returns": [ | 1130 "returns": [ |
1131 { "name": "result", "type": "boolean", "description": "True
if browser cache can be cleared." } | 1131 { "name": "result", "type": "boolean", "description": "True
if browser cache can be cleared." } |
1132 ] | 1132 ] |
1133 }, | 1133 }, |
1134 { | 1134 { |
1135 "name": "clearBrowserCache", | 1135 "name": "clearBrowserCache", |
1136 "description": "Clears browser cache.", | 1136 "description": "Clears browser cache.", |
1137 "handlers": ["browser", "renderer"] | 1137 "handlers": ["browser"] |
1138 }, | 1138 }, |
1139 { | 1139 { |
1140 "name": "canClearBrowserCookies", | 1140 "name": "canClearBrowserCookies", |
1141 "description": "Tells whether clearing browser cookies is suppor
ted.", | 1141 "description": "Tells whether clearing browser cookies is suppor
ted.", |
1142 "returns": [ | 1142 "returns": [ |
1143 { "name": "result", "type": "boolean", "description": "True
if browser cookies can be cleared." } | 1143 { "name": "result", "type": "boolean", "description": "True
if browser cookies can be cleared." } |
1144 ] | 1144 ] |
1145 }, | 1145 }, |
1146 { | 1146 { |
1147 "name": "clearBrowserCookies", | 1147 "name": "clearBrowserCookies", |
1148 "description": "Clears browser cookies.", | 1148 "description": "Clears browser cookies.", |
1149 "handlers": ["browser", "renderer"] | 1149 "handlers": ["browser"] |
1150 }, | 1150 }, |
1151 { | 1151 { |
1152 "name": "emulateNetworkConditions", | 1152 "name": "emulateNetworkConditions", |
1153 "description": "Activates emulation of network conditions.", | 1153 "description": "Activates emulation of network conditions.", |
1154 "parameters": [ | 1154 "parameters": [ |
1155 { "name": "offline", "type": "boolean", "optional": true, "d
escription": "True to emulate internet disconnection." } | 1155 { "name": "offline", "type": "boolean", "optional": true, "d
escription": "True to emulate internet disconnection." } |
1156 ], | 1156 ], |
1157 "hidden": true, | 1157 "hidden": true, |
1158 "handlers": ["browser"] | 1158 "handlers": ["browser"] |
1159 }, | 1159 }, |
(...skipping 2951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4111 { | 4111 { |
4112 "name": "dataAvailable", | 4112 "name": "dataAvailable", |
4113 "parameters": [ | 4113 "parameters": [ |
4114 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } | 4114 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } |
4115 ], | 4115 ], |
4116 "handlers": ["browser", "frontend"] | 4116 "handlers": ["browser", "frontend"] |
4117 } | 4117 } |
4118 ] | 4118 ] |
4119 }] | 4119 }] |
4120 } | 4120 } |
OLD | NEW |