devtools-protocol 0.0.1634055 → 0.0.1636713

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.
@@ -1560,6 +1560,7 @@
1560
1560
  "WriteErrorNonSecureContext",
1561
1561
  "WriteErrorNonStringIdField",
1562
1562
  "WriteErrorNonStringInMatchDestList",
1563
+ "WriteErrorInvalidMatchDestList",
1563
1564
  "WriteErrorNonStringMatchField",
1564
1565
  "WriteErrorNonTokenTypeField",
1565
1566
  "WriteErrorRequestAborted",
@@ -1971,6 +1972,45 @@
1971
1972
  "NoReturningUserFromFetchedAccounts"
1972
1973
  ]
1973
1974
  },
1975
+ {
1976
+ "id": "EmailVerificationRequestIssueDetails",
1977
+ "type": "object",
1978
+ "properties": [
1979
+ {
1980
+ "name": "emailVerificationRequestIssueReason",
1981
+ "$ref": "EmailVerificationRequestIssueReason"
1982
+ }
1983
+ ]
1984
+ },
1985
+ {
1986
+ "id": "EmailVerificationRequestIssueReason",
1987
+ "description": "Represents the failure reason when an email verification request fails.\nShould be updated alongside EmailVerificationRequestResult in\nthird_party/blink/public/mojom/devtools/inspector_issue.mojom.",
1988
+ "type": "string",
1989
+ "enum": [
1990
+ "InvalidEmail",
1991
+ "DnsFetchFailed",
1992
+ "DnsInvalidRecord",
1993
+ "WellKnownHttpNotFound",
1994
+ "WellKnownNoResponse",
1995
+ "WellKnownInvalidResponse",
1996
+ "WellKnownListEmpty",
1997
+ "WellKnownInvalidContentType",
1998
+ "WellKnownMissingIssuanceEndpoint",
1999
+ "WellKnownIssuanceEndpointCrossOrigin",
2000
+ "WellKnownUnsupportedSigningAlgorithm",
2001
+ "TokenHttpNotFound",
2002
+ "TokenNoResponse",
2003
+ "TokenInvalidResponse",
2004
+ "TokenInvalidContentType",
2005
+ "TokenMalformedSdJwt",
2006
+ "TokenInvalidSdJwt",
2007
+ "KeyBindingSigningFailed",
2008
+ "RpOriginIsOpaque",
2009
+ "WellKnownMissingAccountsEndpoint",
2010
+ "UserLoggedOut",
2011
+ "WellKnownAccountsEndpointCrossOrigin"
2012
+ ]
2013
+ },
1974
2014
  {
1975
2015
  "id": "ClientHintIssueDetails",
1976
2016
  "description": "This issue tracks client hints related issues. It's used to deprecate old\nfeatures, encourage the use of new ones, and provide general guidance.",
@@ -2294,7 +2334,8 @@
2294
2334
  "UserReidentificationIssue",
2295
2335
  "PermissionElementIssue",
2296
2336
  "PerformanceIssue",
2297
- "SelectivePermissionsInterventionIssue"
2337
+ "SelectivePermissionsInterventionIssue",
2338
+ "EmailVerificationRequestIssue"
2298
2339
  ]
2299
2340
  },
2300
2341
  {
@@ -2447,6 +2488,11 @@
2447
2488
  "name": "selectivePermissionsInterventionIssueDetails",
2448
2489
  "optional": true,
2449
2490
  "$ref": "SelectivePermissionsInterventionIssueDetails"
2491
+ },
2492
+ {
2493
+ "name": "emailVerificationRequestIssueDetails",
2494
+ "optional": true,
2495
+ "$ref": "EmailVerificationRequestIssueDetails"
2450
2496
  }
2451
2497
  ]
2452
2498
  },
@@ -11406,22 +11452,7 @@
11406
11452
  },
