devtools-protocol 0.0.1085283 → 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.
@@ -16442,7 +16442,8 @@
16442
16442
  "SameSiteCrossOriginNavigationNotOptIn",
16443
16443
  "ActivationNavigationParameterMismatch",
16444
16444
  "ActivatedInBackground",
16445
- "EmbedderHostDisallowed"
16445
+ "EmbedderHostDisallowed",
16446
+ "ActivationNavigationDestroyedBeforeSuccess"
16446
16447
  ]
16447
16448
  }
16448
16449
  ],
@@ -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.1085283",
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",
@@ -8553,6 +8553,7 @@ domain Page
8553
8553
  ActivationNavigationParameterMismatch
8554
8554
  ActivatedInBackground
8555
8555
  EmbedderHostDisallowed
8556
+ ActivationNavigationDestroyedBeforeSuccess
8556
8557
 
8557
8558
  # Fired when a prerender attempt is completed.
8558
8559
  experimental event prerenderAttemptCompleted
@@ -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
@@ -12867,7 +12876,7 @@ export namespace Protocol {
12867
12876
  /**
12868
12877
  * List of FinalStatus reasons for Prerender2.
12869
12878
  */
12870
- export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirect' | 'CrossSiteNavigation' | 'SameSiteCrossOriginRedirect' | 'SameSiteCrossOriginNavigation' | 'SameSiteCrossOriginRedirectNotOptIn' | 'SameSiteCrossOriginNavigationNotOptIn' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed');
12879
+ export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirect' | 'CrossSiteNavigation' | 'SameSiteCrossOriginRedirect' | 'SameSiteCrossOriginNavigation' | 'SameSiteCrossOriginRedirectNotOptIn' | 'SameSiteCrossOriginNavigationNotOptIn' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess');
12871
12880
 
12872
12881
  export interface AddScriptToEvaluateOnLoadRequest {
12873
12882
  scriptSource: string;