devtools-protocol 0.0.1144541 → 0.0.1145810

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.
@@ -23255,10 +23255,7 @@
23255
23255
  "SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation",
23256
23256
  "SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation",
23257
23257
  "MemoryPressureOnTrigger",
23258
- "MemoryPressureAfterTriggered",
23259
- "SpeculationRuleRemoved",
23260
- "TriggerPageNavigated",
23261
- "OtherPrerenderedPageActivated"
23258
+ "MemoryPressureAfterTriggered"
23262
23259
  ]
23263
23260
  },
23264
23261
  {
@@ -23310,6 +23307,8 @@
23310
23307
  "PrefetchNotEligibleSchemeIsNotHttps",
23311
23308
  "PrefetchNotEligibleUserHasCookies",
23312
23309
  "PrefetchNotEligibleUserHasServiceWorker",
23310
+ "PrefetchNotEligibleBatterySaverEnabled",
23311
+ "PrefetchNotEligiblePreloadingDisabled",
23313
23312
  "PrefetchNotFinishedInTime",
23314
23313
  "PrefetchNotStarted",
23315
23314
  "PrefetchNotUsedCookiesChanged",
@@ -23422,18 +23421,14 @@
23422
23421
  "name": "key",
23423
23422
  "$ref": "PreloadingAttemptKey"
23424
23423
  },
23425
- {
23426
- "name": "initiatingFrameId",
23427
- "description": "The frame id of the frame initiating prerender.",
23428
- "$ref": "Page.FrameId"
23429
- },
23430
- {
23431
- "name": "prerenderingUrl",
23432
- "type": "string"
23433
- },
23434
23424
  {
23435
23425
  "name": "status",
23436
23426
  "$ref": "PreloadingStatus"
23427
+ },
23428
+ {
23429
+ "name": "prerenderStatus",
23430
+ "optional": true,
23431
+ "$ref": "PrerenderFinalStatus"
23437
23432
  }
23438
23433
  ]
23439
23434
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1144541",
3
+ "version": "0.0.1145810",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -11004,9 +11004,6 @@ experimental domain Preload
11004
11004
  SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation
11005
11005
  MemoryPressureOnTrigger
11006
11006
  MemoryPressureAfterTriggered
11007
- SpeculationRuleRemoved
11008
- TriggerPageNavigated
11009
- OtherPrerenderedPageActivated
11010
11007
 
11011
11008
  # Fired when a prerender attempt is completed.
11012
11009
  event prerenderAttemptCompleted
@@ -11073,6 +11070,8 @@ experimental domain Preload
11073
11070
  PrefetchNotEligibleSchemeIsNotHttps
11074
11071
  PrefetchNotEligibleUserHasCookies
11075
11072
  PrefetchNotEligibleUserHasServiceWorker
11073
+ PrefetchNotEligibleBatterySaverEnabled
11074
+ PrefetchNotEligiblePreloadingDisabled
11076
11075
  PrefetchNotFinishedInTime
11077
11076
  PrefetchNotStarted
11078
11077
  PrefetchNotUsedCookiesChanged
@@ -11098,10 +11097,8 @@ experimental domain Preload
11098
11097
  event prerenderStatusUpdated
11099
11098
  parameters
11100
11099
  PreloadingAttemptKey key
11101
- # The frame id of the frame initiating prerender.
11102
- Page.FrameId initiatingFrameId
11103
- string prerenderingUrl
11104
11100
  PreloadingStatus status
11101
+ optional PrerenderFinalStatus prerenderStatus
11105
11102
 
11106
11103
  # Send a list of sources for all preloading attempts in a document.
11107
11104
  event preloadingAttemptSourcesUpdated
@@ -11171,4 +11168,3 @@ experimental domain FedCm
11171
11168
  # Resets the cooldown time, if any, to allow the next FedCM call to show
11172
11169
  # a dialog even if one was recently dismissed by the user.
11173
11170
  command resetCooldown
11174
-
@@ -17161,7 +17161,7 @@ export namespace Protocol {
17161
17161
  /**
17162
17162
  * List of FinalStatus reasons for Prerender2.
17163
17163
  */
17164
- 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' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'SpeculationRuleRemoved' | 'TriggerPageNavigated' | 'OtherPrerenderedPageActivated');
17164
+ 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' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered');
17165
17165
 