11407
11453
  {
11408
11454
  "name": "setPressureStateOverride",
11409
- "description": "TODO: OBSOLETE: To remove when setPressureDataOverride is merged.\nProvides a given pressure state that will be processed and eventually be\ndelivered to PressureObserver users. |source| must have been previously\noverridden by setPressureSourceOverrideEnabled.",
11410
- "experimental": true,
11411
- "parameters": [
11412
- {
11413
- "name": "source",
11414
- "$ref": "PressureSource"
11415
- },
11416
- {
11417
- "name": "state",
11418
- "$ref": "PressureState"
11419
- }
11420
- ]
11421
- },
11422
- {
11423
- "name": "setPressureDataOverride",
11424
- "description": "Provides a given pressure data set that will be processed and eventually be\ndelivered to PressureObserver users. |source| must have been previously\noverridden by setPressureSourceOverrideEnabled.",
11455
+ "description": "Provides a given pressure state that will be processed and eventually be\ndelivered to PressureObserver users. |source| must have been previously\noverridden by setPressureSourceOverrideEnabled.",
11425
11456
  "experimental": true,
11426
11457
  "parameters": [
11427
11458
  {
@@ -11431,11 +11462,6 @@
11431
11462
  {
11432
11463
  "name": "state",
11433
11464
  "$ref": "PressureState"
11434
- },
11435
- {
11436
- "name": "ownContributionEstimate",
11437
- "optional": true,
11438
- "type": "number"
11439
11465
  }
11440
11466
  ]
11441
11467
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1634055",
3
+ "version": "0.0.1636713",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -316,6 +316,7 @@ experimental domain Audits
316
316
  WriteErrorNonSecureContext
317
317
  WriteErrorNonStringIdField
318
318
  WriteErrorNonStringInMatchDestList
319
+ WriteErrorInvalidMatchDestList
319
320
  WriteErrorNonStringMatchField
320
321
  WriteErrorNonTokenTypeField
321
322
  WriteErrorRequestAborted
@@ -560,6 +561,38 @@ experimental domain Audits
560
561
  InvalidAccountsResponse
561
562
  NoReturningUserFromFetchedAccounts
562
563
 
564
+ type EmailVerificationRequestIssueDetails extends object
565
+ properties
566
+ EmailVerificationRequestIssueReason emailVerificationRequestIssueReason
567
+
568
+ # Represents the failure reason when an email verification request fails.
569
+ # Should be updated alongside EmailVerificationRequestResult in
570
+ # third_party/blink/public/mojom/devtools/inspector_issue.mojom.
571
+ type EmailVerificationRequestIssueReason extends string
572
+ enum
573
+ InvalidEmail
574
+ DnsFetchFailed
575
+ DnsInvalidRecord
576
+ WellKnownHttpNotFound
577
+ WellKnownNoResponse
578
+ WellKnownInvalidResponse
579
+ WellKnownListEmpty
580
+ WellKnownInvalidContentType
581
+ WellKnownMissingIssuanceEndpoint
582
+ WellKnownIssuanceEndpointCrossOrigin
583
+ WellKnownUnsupportedSigningAlgorithm
584
+ TokenHttpNotFound
585
+ TokenNoResponse
586
+ TokenInvalidResponse
587
+ TokenInvalidContentType
588
+ TokenMalformedSdJwt
589
+ TokenInvalidSdJwt
590
+ KeyBindingSigningFailed
591
+ RpOriginIsOpaque
592
+ WellKnownMissingAccountsEndpoint
593
+ UserLoggedOut
594
+ WellKnownAccountsEndpointCrossOrigin
595
+
563
596
  # This issue tracks client hints related issues. It's used to deprecate old
564
597
  # features, encourage the use of new ones, and provide general guidance.
565
598
  type ClientHintIssueDetails extends object
@@ -743,6 +776,7 @@ experimental domain Audits
743
776
  PermissionElementIssue
744
777
  PerformanceIssue
745
778
  SelectivePermissionsInterventionIssue
779
+ EmailVerificationRequestIssue
746
780
 
747
781
  # This struct holds a list of optional fields with additional information
748
782
  # specific to the kind of issue. When adding a new issue code, please also
@@ -778,6 +812,7 @@ experimental domain Audits
778
812
  optional PermissionElementIssueDetails permissionElementIssueDetails
779
813
  optional PerformanceIssueDetails performanceIssueDetails
780
814
  optional SelectivePermissionsInterventionIssueDetails selectivePermissionsInterventionIssueDetails
815
+ optional EmailVerificationRequestIssueDetails emailVerificationRequestIssueDetails
781
816
 
782
817
  # A unique id for a DevTools inspector issue. Allows other entities (e.g.
783
818
  # exceptions, CDP message, console messages, etc.) to reference an issue.
@@ -436,7 +436,6 @@ domain Emulation
436
436
  PressureSource source
437
437
  optional PressureMetadata metadata
438
438
 
439
- # TODO: OBSOLETE: To remove when setPressureDataOverride is merged.
440
439
  # Provides a given pressure state that will be processed and eventually be
441
440
  # delivered to PressureObserver users. |source| must have been previously
442
441
  # overridden by setPressureSourceOverrideEnabled.
@@ -445,15 +444,6 @@ domain Emulation
445
444
  PressureSource source
446
445
  PressureState state
447
446
 
448
- # Provides a given pressure data set that will be processed and eventually be
449
- # delivered to PressureObserver users. |source| must have been previously
450
- # overridden by setPressureSourceOverrideEnabled.
451
- experimental command setPressureDataOverride
452
- parameters
453
- PressureSource source
454
- PressureState state
455
- optional number ownContributionEstimate
456
-
457
447
  # Overrides the Idle state.
458
448
  command setIdleOverride
459
449
  parameters
@@ -3442,7 +3442,6 @@ export namespace ProtocolMapping {
3442
3442
  returnType: void;
3443
3443
  };
3444
3444
  /**
3445
- * TODO: OBSOLETE: To remove when setPressureDataOverride is merged.
3446
3445
  * Provides a given pressure state that will be processed and eventually be
3447
3446
  * delivered to PressureObserver users. |source| must have been previously
3448
3447
  * overridden by setPressureSourceOverrideEnabled.
@@ -3452,16 +3451,6 @@ export namespace ProtocolMapping {
3452
3451
  paramsType: [Protocol.Emulation.SetPressureStateOverrideRequest];
3453
3452
  returnType: void;
3454
3453
  };
3455
- /**
3456
- * Provides a given pressure data set that will be processed and eventually be
3457
- * delivered to PressureObserver users. |source| must have been previously
3458
- * overridden by setPressureSourceOverrideEnabled.
3459
- * @experimental
3460
- */
3461
- 'Emulation.setPressureDataOverride': {
3462
- paramsType: [Protocol.Emulation.SetPressureDataOverrideRequest];
3463
- returnType: void;
3464
- };
3465
3454
  /**
3466
3455
  * Overrides the Idle state.
3467
3456
  */
@@ -2279,7 +2279,6 @@ export namespace ProtocolProxyApi {
2279
2279
  setPressureSourceOverrideEnabled(params: Protocol.Emulation.SetPressureSourceOverrideEnabledRequest): Promise<void>;
2280
2280
 
2281
2281
  /**
2282
- * TODO: OBSOLETE: To remove when setPressureDataOverride is merged.
2283
2282
  * Provides a given pressure state that will be processed and eventually be
2284
2283
  * delivered to PressureObserver users. |source| must have been previously
2285
2284
  * overridden by setPressureSourceOverrideEnabled.
@@ -2287,14 +2286,6 @@ export namespace ProtocolProxyApi {
2287
2286
  */
2288
2287
  setPressureStateOverride(params: Protocol.Emulation.SetPressureStateOverrideRequest): Promise<void>;
2289
2288
 
2290
- /**
2291
- * Provides a given pressure data set that will be processed and eventually be
2292
- * delivered to PressureObserver users. |source| must have been previously
2293
- * overridden by setPressureSourceOverrideEnabled.
2294
- * @experimental
2295
- */
2296
- setPressureDataOverride(params: Protocol.Emulation.SetPressureDataOverrideRequest): Promise<void>;
2297
-
2298
2289
  /**
2299
2290
  * Overrides the Idle state.
2300
2291
  */
@@ -2417,7 +2417,6 @@ export namespace ProtocolTestsProxyApi {
2417
2417
  setPressureSourceOverrideEnabled(params: Protocol.Emulation.SetPressureSourceOverrideEnabledRequest): Promise<{id: number, result: void, sessionId: string}>;
2418
2418
 
2419
2419
  /**
2420
- * TODO: OBSOLETE: To remove when setPressureDataOverride is merged.
2421
2420
  * Provides a given pressure state that will be processed and eventually be
2422
2421
  * delivered to PressureObserver users. |source| must have been previously
2423
2422
  * overridden by setPressureSourceOverrideEnabled.
@@ -2425,14 +2424,6 @@ export namespace ProtocolTestsProxyApi {
2425
2424
  */
2426
2425
  setPressureStateOverride(params: Protocol.Emulation.SetPressureStateOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
2427
2426
 
2428
- /**
2429
- * Provides a given pressure data set that will be processed and eventually be
2430
- * delivered to PressureObserver users. |source| must have been previously
2431
- * overridden by setPressureSourceOverrideEnabled.
2432
- * @experimental
2433
- */
2434
- setPressureDataOverride(params: Protocol.Emulation.SetPressureDataOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
2435
-
2436
2427
  /**
2437
2428
  * Overrides the Idle state.
2438
2429
  */
@@ -3640,7 +3640,7 @@ export namespace Protocol {
3640
3640
 
3641
3641
  export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader' | 'SourceAndTriggerHeaders' | 'SourceIgnored' | 'TriggerIgnored' | 'OsSourceIgnored' | 'OsTriggerIgnored' | 'InvalidRegisterOsSourceHeader' | 'InvalidRegisterOsTriggerHeader' | 'WebAndOsHeaders' | 'NoWebOrOsSupport' | 'NavigationRegistrationWithoutTransientUserActivation' | 'InvalidInfoHeader' | 'NoRegisterSourceHeader' | 'NoRegisterTriggerHeader' | 'NoRegisterOsSourceHeader' | 'NoRegisterOsTriggerHeader' | 'NavigationRegistrationUniqueScopeAlreadySet');
3642
3642
 
3643
- export type SharedDictionaryError = ('UseErrorCrossOriginNoCorsRequest' | 'UseErrorDictionaryLoadFailure' | 'UseErrorMatchingDictionaryNotUsed' | 'UseErrorUnexpectedContentDictionaryHeader' | 'WriteErrorCossOriginNoCorsRequest' | 'WriteErrorDisallowedBySettings' | 'WriteErrorExpiredResponse' | 'WriteErrorFeatureDisabled' | 'WriteErrorInsufficientResources' | 'WriteErrorInvalidMatchField' | 'WriteErrorInvalidStructuredHeader' | 'WriteErrorInvalidTTLField' | 'WriteErrorNavigationRequest' | 'WriteErrorNoMatchField' | 'WriteErrorNonIntegerTTLField' | 'WriteErrorNonListMatchDestField' | 'WriteErrorNonSecureContext' | 'WriteErrorNonStringIdField' | 'WriteErrorNonStringInMatchDestList' | 'WriteErrorNonStringMatchField' | 'WriteErrorNonTokenTypeField' | 'WriteErrorRequestAborted' | 'WriteErrorShuttingDown' | 'WriteErrorTooLongIdField' | 'WriteErrorUnsupportedType');
3643
+ export type SharedDictionaryError = ('UseErrorCrossOriginNoCorsRequest' | 'UseErrorDictionaryLoadFailure' | 'UseErrorMatchingDictionaryNotUsed' | 'UseErrorUnexpectedContentDictionaryHeader' | 'WriteErrorCossOriginNoCorsRequest' | 'WriteErrorDisallowedBySettings' | 'WriteErrorExpiredResponse' | 'WriteErrorFeatureDisabled' | 'WriteErrorInsufficientResources' | 'WriteErrorInvalidMatchField' | 'WriteErrorInvalidStructuredHeader' | 'WriteErrorInvalidTTLField' | 'WriteErrorNavigationRequest' | 'WriteErrorNoMatchField' | 'WriteErrorNonIntegerTTLField' | 'WriteErrorNonListMatchDestField' | 'WriteErrorNonSecureContext' | 'WriteErrorNonStringIdField' | 'WriteErrorNonStringInMatchDestList' | 'WriteErrorInvalidMatchDestList' | 'WriteErrorNonStringMatchField' | 'WriteErrorNonTokenTypeField' | 'WriteErrorRequestAborted' | 'WriteErrorShuttingDown' | 'WriteErrorTooLongIdField' | 'WriteErrorUnsupportedType');
3644
3644
 
3645
3645
  export type SRIMessageSignatureError = ('MissingSignatureHeader' | 'MissingSignatureInputHeader' | 'InvalidSignatureHeader' | 'InvalidSignatureInputHeader' | 'SignatureHeaderValueIsNotByteSequence' | 'SignatureHeaderValueIsParameterized' | 'SignatureHeaderValueIsIncorrectLength' | 'SignatureInputHeaderMissingLabel' | 'SignatureInputHeaderValueNotInnerList' | 'SignatureInputHeaderValueMissingComponents' | 'SignatureInputHeaderInvalidComponentType' | 'SignatureInputHeaderInvalidComponentName' | 'SignatureInputHeaderInvalidHeaderComponentParameter' | 'SignatureInputHeaderInvalidDerivedComponentParameter' | 'SignatureInputHeaderKeyIdLength' | 'SignatureInputHeaderInvalidParameter' | 'SignatureInputHeaderMissingRequiredParameters' | 'ValidationFailedSignatureExpired' | 'ValidationFailedInvalidLength' | 'ValidationFailedSignatureMismatch' | 'ValidationFailedIntegrityMismatch' | 'SignatureBaseUnknownDerivedComponent' | 'SignatureBaseMissingHeader' | 'SignatureBaseInvalidUnencodedDigest' | 'SignatureBaseUnsupportedComponent');
3646
3646
 
@@ -3784,6 +3784,17 @@ export namespace Protocol {
3784
3784
  */
3785
3785
  export type FederatedAuthUserInfoRequestIssueReason = ('NotSameOrigin' | 'NotIframe' | 'NotPotentiallyTrustworthy' | 'NoApiPermission' | 'NotSignedInWithIdp' | 'NoAccountSharingPermission' | 'InvalidConfigOrWellKnown' | 'InvalidAccountsResponse' | 'NoReturningUserFromFetchedAccounts');
3786
3786
 
3787
+ export interface EmailVerificationRequestIssueDetails {
3788
+ emailVerificationRequestIssueReason: EmailVerificationRequestIssueReason;
3789
+ }
3790
+
3791
+ /**
3792
+ * Represents the failure reason when an email verification request fails.
3793
+ * Should be updated alongside EmailVerificationRequestResult in
3794
+ * third_party/blink/public/mojom/devtools/inspector_issue.mojom.
3795
+ */
3796
+ export type EmailVerificationRequestIssueReason = ('InvalidEmail' | 'DnsFetchFailed' | 'DnsInvalidRecord' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'WellKnownMissingIssuanceEndpoint' | 'WellKnownIssuanceEndpointCrossOrigin' | 'WellKnownUnsupportedSigningAlgorithm' | 'TokenHttpNotFound' | 'TokenNoResponse' | 'TokenInvalidResponse' | 'TokenInvalidContentType' | 'TokenMalformedSdJwt' | 'TokenInvalidSdJwt' | 'KeyBindingSigningFailed' | 'RpOriginIsOpaque' | 'WellKnownMissingAccountsEndpoint' | 'UserLoggedOut' | 'WellKnownAccountsEndpointCrossOrigin');
3797
+
3787
3798
  /**
3788
3799
  * This issue tracks client hints related issues. It's used to deprecate old
3789
3800
  * features, encourage the use of new ones, and provide general guidance.
@@ -3950,7 +3961,7 @@ export namespace Protocol {
3950
3961
  * optional fields in InspectorIssueDetails to convey more specific
3951
3962
  * information about the kind of issue.
3952
3963
  */
3953
- export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'ElementAccessibilityIssue' | 'SRIMessageSignatureIssue' | 'UnencodedDigestIssue' | 'ConnectionAllowlistIssue' | 'UserReidentificationIssue' | 'PermissionElementIssue' | 'PerformanceIssue' | 'SelectivePermissionsInterventionIssue');
3964
+ export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'ElementAccessibilityIssue' | 'SRIMessageSignatureIssue' | 'UnencodedDigestIssue' | 'ConnectionAllowlistIssue' | 'UserReidentificationIssue' | 'PermissionElementIssue' | 'PerformanceIssue' | 'SelectivePermissionsInterventionIssue' | 'EmailVerificationRequestIssue');
3954
3965
 
3955
3966
  /**
3956
3967
  * This struct holds a list of optional fields with additional information
@@ -3990,6 +4001,7 @@ export namespace Protocol {
3990
4001
  permissionElementIssueDetails?: PermissionElementIssueDetails;
3991
4002
  performanceIssueDetails?: PerformanceIssueDetails;
3992
4003
  selectivePermissionsInterventionIssueDetails?: SelectivePermissionsInterventionIssueDetails;
4004
+ emailVerificationRequestIssueDetails?: EmailVerificationRequestIssueDetails;
3993
4005
  }
3994
4006
 
3995
4007
  /**
@@ -9706,12 +9718,6 @@ export namespace Protocol {
9706
9718
  state: PressureState;
9707
9719
  }
9708
9720
 
9709
- export interface SetPressureDataOverrideRequest {
9710
- source: PressureSource;
9711
- state: PressureState;
9712
- ownContributionEstimate?: number;
9713
- }
9714
-
9715
9721
  export interface SetIdleOverrideRequest {
9716
9722
  /**
9717
9723
  * Mock isUserActive