devtools-protocol 0.0.1213968 → 0.0.1219864

Sign up to get free protection for your applications and to get access to all the features.
@@ -1647,6 +1647,8 @@
1647
1647
  "IdTokenHttpNotFound",
1648
1648
  "IdTokenNoResponse",
1649
1649
  "IdTokenInvalidResponse",
1650
+ "IdTokenIdpErrorResponse",
1651
+ "IdTokenCrossSiteIdpErrorResponse",
1650
1652
  "IdTokenInvalidRequest",
1651
1653
  "IdTokenInvalidContentType",
1652
1654
  "ErrorIdToken",
@@ -2517,7 +2519,7 @@
2517
2519
  },
2518
2520
  {
2519
2521
  "id": "PermissionDescriptor",
2520
- "description": "Definition of PermissionDescriptor defined in the Permissions API:\nhttps://w3c.github.io/permissions/#dictdef-permissiondescriptor.",
2522
+ "description": "Definition of PermissionDescriptor defined in the Permissions API:\nhttps://w3c.github.io/permissions/#dom-permissiondescriptor.",
2521
2523
  "experimental": true,
2522
2524
  "type": "object",
2523
2525
  "properties": [
@@ -16263,6 +16265,7 @@
16263
16265
  "unload",
16264
16266
  "usb",
16265
16267
  "vertical-scroll",
16268
+ "web-printing",
16266
16269
  "web-share",
16267
16270
  "window-management",
16268
16271
  "window-placement",
@@ -19816,6 +19819,11 @@
19816
19819
  "name": "targetId",
19817
19820
  "optional": true,
19818
19821
  "$ref": "Target.TargetID"
19822
+ },
19823
+ {
19824
+ "name": "routerRules",
19825
+ "optional": true,
19826
+ "type": "string"
19819
19827
  }
19820
19828
  ]
19821
19829
  },
@@ -24345,6 +24353,27 @@
24345
24353
  "PrefetchSuccessfulButNotUsed",
24346
24354
  "PrefetchNotUsedProbeFailed"
24347
24355
  ]
24356
+ },
24357
+ {
24358
+ "id": "PrerenderMismatchedHeaders",
24359
+ "description": "Information of headers to be displayed when the header mismatch occurred.",
24360
+ "type": "object",
24361
+ "properties": [
24362
+ {
24363
+ "name": "headerName",
24364
+ "type": "string"
24365
+ },
24366
+ {
24367
+ "name": "initialValue",
24368
+ "optional": true,
24369
+ "type": "string"
24370
+ },
24371
+ {
24372
+ "name": "activationValue",
24373
+ "optional": true,
24374
+ "type": "string"
24375
+ }
24376
+ ]
24348
24377
  }
24349
24378
  ],
24350
24379
  "commands": [
@@ -24454,6 +24483,14 @@
24454
24483
  "description": "This is used to give users more information about the name of Mojo interface\nthat is incompatible with prerender and has caused the cancellation of the attempt.",
24455
24484
  "optional": true,
24456
24485
  "type": "string"
24486
+ },
24487
+ {
24488
+ "name": "mismatchedHeaders",
24489
+ "optional": true,
24490
+ "type": "array",
24491
+ "items": {
24492
+ "$ref": "PrerenderMismatchedHeaders"
24493
+ }
24457
24494
  }
24458
24495
  ]
24459
24496
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1213968",
3
+ "version": "0.0.1219864",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -827,6 +827,8 @@ experimental domain Audits
827
827
  IdTokenHttpNotFound
828
828
  IdTokenNoResponse
829
829
  IdTokenInvalidResponse
830
+ IdTokenIdpErrorResponse
831
+ IdTokenCrossSiteIdpErrorResponse
830
832
  IdTokenInvalidRequest
831
833
  IdTokenInvalidContentType
832
834
  ErrorIdToken
@@ -1249,7 +1251,7 @@ domain Browser
1249
1251
  prompt
1250
1252
 
1251
1253
  # Definition of PermissionDescriptor defined in the Permissions API:
1252
- # https://w3c.github.io/permissions/#dictdef-permissiondescriptor.
1254
+ # https://w3c.github.io/permissions/#dom-permissiondescriptor.
1253
1255
  experimental type PermissionDescriptor extends object
1254
1256
  properties
1255
1257
  # Name of permission.
@@ -7627,6 +7629,7 @@ domain Page
7627
7629
  unload