17166
17166
  export type PreloadEnabledState = ('Enabled' | 'DisabledByDataSaver' | 'DisabledByBatterySaver' | 'DisabledByPreference' | 'NotSupported');
17167
17167
 
@@ -17175,7 +17175,7 @@ export namespace Protocol {
17175
17175
  * TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and
17176
17176
  * filter out the ones that aren't necessary to the developers.
17177
17177
  */
17178
- export type PrefetchStatus = ('PrefetchAllowed' | 'PrefetchFailedIneligibleRedirect' | 'PrefetchFailedInvalidRedirect' | 'PrefetchFailedMIMENotSupported' | 'PrefetchFailedNetError' | 'PrefetchFailedNon2XX' | 'PrefetchFailedPerPageLimitExceeded' | 'PrefetchHeldback' | 'PrefetchIneligibleRetryAfter' | 'PrefetchIsPrivacyDecoy' | 'PrefetchIsStale' | 'PrefetchNotEligibleBrowserContextOffTheRecord' | 'PrefetchNotEligibleDataSaverEnabled' | 'PrefetchNotEligibleExistingProxy' | 'PrefetchNotEligibleHostIsNonUnique' | 'PrefetchNotEligibleNonDefaultStoragePartition' | 'PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy' | 'PrefetchNotEligibleSchemeIsNotHttps' | 'PrefetchNotEligibleUserHasCookies' | 'PrefetchNotEligibleUserHasServiceWorker' | 'PrefetchNotFinishedInTime' | 'PrefetchNotStarted' | 'PrefetchNotUsedCookiesChanged' | 'PrefetchProxyNotAvailable' | 'PrefetchResponseUsed' | 'PrefetchSuccessfulButNotUsed' | 'PrefetchNotUsedProbeFailed');
17178
+ export type PrefetchStatus = ('PrefetchAllowed' | 'PrefetchFailedIneligibleRedirect' | 'PrefetchFailedInvalidRedirect' | 'PrefetchFailedMIMENotSupported' | 'PrefetchFailedNetError' | 'PrefetchFailedNon2XX' | 'PrefetchFailedPerPageLimitExceeded' | 'PrefetchHeldback' | 'PrefetchIneligibleRetryAfter' | 'PrefetchIsPrivacyDecoy' | 'PrefetchIsStale' | 'PrefetchNotEligibleBrowserContextOffTheRecord' | 'PrefetchNotEligibleDataSaverEnabled' | 'PrefetchNotEligibleExistingProxy' | 'PrefetchNotEligibleHostIsNonUnique' | 'PrefetchNotEligibleNonDefaultStoragePartition' | 'PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy' | 'PrefetchNotEligibleSchemeIsNotHttps' | 'PrefetchNotEligibleUserHasCookies' | 'PrefetchNotEligibleUserHasServiceWorker' | 'PrefetchNotEligibleBatterySaverEnabled' | 'PrefetchNotEligiblePreloadingDisabled' | 'PrefetchNotFinishedInTime' | 'PrefetchNotStarted' | 'PrefetchNotUsedCookiesChanged' | 'PrefetchProxyNotAvailable' | 'PrefetchResponseUsed' | 'PrefetchSuccessfulButNotUsed' | 'PrefetchNotUsedProbeFailed');
17179
17179
 
17180
17180
  /**
17181
17181
  * Upsert. Currently, it is only emitted when a rule set added.
@@ -17232,12 +17232,8 @@ export namespace Protocol {
17232
17232
  */
17233
17233
  export interface PrerenderStatusUpdatedEvent {
17234
17234
  key: PreloadingAttemptKey;
17235
- /**
17236
- * The frame id of the frame initiating prerender.
17237
- */
17238
- initiatingFrameId: Page.FrameId;
17239
- prerenderingUrl: string;
17240
17235
  status: PreloadingStatus;
17236
+ prerenderStatus?: PrerenderFinalStatus;
17241
17237
  }
17242
17238
 
17243
17239
  /**