Chromium Code Reviews| 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 1376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1387 "description": "Cookie object", | 1387 "description": "Cookie object", |
| 1388 "properties": [ | 1388 "properties": [ |
| 1389 { "name": "name", "type": "string", "description": "Cookie n ame." }, | 1389 { "name": "name", "type": "string", "description": "Cookie n ame." }, |
| 1390 { "name": "value", "type": "string", "description": "Cookie value." }, | 1390 { "name": "value", "type": "string", "description": "Cookie value." }, |
| 1391 { "name": "domain", "type": "string", "description": "Cookie domain." }, | 1391 { "name": "domain", "type": "string", "description": "Cookie domain." }, |
| 1392 { "name": "path", "type": "string", "description": "Cookie p ath." }, | 1392 { "name": "path", "type": "string", "description": "Cookie p ath." }, |
| 1393 { "name": "expires", "type": "number", "description": "Cooki e expires." }, | 1393 { "name": "expires", "type": "number", "description": "Cooki e expires." }, |
| 1394 { "name": "size", "type": "integer", "description": "Cookie size." }, | 1394 { "name": "size", "type": "integer", "description": "Cookie size." }, |
| 1395 { "name": "httpOnly", "type": "boolean", "description": "Tru e if cookie is http-only." }, | 1395 { "name": "httpOnly", "type": "boolean", "description": "Tru e if cookie is http-only." }, |
| 1396 { "name": "secure", "type": "boolean", "description": "True if cookie is secure." }, | 1396 { "name": "secure", "type": "boolean", "description": "True if cookie is secure." }, |
| 1397 { "name": "session", "type": "boolean", "description": "True in case of session cookie." } | 1397 { "name": "session", "type": "boolean", "description": "True in case of session cookie." }, |
| 1398 { "name": "sameSite", "type": "string", "enum": ["Strict", " Lax", "NoRestriction"], "description": "Represents the cookies' 'SameSite' statu s: https://tools.ietf.org/html/draft-west-first-party-cookies" } | |
|
pfeldman
2016/04/01 22:04:09
What dgozman suggests is that you add "optional":
Mike West
2016/04/05 08:07:08
Done.
| |
| 1398 ], | 1399 ], |
| 1399 "hidden": true | 1400 "hidden": true |
| 1400 } | 1401 } |
| 1401 ], | 1402 ], |
| 1402 "commands": [ | 1403 "commands": [ |
| 1403 { | 1404 { |
| 1404 "name": "enable", | 1405 "name": "enable", |
| 1405 "description": "Enables network tracking, network events will no w be delivered to the client.", | 1406 "description": "Enables network tracking, network events will no w be delivered to the client.", |
| 1406 "parameters": [ | 1407 "parameters": [ |
| 1407 { "name": "maxTotalBufferSize", "type": "integer", "optional ": true, "hidden": true, "description": "Buffer size in bytes to use when preser ving network payloads (XHRs, etc)." }, | 1408 { "name": "maxTotalBufferSize", "type": "integer", "optional ": true, "hidden": true, "description": "Buffer size in bytes to use when preser ving network payloads (XHRs, etc)." }, |
| (...skipping 3723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5131 ], | 5132 ], |
| 5132 "returns": [ | 5133 "returns": [ |
| 5133 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } | 5134 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } |
| 5134 ], | 5135 ], |
| 5135 "description": "Fetches the accessibility node for this DOM node , if it exists.", | 5136 "description": "Fetches the accessibility node for this DOM node , if it exists.", |
| 5136 "hidden": true | 5137 "hidden": true |
| 5137 } | 5138 } |
| 5138 ] | 5139 ] |
| 5139 }] | 5140 }] |
| 5140 } | 5141 } |
| OLD | NEW |