7628
7630
  usb
7629
7631
  vertical-scroll
7632
+ web-printing
7630
7633
  web-share
7631
7634
  # Alias for 'window-placement' (crbug.com/1328581).
7632
7635
  window-management
@@ -9344,6 +9347,7 @@ experimental domain ServiceWorker
9344
9347
  optional number scriptResponseTime
9345
9348
  optional array of Target.TargetID controlledClients
9346
9349
  optional Target.TargetID targetId
9350
+ optional string routerRules
9347
9351
 
9348
9352
  # ServiceWorker error message.
9349
9353
  type ServiceWorkerErrorMessage extends object
@@ -11571,6 +11575,13 @@ experimental domain Preload
11571
11575
  PrefetchStatus prefetchStatus
11572
11576
  Network.RequestId requestId
11573
11577
 
11578
+ # Information of headers to be displayed when the header mismatch occurred.
11579
+ type PrerenderMismatchedHeaders extends object
11580
+ properties
11581
+ string headerName
11582
+ optional string initialValue
11583
+ optional string activationValue
11584
+
11574
11585
  # Fired when a prerender attempt is updated.
11575
11586
  event prerenderStatusUpdated
11576
11587
  parameters
@@ -11580,6 +11591,7 @@ experimental domain Preload
11580
11591
  # This is used to give users more information about the name of Mojo interface
11581
11592
  # that is incompatible with prerender and has caused the cancellation of the attempt.
11582
11593
  optional string disallowedMojoInterface
11594
+ optional array of PrerenderMismatchedHeaders mismatchedHeaders
11583
11595
 
11584
11596
  # Send a list of sources for all preloading attempts in a document.
11585
11597
  event preloadingAttemptSourcesUpdated
@@ -3519,7 +3519,7 @@ export namespace Protocol {
3519
3519
  * third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
3520
3520
  * all cases except for success.
3521
3521
  */
3522
- 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' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp');
3522
+ 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' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp');
3523
3523
 
3524
3524
  export interface FederatedAuthUserInfoRequestIssueDetails {
3525
3525
  federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
@@ -3975,7 +3975,7 @@ export namespace Protocol {
3975
3975
 
3976
3976
  /**
3977
3977
  * Definition of PermissionDescriptor defined in the Permissions API:
3978
- * https://w3c.github.io/permissions/#dictdef-permissiondescriptor.
3978
+ * https://w3c.github.io/permissions/#dom-permissiondescriptor.
3979
3979
  */
3980
3980
  export interface PermissionDescriptor {
3981
3981
  /**
@@ -12860,7 +12860,7 @@ export namespace Protocol {
12860
12860
  * All Permissions Policy features. This enum should match the one defined
12861
12861
  * in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
12862
12862
  */
12863
- export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factor' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'storage-access' | 'sync-xhr' | 'unload' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking');
12863
+ export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factor' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'storage-access' | 'sync-xhr' | 'unload' | 'usb' | 'vertical-scroll' | 'web-printing' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking');
12864
12864
 
12865
12865
  /**
12866
12866
  * Reason for a permissions policy feature to be disabled.
@@ -15018,6 +15018,7 @@ export namespace Protocol {
15018
15018
  scriptResponseTime?: number;
15019
15019
  controlledClients?: Target.TargetID[];
15020
15020
  targetId?: Target.TargetID;
15021
+ routerRules?: string;
15021
15022
  }
15022
15023
 
15023
15024
  /**
@@ -17643,6 +17644,15 @@ export namespace Protocol {
17643
17644
  */
17644
17645
  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');
17645
17646
 
17647
+ /**
17648
+ * Information of headers to be displayed when the header mismatch occurred.
17649
+ */
17650
+ export interface PrerenderMismatchedHeaders {
17651
+ headerName: string;
17652
+ initialValue?: string;
17653
+ activationValue?: string;
17654
+ }
17655
+
17646
17656
  /**
17647
17657
  * Upsert. Currently, it is only emitted when a rule set added.
17648
17658
  */
@@ -17692,6 +17702,7 @@ export namespace Protocol {
17692
17702
  * that is incompatible with prerender and has caused the cancellation of the attempt.
17693
17703
  */
17694
17704
  disallowedMojoInterface?: string;
17705
+ mismatchedHeaders?: PrerenderMismatchedHeaders[];
17695
17706
  }
17696
17707
 
17697
17708
  /**