Chromium Code Reviews| 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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 276 "name": "navigateToHistoryEntry", | 276 "name": "navigateToHistoryEntry", |
| 277 "parameters": [ | 277 "parameters": [ |
| 278 { "name": "entryId", "type": "integer", "description": "Unique id of the entry to navigate to." } | 278 { "name": "entryId", "type": "integer", "description": "Unique id of the entry to navigate to." } |
| 279 ], | 279 ], |
| 280 "description": "Navigates current page to the given history entry. ", | 280 "description": "Navigates current page to the given history entry. ", |
| 281 "experimental": true | 281 "experimental": true |
| 282 }, | 282 }, |
| 283 { | 283 { |
| 284 "name": "getCookies", | 284 "name": "getCookies", |
| 285 "returns": [ | 285 "returns": [ |
| 286 { "name": "cookies", "type": "array", "items": { "$ref": "Ne twork.Cookie" }, "description": "Array of cookie objects." } | 286 { "name": "cookies", "type": "array", "items": { "$ref": "Ne twork.Cookie" }, "description": "Array of cookie objects." } |
|
pfeldman
2016/12/09 02:49:15
Missing parameter for redirect.
| |
| 287 ], | 287 ], |
| 288 "description": "Returns all browser cookies. Depending on the ba ckend support, will return detailed cookie information in the <code>cookies</cod e> field.", | 288 "description": "Returns all browser cookies. Depending on the ba ckend support, will return detailed cookie information in the <code>cookies</cod e> field.", |
| 289 "experimental": true, | 289 "experimental": true, |
| 290 "redirect": "Network" | 290 "redirect": "Network" |
| 291 }, | 291 }, |
| 292 { | 292 { |
| 293 "name": "deleteCookie", | 293 "name": "deleteCookie", |
| 294 "parameters": [ | 294 "parameters": [ |
| 295 { "name": "cookieName", "type": "string", "description": "Na me of the cookie to remove." }, | 295 { "name": "cookieName", "type": "string", "description": "Na me of the cookie to remove." }, |
| 296 { "name": "url", "type": "string", "description": "URL to ma tch cooke domain and path." } | 296 { "name": "url", "type": "string", "description": "URL to ma tch cooke domain and path." } |
| (...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1220 "returns": [ | 1220 "returns": [ |
| 1221 { "name": "result", "type": "boolean", "description": "True if browser cookies can be cleared." } | 1221 { "name": "result", "type": "boolean", "description": "True if browser cookies can be cleared." } |
| 1222 ] | 1222 ] |
| 1223 }, | 1223 }, |
| 1224 { | 1224 { |
| 1225 "name": "clearBrowserCookies", | 1225 "name": "clearBrowserCookies", |
| 1226 "description": "Clears browser cookies." | 1226 "description": "Clears browser cookies." |
| 1227 }, | 1227 }, |
| 1228 { | 1228 { |
| 1229 "name": "getCookies", | 1229 "name": "getCookies", |
| 1230 "parameters": [ | |
| 1231 { "name": "global", "type": "boolean", "optional": true, "de scription": "If true, returns all cookies, otherwise only the cookies for the cu rrent URL." } | |
|
pfeldman
2016/12/09 02:42:03
Global sounds weird, present semantics is also unc
pfeldman
2016/12/09 02:49:15
Discussed it with dgozman@. Why don't we add anoth
Sami
2016/12/09 14:32:50
Sounds like a fine idea -- doing that here: https:
| |
| 1232 ], | |
| 1230 "returns": [ | 1233 "returns": [ |
| 1231 { "name": "cookies", "type": "array", "items": { "$ref": "Co okie" }, "description": "Array of cookie objects." } | 1234 { "name": "cookies", "type": "array", "items": { "$ref": "Co okie" }, "description": "Array of cookie objects." } |
| 1232 ], | 1235 ], |
| 1233 "description": "Returns all browser cookies. Depending on the ba ckend support, will return detailed cookie information in the <code>cookies</cod e> field.", | 1236 "description": "Returns all browser cookies. Depending on the ba ckend support, will return detailed cookie information in the <code>cookies</cod e> field.", |
| 1234 "experimental": true | 1237 "experimental": true |
| 1235 }, | 1238 }, |
| 1236 { | 1239 { |
| 1237 "name": "deleteCookie", | 1240 "name": "deleteCookie", |
| 1238 "parameters": [ | 1241 "parameters": [ |
| 1239 { "name": "cookieName", "type": "string", "description": "Na me of the cookie to remove." }, | 1242 { "name": "cookieName", "type": "string", "description": "Na me of the cookie to remove." }, |
| (...skipping 3244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4484 "name": "accepted", | 4487 "name": "accepted", |
| 4485 "description": "Informs that port was successfully bound and got a specified connection id.", | 4488 "description": "Informs that port was successfully bound and got a specified connection id.", |
| 4486 "parameters": [ | 4489 "parameters": [ |
| 4487 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, | 4490 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, |
| 4488 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } | 4491 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } |
| 4489 ] | 4492 ] |
| 4490 } | 4493 } |
| 4491 ] | 4494 ] |
| 4492 }] | 4495 }] |
| 4493 } | 4496 } |
| OLD | NEW |