devtools-protocol 0.0.1085790 → 0.0.1087487

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.
@@ -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.1087487",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -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.
@@ -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