devtools-protocol 0.0.1145140 → 0.0.1146363

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.
@@ -1626,7 +1626,8 @@
1626
1626
  "IdTokenInvalidContentType",
1627
1627
  "ErrorIdToken",
1628
1628
  "Canceled",
1629
- "RpPageNotVisible"
1629
+ "RpPageNotVisible",
1630
+ "SilentMediationFailure"
1630
1631
  ]
1631
1632
  },
1632
1633
  {
@@ -2633,6 +2634,16 @@
2633
2634
  "$ref": "BrowserCommandId"
2634
2635
  }
2635
2636
  ]
2637
+ },
2638
+ {
2639
+ "name": "addPrivacySandboxEnrollmentOverride",
2640
+ "description": "Allows a site to use privacy sandbox features that require enrollment\nwithout the site actually being enrolled. Only supported on page targets.",
2641
+ "parameters": [
2642
+ {
2643
+ "name": "url",
2644
+ "type": "string"
2645
+ }
2646
+ ]
2636
2647
  }
2637
2648
  ],
2638
2649
  "events": [
@@ -23294,6 +23305,7 @@
23294
23305
  "PrefetchFailedNetError",
23295
23306
  "PrefetchFailedNon2XX",
23296
23307
  "PrefetchFailedPerPageLimitExceeded",
23308
+ "PrefetchEvicted",
23297
23309
  "PrefetchHeldback",
23298
23310
  "PrefetchIneligibleRetryAfter",
23299
23311
  "PrefetchIsPrivacyDecoy",
@@ -23307,6 +23319,8 @@
23307
23319
  "PrefetchNotEligibleSchemeIsNotHttps",
23308
23320
  "PrefetchNotEligibleUserHasCookies",
23309
23321
  "PrefetchNotEligibleUserHasServiceWorker",
23322
+ "PrefetchNotEligibleBatterySaverEnabled",
23323
+ "PrefetchNotEligiblePreloadingDisabled",
23310
23324
  "PrefetchNotFinishedInTime",
23311
23325
  "PrefetchNotStarted",
23312
23326
  "PrefetchNotUsedCookiesChanged",
@@ -23419,15 +23433,6 @@
23419
23433
  "name": "key",
23420
23434
  "$ref": "PreloadingAttemptKey"
23421
23435
  },
