| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "extension", | 3 "namespace": "extension", |
| 4 "unprivileged": true, | 4 "unprivileged": true, |
| 5 "types": [ | 5 "types": [ |
| 6 { | 6 { |
| 7 "id": "MessageSender", | 7 "id": "MessageSender", |
| 8 "type": "object", | 8 "type": "object", |
| 9 "description": "An object containing information about the script contex
t that sent a message or request.", | 9 "description": "An object containing information about the script contex
t that sent a message or request.", |
| 10 "properties": { | 10 "properties": { |
| (...skipping 2762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2773 "description": "Represents information about an HTTP cookie.", | 2773 "description": "Represents information about an HTTP cookie.", |
| 2774 "properties": { | 2774 "properties": { |
| 2775 "name": {"type": "string", "description": "The name of the cookie."}, | 2775 "name": {"type": "string", "description": "The name of the cookie."}, |
| 2776 "value": {"type": "string", "description": "The value of the cookie."}
, | 2776 "value": {"type": "string", "description": "The value of the cookie."}
, |
| 2777 "domain": {"type": "string", "description": "The domain of the cookie
(e.g. \"www.google.com\", \"example.com\")."}, | 2777 "domain": {"type": "string", "description": "The domain of the cookie
(e.g. \"www.google.com\", \"example.com\")."}, |
| 2778 "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)."}, | 2778 "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)."}, |
| 2779 "path": {"type": "string", "description": "The path of the cookie."}, | 2779 "path": {"type": "string", "description": "The path of the cookie."}, |
| 2780 "secure": {"type": "boolean", "description": "True if the cookie is ma
rked as Secure (i.e. its scope is limited to secure channels, typically HTTPS)."
}, | 2780 "secure": {"type": "boolean", "description": "True if the cookie is ma
rked as Secure (i.e. its scope is limited to secure channels, typically HTTPS)."
}, |
| 2781 "httpOnly": {"type": "boolean", "description": "True if the cookie is
marked as HttpOnly (i.e. the cookie is inaccessible to client-side scripts)."}, | 2781 "httpOnly": {"type": "boolean", "description": "True if the cookie is
marked as HttpOnly (i.e. the cookie is inaccessible to client-side scripts)."}, |
| 2782 "session": {"type": "boolean", "description": "True if the cookie is a
session cookie, as opposed to a persistent cookie with an expiration date."}, | 2782 "session": {"type": "boolean", "description": "True if the cookie is a
session cookie, as opposed to a persistent cookie with an expiration date."}, |
| 2783 "expirationDate": {"type": "number", "optional": true, "description":
"The expiration date of the cookie as the number of milliseconds since the UNIX
epoch. Not provided for session cookies."}, | 2783 "expirationDate": {"type": "number", "optional": true, "description":
"The expiration date of the cookie as the number of seconds since the UNIX epoch
. Not provided for session cookies."}, |
| 2784 "storeId": {"type": "string", "description": "The ID of the cookie sto
re containing this cookie, as provided in getAllCookieStores()."} | 2784 "storeId": {"type": "string", "description": "The ID of the cookie sto
re containing this cookie, as provided in getAllCookieStores()."} |
| 2785 } | 2785 } |
| 2786 }, | 2786 }, |
| 2787 { | 2787 { |
| 2788 "id": "CookieStore", | 2788 "id": "CookieStore", |
| 2789 "type": "object", | 2789 "type": "object", |
| 2790 "description": "Represents a cookie store in the browser. An incognito m
ode window, for instance, uses a separate cookie store from a non-incognito wind
ow.", | 2790 "description": "Represents a cookie store in the browser. An incognito m
ode window, for instance, uses a separate cookie store from a non-incognito wind
ow.", |
| 2791 "properties": { | 2791 "properties": { |
| 2792 "id": {"type": "string", "description": "The unique identifier for the
cookie store."}, | 2792 "id": {"type": "string", "description": "The unique identifier for the
cookie store."}, |
| 2793 "tabIds": {"type": "array", "items": {"type": "integer"}, "description
": "Identifiers of all the browser tabs that share this cookie store."} | 2793 "tabIds": {"type": "array", "items": {"type": "integer"}, "description
": "Identifiers of all the browser tabs that share this cookie store."} |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2861 "name": "details", | 2861 "name": "details", |
| 2862 "description": "Details about the cookie being set.", | 2862 "description": "Details about the cookie being set.", |
| 2863 "properties": { | 2863 "properties": { |
| 2864 "url": {"type": "string", "description": "The request-URI to assoc
iate with the setting of the cookie. This value can affect the default domain an
d path values of the created cookie. If host permissions for this URL are not sp
ecified in the manifest file, the API call will fail."}, | 2864 "url": {"type": "string", "description": "The request-URI to assoc
iate with the setting of the cookie. This value can affect the default domain an
d path values of the created cookie. If host permissions for this URL are not sp
ecified in the manifest file, the API call will fail."}, |
| 2865 "name": {"type": "string", "optional": true, "description": "The n
ame of the cookie. Empty by default if omitted."}, | 2865 "name": {"type": "string", "optional": true, "description": "The n
ame of the cookie. Empty by default if omitted."}, |
| 2866 "value": {"type": "string", "optional": true, "description": "The
value of the cookie. Empty by default if omitted."}, | 2866 "value": {"type": "string", "optional": true, "description": "The
value of the cookie. Empty by default if omitted."}, |
| 2867 "domain": {"type": "string", "optional": true, "description": "The
domain of the cookie. If omitted, the cookie becomes a host-only cookie."}, | 2867 "domain": {"type": "string", "optional": true, "description": "The
domain of the cookie. If omitted, the cookie becomes a host-only cookie."}, |
| 2868 "path": {"type": "string", "optional": true, "description": "The p
ath of the cookie. Defaults to the path portion of the url parameter."}, | 2868 "path": {"type": "string", "optional": true, "description": "The p
ath of the cookie. Defaults to the path portion of the url parameter."}, |
| 2869 "secure": {"type": "boolean", "optional": true, "description": "Wh
ether the cookie should be marked as Secure. Defaults to false."}, | 2869 "secure": {"type": "boolean", "optional": true, "description": "Wh
ether the cookie should be marked as Secure. Defaults to false."}, |
| 2870 "httpOnly": {"type": "boolean", "optional": true, "description": "
Whether the cookie should be marked as HttpOnly. Defaults to false."}, | 2870 "httpOnly": {"type": "boolean", "optional": true, "description": "
Whether the cookie should be marked as HttpOnly. Defaults to false."}, |
| 2871 "expirationDate": {"type": "number", "optional": true, "descriptio
n": "The expiration date of the cookie as the number of milliseconds since the U
NIX epoch. If omitted, the cookie becomes a session cookie."}, | 2871 "expirationDate": {"type": "number", "optional": true, "descriptio
n": "The expiration date of the cookie as the number of seconds since the UNIX e
poch. If omitted, the cookie becomes a session cookie."}, |
| 2872 "storeId": {"type": "string", "optional": true, "description": "Th
e ID of the cookie store in which to set the cookie. By default, the cookie is s
et in the current execution context's cookie store."} | 2872 "storeId": {"type": "string", "optional": true, "description": "Th
e ID of the cookie store in which to set the cookie. By default, the cookie is s
et in the current execution context's cookie store."} |
| 2873 } | 2873 } |
| 2874 } | 2874 } |
| 2875 ] | 2875 ] |
| 2876 }, | 2876 }, |
| 2877 { | 2877 { |
| 2878 "name": "remove", | 2878 "name": "remove", |
| 2879 "type": "function", | 2879 "type": "function", |
| 2880 "description": "Deletes a cookie by name.", | 2880 "description": "Deletes a cookie by name.", |
| 2881 "parameters": [ | 2881 "parameters": [ |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3084 "parameters": [ | 3084 "parameters": [ |
| 3085 { | 3085 { |
| 3086 "type": "string", | 3086 "type": "string", |
| 3087 "name": "text" | 3087 "name": "text" |
| 3088 } | 3088 } |
| 3089 ] | 3089 ] |
| 3090 } | 3090 } |
| 3091 ] | 3091 ] |
| 3092 } | 3092 } |
| 3093 ] | 3093 ] |
| OLD | NEW |