devtools-protocol 0.0.1085790 → 0.0.1087713

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12789,7 +12789,8 @@
12789
12789
  },
12790
12790
  {
12791
12791
  "name": "getAllCookies",
12792
- "description": "Returns all browser cookies. Depending on the backend support, will return detailed cookie\ninformation in the `cookies` field.",
12792
+ "description": "Returns all browser cookies. Depending on the backend support, will return detailed cookie\ninformation in the `cookies` field.\nDeprecated. Use Storage.getCookies instead.",
12793
+ "deprecated": true,
12793
12794
  "returns": [
12794
12795
  {
12795
12796
  "name": "cookies",
@@ -2947,6 +2947,13 @@
2947
2947
  "optional": true,
2948
2948
  "type": "boolean"
2949
2949
  },
2950
+ {
2951
+ "name": "uniqueContextId",
2952
+ "description": "An alternative way to specify the execution context to call function on.\nCompared to contextId that may be reused across processes, this is guaranteed to be\nsystem-unique, so it can be used to prevent accidental function call\nin context different than intended (e.g. as a result of navigation across process\nboundaries).\nThis is mutually exclusive with `executionContextId`.",
2953
+ "experimental": true,
2954
+ "optional": true,
2955
+ "type": "string"
2956
+ },
2950
2957
  {
2951
2958
  "name": "generateWebDriverValue",
2952
2959
  "description": "Whether the result should contain `webDriverValue`, serialized according to\nhttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but\nresulting `objectId` is still provided.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1085790",
3
+ "version": "0.0.1087713",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -5867,7 +5867,8 @@ domain Network
5867
5867
 
5868
5868
  # Returns all browser cookies. Depending on the backend support, will return detailed cookie
5869
5869
  # information in the `cookies` field.
5870
- command getAllCookies
5870
+ # Deprecated. Use Storage.getCookies instead.
5871
+ deprecated command getAllCookies
5871
5872
  returns
5872
5873
  # Array of cookie objects.
5873
5874
  array of Cookie cookies
@@ -1402,6 +1402,13 @@ domain Runtime
1402
1402
  optional string objectGroup
1403
1403
  # Whether to throw an exception if side effect cannot be ruled out during evaluation.
1404
1404
  experimental optional boolean throwOnSideEffect
1405
+ # An alternative way to specify the execution context to call function on.
1406
+ # Compared to contextId that may be reused across processes, this is guaranteed to be
1407
+ # system-unique, so it can be used to prevent accidental function call
1408
+ # in context different than intended (e.g. as a result of navigation across process
1409
+ # boundaries).
1410
+ # This is mutually exclusive with `executionContextId`.
1411
+ experimental optional string uniqueContextId
1405
1412
  # Whether the result should contain `webDriverValue`, serialized according to
1406
1413
  # https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
1407
1414
  # resulting `objectId` is still provided.
@@ -3086,6 +3086,7 @@ export namespace ProtocolMapping {
3086
3086
  /**
3087
3087
  * Returns all browser cookies. Depending on the backend support, will return detailed cookie
3088
3088
  * information in the `cookies` field.
3089
+ * Deprecated. Use Storage.getCookies instead.
3089
3090
  */
3090
3091
  'Network.getAllCookies': {
3091
3092
  paramsType: [];
@@ -2221,6 +2221,7 @@ export namespace ProtocolProxyApi {
2221
2221
  /**
2222
2222
  * Returns all browser cookies. Depending on the backend support, will return detailed cookie
2223
2223
  * information in the `cookies` field.
2224
+ * Deprecated. Use Storage.getCookies instead.
2224
2225
  */
2225
2226
  getAllCookies(): Promise<Protocol.Network.GetAllCookiesResponse>;
2226
2227
 
@@ -2102,6 +2102,15 @@ export namespace Protocol {
2102
2102
  * Whether to throw an exception if side effect cannot be ruled out during evaluation.
2103
2103
  */
2104
2104
  throwOnSideEffect?: boolean;
2105
+ /**
2106
+ * An alternative way to specify the execution context to call function on.
2107
+ * Compared to contextId that may be reused across processes, this is guaranteed to be
2108
+ * system-unique, so it can be used to prevent accidental function call
2109
+ * in context different than intended (e.g. as a result of navigation across process
2110
+ * boundaries).
2111
+ * This is mutually exclusive with `executionContextId`.
2112
+ */
2113
+ uniqueContextId?: string;
2105
2114
  /**
2106
2115
  * Whether the result should contain `webDriverValue`, serialized according to
2107
2116
  * https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but