23422
- {
23423
- "name": "initiatingFrameId",
23424
- "description": "The frame id of the frame initiating prerender.",
23425
- "$ref": "Page.FrameId"
23426
- },
23427
- {
23428
- "name": "prerenderingUrl",
23429
- "type": "string"
23430
- },
23431
23436
  {
23432
23437
  "name": "status",
23433
23438
  "$ref": "PreloadingStatus"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1145140",
3
+ "version": "0.0.1146363",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -817,6 +817,7 @@ experimental domain Audits
817
817
  ErrorIdToken
818
818
  Canceled
819
819
  RpPageNotVisible
820
+ SilentMediationFailure
820
821
 
821
822
  # This issue tracks client hints related issues. It's used to deprecate old
822
823
  # features, encourage the use of new ones, and provide general guidance.
@@ -1314,6 +1315,12 @@ domain Browser
1314
1315
  parameters
1315
1316
  BrowserCommandId commandId
1316
1317
 
1318
+ # Allows a site to use privacy sandbox features that require enrollment
1319
+ # without the site actually being enrolled. Only supported on page targets.
1320
+ command addPrivacySandboxEnrollmentOverride
1321
+ parameters
1322
+ string url
1323
+
1317
1324
  # This domain exposes CSS read/write operations. All CSS objects (stylesheets, rules, and styles)
1318
1325
  # have an associated `id` used in subsequent operations on the related object. Each object type has
1319
1326
  # a specific `id` structure, and those are not interchangeable between objects of different kinds.
@@ -11055,6 +11062,7 @@ experimental domain Preload
11055
11062
  PrefetchFailedNetError
11056
11063
  PrefetchFailedNon2XX
11057
11064
  PrefetchFailedPerPageLimitExceeded
11065
+ PrefetchEvicted
11058
11066
  PrefetchHeldback
11059
11067
  # A previous prefetch to the origin got a HTTP 503 response with an
11060
11068
  # Retry-After header that has no elapsed yet.
@@ -11070,6 +11078,8 @@ experimental domain Preload
11070
11078
  PrefetchNotEligibleSchemeIsNotHttps
11071
11079
  PrefetchNotEligibleUserHasCookies
11072
11080
  PrefetchNotEligibleUserHasServiceWorker
11081
+ PrefetchNotEligibleBatterySaverEnabled
11082
+ PrefetchNotEligiblePreloadingDisabled
11073
11083
  PrefetchNotFinishedInTime
11074
11084
  PrefetchNotStarted
11075
11085
  PrefetchNotUsedCookiesChanged
@@ -11095,9 +11105,6 @@ experimental domain Preload
11095
11105
  event prerenderStatusUpdated
11096
11106
  parameters
11097
11107
  PreloadingAttemptKey key
11098
- # The frame id of the frame initiating prerender.
11099
- Page.FrameId initiatingFrameId
11100
- string prerenderingUrl
11101
11108
  PreloadingStatus status
11102
11109
  optional PrerenderFinalStatus prerenderStatus
11103
11110
 
@@ -11169,4 +11176,3 @@ experimental domain FedCm
11169
11176
  # Resets the cooldown time, if any, to allow the next FedCM call to show
11170
11177
  # a dialog even if one was recently dismissed by the user.
11171
11178
  command resetCooldown
11172
-
@@ -1623,6 +1623,14 @@ export namespace ProtocolMapping {
1623
1623
  paramsType: [Protocol.Browser.ExecuteBrowserCommandRequest];
1624
1624
  returnType: void;
1625
1625
  };
1626
+ /**
1627
+ * Allows a site to use privacy sandbox features that require enrollment
1628
+ * without the site actually being enrolled. Only supported on page targets.
1629
+ */
1630
+ 'Browser.addPrivacySandboxEnrollmentOverride': {
1631
+ paramsType: [Protocol.Browser.AddPrivacySandboxEnrollmentOverrideRequest];
1632
+ returnType: void;
1633
+ };
1626
1634
  /**
1627
1635
  * Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the
1628
1636
  * position specified by `location`.
@@ -928,6 +928,12 @@ export namespace ProtocolProxyApi {
928
928
  */
929
929
  executeBrowserCommand(params: Protocol.Browser.ExecuteBrowserCommandRequest): Promise<void>;
930
930
 
931
+ /**
932
+ * Allows a site to use privacy sandbox features that require enrollment
933
+ * without the site actually being enrolled. Only supported on page targets.
934
+ */
935
+ addPrivacySandboxEnrollmentOverride(params: Protocol.Browser.AddPrivacySandboxEnrollmentOverrideRequest): Promise<void>;
936
+
931
937
  /**
932
938
  * Fired when page is about to start a download.
933
939
  */
@@ -3520,7 +3520,7 @@ export namespace Protocol {
3520
3520
  * third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
3521
3521
  * all cases except for success.
3522
3522
  */
3523
- export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'DisabledInSettings' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible');
3523
+ export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'DisabledInSettings' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure');
3524
3524
 
3525
3525
  /**
3526
3526
  * This issue tracks client hints related issues. It's used to deprecate old
@@ -4092,6 +4092,10 @@ export namespace Protocol {
4092
4092
  commandId: BrowserCommandId;
4093
4093
  }
4094
4094
 
4095
+ export interface AddPrivacySandboxEnrollmentOverrideRequest {
4096
+ url: string;
4097
+ }
4098
+
4095
4099
  /**
4096
4100
  * Fired when page is about to start a download.
4097
4101
  */
@@ -17175,7 +17179,7 @@ export namespace Protocol {
17175
17179
  * TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and
17176
17180
  * filter out the ones that aren't necessary to the developers.
17177
17181
  */
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');
17182
+ export type PrefetchStatus = ('PrefetchAllowed' | 'PrefetchFailedIneligibleRedirect' | 'PrefetchFailedInvalidRedirect' | 'PrefetchFailedMIMENotSupported' | 'PrefetchFailedNetError' | 'PrefetchFailedNon2XX' | 'PrefetchFailedPerPageLimitExceeded' | 'PrefetchEvicted' | 'PrefetchHeldback' | 'PrefetchIneligibleRetryAfter' | 'PrefetchIsPrivacyDecoy' | 'PrefetchIsStale' | 'PrefetchNotEligibleBrowserContextOffTheRecord' | 'PrefetchNotEligibleDataSaverEnabled' | 'PrefetchNotEligibleExistingProxy' | 'PrefetchNotEligibleHostIsNonUnique' | 'PrefetchNotEligibleNonDefaultStoragePartition' | 'PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy' | 'PrefetchNotEligibleSchemeIsNotHttps' | 'PrefetchNotEligibleUserHasCookies' | 'PrefetchNotEligibleUserHasServiceWorker' | 'PrefetchNotEligibleBatterySaverEnabled' | 'PrefetchNotEligiblePreloadingDisabled' | 'PrefetchNotFinishedInTime' | 'PrefetchNotStarted' | 'PrefetchNotUsedCookiesChanged' | 'PrefetchProxyNotAvailable' | 'PrefetchResponseUsed' | 'PrefetchSuccessfulButNotUsed' | 'PrefetchNotUsedProbeFailed');
17179
17183
 
17180
17184
  /**
17181
17185
  * Upsert. Currently, it is only emitted when a rule set added.
@@ -17232,11 +17236,6 @@ export namespace Protocol {
17232
17236
  */
17233
17237
  export interface PrerenderStatusUpdatedEvent {
17234
17238
  key: PreloadingAttemptKey;
17235
- /**
17236
- * The frame id of the frame initiating prerender.
17237
- */
17238
- initiatingFrameId: Page.FrameId;
17239
- prerenderingUrl: string;
17240
17239
  status: PreloadingStatus;
17241
17240
  prerenderStatus?: PrerenderFinalStatus;
17242
17241
  }