OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "cookies", | 3 "namespace": "cookies", |
| 4 "compile": true, |
4 "types": [ | 5 "types": [ |
5 { | 6 { |
6 "id": "Cookie", | 7 "id": "Cookie", |
7 "type": "object", | 8 "type": "object", |
8 "description": "Represents information about an HTTP cookie.", | 9 "description": "Represents information about an HTTP cookie.", |
9 "properties": { | 10 "properties": { |
10 "name": {"type": "string", "description": "The name of the cookie."}, | 11 "name": {"type": "string", "description": "The name of the cookie."}, |
11 "value": {"type": "string", "description": "The value of the cookie."}
, | 12 "value": {"type": "string", "description": "The value of the cookie."}
, |
12 "domain": {"type": "string", "description": "The domain of the cookie
(e.g. \"www.google.com\", \"example.com\")."}, | 13 "domain": {"type": "string", "description": "The domain of the cookie
(e.g. \"www.google.com\", \"example.com\")."}, |
13 "hostOnly": {"type": "boolean", "description": "True if the cookie is
a host-only cookie (i.e. a request's host must exactly match the domain of the c
ookie)."}, | 14 "hostOnly": {"type": "boolean", "description": "True if the cookie is
a host-only cookie (i.e. a request's host must exactly match the domain of the c
ookie)."}, |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 "removed": {"type": "boolean", "description": "True if a cookie wa
s removed."}, | 187 "removed": {"type": "boolean", "description": "True if a cookie wa
s removed."}, |
187 "cookie": {"$ref": "Cookie", "description": "Information about the
cookie that was set or removed."}, | 188 "cookie": {"$ref": "Cookie", "description": "Information about the
cookie that was set or removed."}, |
188 "cause": {"min_version": "12.0.707.0", "type": "string", "enum": [
"evicted", "expired", "explicit", "expired_overwrite", "overwrite"], "descriptio
n": "The underlying reason behind the cookie's change. If a cookie was inserted,
or removed via an explicit call to \"chrome.cookies.remove\", \"cause\" will be
\"explicit\". If a cookie was automatically removed due to expiry, \"cause\" wi
ll be \"expired\". If a cookie was removed due to being overwritten with an alre
ady-expired expiration date, \"cause\" will be set to \"expired_overwrite\". If
a cookie was automatically removed due to garbage collection, \"cause\" will be
\"evicted\". If a cookie was automatically removed due to a \"set\" call that
overwrote it, \"cause\" will be \"overwrite\". Plan your response accordingly."} | 189 "cause": {"min_version": "12.0.707.0", "type": "string", "enum": [
"evicted", "expired", "explicit", "expired_overwrite", "overwrite"], "descriptio
n": "The underlying reason behind the cookie's change. If a cookie was inserted,
or removed via an explicit call to \"chrome.cookies.remove\", \"cause\" will be
\"explicit\". If a cookie was automatically removed due to expiry, \"cause\" wi
ll be \"expired\". If a cookie was removed due to being overwritten with an alre
ady-expired expiration date, \"cause\" will be set to \"expired_overwrite\". If
a cookie was automatically removed due to garbage collection, \"cause\" will be
\"evicted\". If a cookie was automatically removed due to a \"set\" call that
overwrote it, \"cause\" will be \"overwrite\". Plan your response accordingly."} |
189 } | 190 } |
190 } | 191 } |
191 ] | 192 ] |
192 } | 193 } |
193 ] | 194 ] |
194 } | 195 } |
195 ] | 196 ] |
OLD | NEW |