devtools-protocol 0.0.1145810 → 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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1145810",
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.
@@ -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' | 'PrefetchNotEligibleBatterySaverEnabled' | 'PrefetchNotEligiblePreloadingDisabled' | '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.