devtools-protocol 0.0.1744848 → 0.0.1747637

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.
@@ -26146,7 +26146,8 @@
26146
26146
  "PrerenderHostReused",
26147
26147
  "FormSubmitWhenPrerendering",
26148
26148
  "CrossDocumentRestart",
26149
- "PrefetchFailedCrossOriginSubframe"
26149
+ "PrefetchFailedCrossOriginSubframe",
26150
+ "UnexpectedMainFrameNavigation"
26150
26151
  ]
26151
26152
  },
26152
26153
  {
@@ -2426,13 +2426,13 @@
2426
2426
  },
2427
2427
  {
2428
2428
  "name": "value",
2429
- "description": "Remote object value in case of primitive values or JSON values (if it was requested).",
2429
+ "description": "Remote object value in case of primitive values or JSON values (if it was requested).\nNot set in `deep` serialization mode, see `deepSerializedValue`.",
2430
2430
  "optional": true,
2431
2431
  "type": "any"
2432
2432
  },
2433
2433
  {
2434
2434
  "name": "unserializableValue",
2435
- "description": "Primitive value which can not be JSON-stringified does not have `value`, but gets this\nproperty.",
2435
+ "description": "Primitive value which can not be JSON-stringified does not have `value`, but gets this\nproperty. Not set in `deep` serialization mode, see `deepSerializedValue`.",
2436
2436
  "optional": true,
2437
2437
  "$ref": "UnserializableValue"
2438
2438
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1744848",
3
+ "version": "0.0.1747637",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -193,6 +193,7 @@ experimental domain Preload
193
193
  FormSubmitWhenPrerendering
194
194
  CrossDocumentRestart
195
195
  PrefetchFailedCrossOriginSubframe
196
+ UnexpectedMainFrameNavigation
196
197
 
197
198
  # Fired when a preload enabled state is updated.
198
199
  event preloadEnabledStateUpdated
@@ -1068,7 +1068,8 @@ domain Runtime
1068
1068
  properties
1069
1069
  enum serialization
1070
1070
  # Whether the result should be deep-serialized. The result is put into
1071
- # `deepSerializedValue` and `ObjectId` is provided.
1071
+ # `deepSerializedValue`; `objectId` is provided for objects and symbols.
1072
+ # `value` and `unserializableValue` are not set.
1072
1073
  deep
1073
1074
  # Whether the result is expected to be a JSON object which should be sent by value.
1074
1075
  # The result is put either into `value` or into `unserializableValue`. Synonym of
@@ -1170,9 +1171,10 @@ domain Runtime
1170
1171
  # Object class (constructor) name. Specified for `object` type values only.
1171
1172
  optional string className
1172
1173
  # Remote object value in case of primitive values or JSON values (if it was requested).
1174
+ # Not set in `deep` serialization mode, see `deepSerializedValue`.
1173
1175
  optional any value
1174
1176
  # Primitive value which can not be JSON-stringified does not have `value`, but gets this
1175
- # property.
1177
+ # property. Not set in `deep` serialization mode, see `deepSerializedValue`.
1176
1178
  optional UnserializableValue unserializableValue
1177
1179
  # String representation of the object.
1178
1180
  optional string description
@@ -1748,11 +1748,12 @@ export namespace Protocol {
1748
1748
  className?: string;
1749
1749
  /**
1750
1750
  * Remote object value in case of primitive values or JSON values (if it was requested).
1751
+ * Not set in `deep` serialization mode, see `deepSerializedValue`.
1751
1752
  */
1752
1753
  value?: any;
1753
1754
  /**
1754
1755
  * Primitive value which can not be JSON-stringified does not have `value`, but gets this
1755
- * property.
1756
+ * property. Not set in `deep` serialization mode, see `deepSerializedValue`.
1756
1757
  */
1757
1758
  unserializableValue?: UnserializableValue;
1758
1759
  /**
@@ -19383,7 +19384,7 @@ export namespace Protocol {
19383
19384
  /**
19384
19385
  * List of FinalStatus reasons for Prerender2.
19385
19386
  */
19386
- export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'NavigationRequestBlockedByCsp' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'DataSaverEnabled' | 'TriggerUrlHasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'PrerenderingDisabledByDevTools' | 'SpeculationRuleRemoved' | 'ActivatedWithAuxiliaryBrowsingContexts' | 'MaxNumOfRunningEagerPrerendersExceeded' | 'MaxNumOfRunningNonEagerPrerendersExceeded' | 'MaxNumOfRunningEmbedderPrerendersExceeded' | 'PrerenderingUrlHasEffectiveUrl' | 'RedirectedPrerenderingUrlHasEffectiveUrl' | 'ActivationUrlHasEffectiveUrl' | 'JavaScriptInterfaceAdded' | 'JavaScriptInterfaceRemoved' | 'AllPrerenderingCanceled' | 'WindowClosed' | 'SlowNetwork' | 'OtherPrerenderedPageActivated' | 'V8OptimizerDisabled' | 'PrerenderFailedDuringPrefetch' | 'BrowsingDataRemoved' | 'PrerenderHostReused' | 'FormSubmitWhenPrerendering' | 'CrossDocumentRestart' | 'PrefetchFailedCrossOriginSubframe');
19387
+ export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'NavigationRequestBlockedByCsp' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'DataSaverEnabled' | 'TriggerUrlHasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'PrerenderingDisabledByDevTools' | 'SpeculationRuleRemoved' | 'ActivatedWithAuxiliaryBrowsingContexts' | 'MaxNumOfRunningEagerPrerendersExceeded' | 'MaxNumOfRunningNonEagerPrerendersExceeded' | 'MaxNumOfRunningEmbedderPrerendersExceeded' | 'PrerenderingUrlHasEffectiveUrl' | 'RedirectedPrerenderingUrlHasEffectiveUrl' | 'ActivationUrlHasEffectiveUrl' | 'JavaScriptInterfaceAdded' | 'JavaScriptInterfaceRemoved' | 'AllPrerenderingCanceled' | 'WindowClosed' | 'SlowNetwork' | 'OtherPrerenderedPageActivated' | 'V8OptimizerDisabled' | 'PrerenderFailedDuringPrefetch' | 'BrowsingDataRemoved' | 'PrerenderHostReused' | 'FormSubmitWhenPrerendering' | 'CrossDocumentRestart' | 'PrefetchFailedCrossOriginSubframe' | 'UnexpectedMainFrameNavigation');
19387
19388
 
19388
19389
  /**
19389
19390
  * Preloading status values, see also PreloadingTriggeringOutcome. This