OLD | NEW |
---|---|
1 { | 1 { |
2 "version": { "major": "1", "minor": "0" }, | 2 "version": { "major": "1", "minor": "0" }, |
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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
177 { "name": "secure", "type": "boolean", "description": "True if cookie is secure." }, | 177 { "name": "secure", "type": "boolean", "description": "True if cookie is secure." }, |
178 { "name": "session", "type": "boolean", "description": "True in case of session cookie." } | 178 { "name": "session", "type": "boolean", "description": "True in case of session cookie." } |
179 ], | 179 ], |
180 "hidden": true | 180 "hidden": true |
181 }, | 181 }, |
182 { | 182 { |
183 "id": "ScriptIdentifier", | 183 "id": "ScriptIdentifier", |
184 "type": "string", | 184 "type": "string", |
185 "description": "Unique script identifier.", | 185 "description": "Unique script identifier.", |
186 "hidden": true | 186 "hidden": true |
187 }, | |
188 { | |
189 "id": "NavigationHistoryEntry", | |
pfeldman
2013/09/05 11:34:13
NavigationEntry
Vladislav Kaznacheev
2013/09/05 12:53:55
Done.
| |
190 "type": "object", | |
191 "description": "Navigation history entry.", | |
192 "properties": [ | |
193 { "name": "url", "type": "string", "description": "Navigation history entry url." }, | |
194 { "name": "title", "type": "string", "description": "Navigatio n history entry title." } | |
195 ], | |
196 "hidden": true | |
187 } | 197 } |
188 ], | 198 ], |
189 "commands": [ | 199 "commands": [ |
190 { | 200 { |
191 "name": "enable", | 201 "name": "enable", |
192 "description": "Enables page domain notifications." | 202 "description": "Enables page domain notifications." |
193 }, | 203 }, |
194 { | 204 { |
195 "name": "disable", | 205 "name": "disable", |
196 "description": "Disables page domain notifications." | 206 "description": "Disables page domain notifications." |
(...skipping 25 matching lines...) Expand all Loading... | |
222 "description": "Reloads given page optionally ignoring the cache ." | 232 "description": "Reloads given page optionally ignoring the cache ." |
223 }, | 233 }, |
224 { | 234 { |
225 "name": "navigate", | 235 "name": "navigate", |
226 "parameters": [ | 236 "parameters": [ |
227 { "name": "url", "type": "string", "description": "URL to na vigate the page to." } | 237 { "name": "url", "type": "string", "description": "URL to na vigate the page to." } |
228 ], | 238 ], |
229 "description": "Navigates current page to the given URL." | 239 "description": "Navigates current page to the given URL." |
230 }, | 240 }, |
231 { | 241 { |
242 "name": "getNavigationHistory", | |
243 "parameters": [], | |
244 "returns": [ | |
245 { "name": "currentIndex", "type": "integer", "description": "Ind ex of the current navigation history entry." }, | |
246 { "name": "entries", "type": "array", "items": { "$ref": "Naviga tionHistoryEntry"}, "description": "Array of navigation history entries." } | |
247 ], | |
248 "description": "Returns navigation history for the current page.", | |
249 "hidden": true | |
250 }, | |
251 { | |
252 "name": "navigateToHistoryEntry", | |
253 "parameters": [ | |
254 { "name": "index", "type": "integer", "description": "Index of the navigation history entry." } | |
pfeldman
2013/09/05 11:34:13
Index is not identifying the entry properly.
Vladislav Kaznacheev
2013/09/05 12:53:55
Replaced with unique id
On 2013/09/05 11:34:13, pf
| |
255 ], | |
256 "description": "Navigates current page to the given history entry. ", | |
257 "hidden": true | |
258 }, | |
259 { | |
232 "name": "getCookies", | 260 "name": "getCookies", |
233 "returns": [ | 261 "returns": [ |
234 { "name": "cookies", "type": "array", "items": { "$ref": "Co okie"}, "description": "Array of cookie objects." }, | 262 { "name": "cookies", "type": "array", "items": { "$ref": "Co okie"}, "description": "Array of cookie objects." }, |
235 { "name": "cookiesString", "type": "string", "description": "document.cookie string representation of the cookies." } | 263 { "name": "cookiesString", "type": "string", "description": "document.cookie string representation of the cookies." } |
236 ], | 264 ], |
237 "description": "Returns all browser cookies. Depending on the ba ckend support, will either return detailed cookie information in the <code>cooki e</code> field or string cookie representation using <code>cookieString</code>." , | 265 "description": "Returns all browser cookies. Depending on the ba ckend support, will either return detailed cookie information in the <code>cooki e</code> field or string cookie representation using <code>cookieString</code>." , |
238 "hidden": true | 266 "hidden": true |
239 }, | 267 }, |
240 { | 268 { |
241 "name": "deleteCookie", | 269 "name": "deleteCookie", |
(...skipping 3702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3944 "parameters": [ | 3972 "parameters": [ |
3945 { "name": "value", "type": "array", "items": { "type": "obje ct" } } | 3973 { "name": "value", "type": "array", "items": { "type": "obje ct" } } |
3946 ] | 3974 ] |
3947 }, | 3975 }, |
3948 { | 3976 { |
3949 "name": "tracingComplete" | 3977 "name": "tracingComplete" |
3950 } | 3978 } |
3951 ] | 3979 ] |
3952 }] | 3980 }] |
3953 } | 3981 } |
OLD | NEW |