devtools-protocol 0.0.1030398 → 0.0.1032240

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.
@@ -991,7 +991,8 @@
991
991
  "ExcludeSameSiteLax",
992
992
  "ExcludeSameSiteStrict",
993
993
  "ExcludeInvalidSameParty",
994
- "ExcludeSamePartyCrossPartyContext"
994
+ "ExcludeSamePartyCrossPartyContext",
995
+ "ExcludeDomainNonASCII"
995
996
  ]
996
997
  },
997
998
  {
@@ -1006,7 +1007,8 @@
1006
1007
  "WarnSameSiteStrictCrossDowngradeLax",
1007
1008
  "WarnSameSiteLaxCrossDowngradeStrict",
1008
1009
  "WarnSameSiteLaxCrossDowngradeLax",
1009
- "WarnAttributeValueExceedsMaxSize"
1010
+ "WarnAttributeValueExceedsMaxSize",
1011
+ "WarnDomainNonASCII"
1010
1012
  ]
1011
1013
  },
1012
1014
  {
@@ -1451,7 +1453,8 @@
1451
1453
  "InvalidHeader",
1452
1454
  "InvalidRegisterTriggerHeader",
1453
1455
  "InvalidEligibleHeader",
1454
- "TooManyConcurrentRequests"
1456
+ "TooManyConcurrentRequests",
1457
+ "SourceAndTriggerHeaders"
1455
1458
  ]
1456
1459
  },
1457
1460
  {
@@ -1665,7 +1668,6 @@
1665
1668
  "ClientMetadataHttpNotFound",
1666
1669
  "ClientMetadataNoResponse",
1667
1670
  "ClientMetadataInvalidResponse",
1668
- "ClientMetadataMissingPrivacyPolicyUrl",
1669
1671
  "DisabledInSettings",
1670
1672
  "ErrorFetchingSignin",
1671
1673
  "InvalidSigninResponse",
@@ -9120,7 +9122,14 @@
9120
9122
  "parameters": [
9121
9123
  {
9122
9124
  "name": "securityOrigin",
9123
- "description": "Security origin.",
9125
+ "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
9126
+ "optional": true,
9127
+ "type": "string"
9128
+ },
9129
+ {
9130
+ "name": "storageKey",
9131
+ "description": "Storage key.",
9132
+ "optional": true,
9124
9133
  "type": "string"
9125
9134
  }
9126
9135
  ],
@@ -17861,6 +17870,7 @@
17861
17870
  {
17862
17871
  "name": "prerenderAttemptCompleted",
17863
17872
  "description": "Fired when a prerender attempt is completed.",
17873
+ "experimental": true,
17864
17874
  "parameters": [
17865
17875
  {
17866
17876
  "name": "initiatingFrameId",
@@ -17874,6 +17884,12 @@
17874
17884
  {
17875
17885
  "name": "finalStatus",
17876
17886
  "$ref": "PrerenderFinalStatus"
17887
+ },
17888
+ {
17889
+ "name": "reasonDetails",
17890
+ "description": "This is used to give users more information about the cancellation details,\nand this will be formatted for display.",
17891
+ "optional": true,
17892
+ "type": "string"
17877
17893
  }
17878
17894
  ]
17879
17895
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1030398",
3
+ "version": "0.0.1032240",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -481,6 +481,7 @@ experimental domain Audits
481
481
  ExcludeSameSiteStrict
482
482
  ExcludeInvalidSameParty
483
483
  ExcludeSamePartyCrossPartyContext
484
+ ExcludeDomainNonASCII
484
485
 
485
486
  type CookieWarningReason extends string
486
487
  enum
@@ -493,6 +494,7 @@ experimental domain Audits
493
494
  WarnSameSiteLaxCrossDowngradeStrict
494
495
  WarnSameSiteLaxCrossDowngradeLax
495
496
  WarnAttributeValueExceedsMaxSize
497
+ WarnDomainNonASCII
496
498
 
497
499
  type CookieOperation extends string
498
500
  enum
@@ -706,6 +708,7 @@ experimental domain Audits
706
708
  InvalidRegisterTriggerHeader
707
709
  InvalidEligibleHeader
708
710
  TooManyConcurrentRequests
711
+ SourceAndTriggerHeaders
709
712
 
710
713
  # Details for issues around "Attribution Reporting API" usage.
711
714
  # Explainer: https://github.com/WICG/attribution-reporting-api
@@ -843,7 +846,6 @@ experimental domain Audits
843
846
  ClientMetadataHttpNotFound
844
847
  ClientMetadataNoResponse
845
848
  ClientMetadataInvalidResponse
846
- ClientMetadataMissingPrivacyPolicyUrl
847
849
  DisabledInSettings
848
850
  ErrorFetchingSignin
849
851
  InvalidSigninResponse
@@ -4181,8 +4183,11 @@ experimental domain IndexedDB
4181
4183
  # Requests database names for given security origin.
4182
4184
  command requestDatabaseNames
4183
4185
  parameters
4186
+ # At least and at most one of securityOrigin, storageKey must be specified.
4184
4187
  # Security origin.
4185
- string securityOrigin
4188
+ optional string securityOrigin
4189
+ # Storage key.
4190
+ optional string storageKey
4186
4191
  returns
4187
4192
  # Database names for origin.
4188
4193
  array of string databaseNames
@@ -8455,12 +8460,15 @@ domain Page
8455
8460
  FailToGetMemoryUsage
8456
8461
 
8457
8462
  # Fired when a prerender attempt is completed.
8458
- event prerenderAttemptCompleted
8463
+ experimental event prerenderAttemptCompleted
8459
8464
  parameters
8460
8465
  # The frame id of the frame initiating prerendering.
8461
8466
  FrameId initiatingFrameId
8462
8467
  string prerenderingUrl
8463
8468
  PrerenderFinalStatus finalStatus
8469
+ # This is used to give users more information about the cancellation details,
8470
+ # and this will be formatted for display.
8471
+ optional string reasonDetails
8464
8472
 
8465
8473
  event loadEventFired
8466
8474
  parameters
@@ -2740,7 +2740,7 @@ export namespace ProtocolMapping {
2740
2740
  * Requests database names for given security origin.
2741
2741
  */
2742
2742
  'IndexedDB.requestDatabaseNames': {
2743
- paramsType: [Protocol.IndexedDB.RequestDatabaseNamesRequest];
2743
+ paramsType: [Protocol.IndexedDB.RequestDatabaseNamesRequest?];
2744
2744
  returnType: Protocol.IndexedDB.RequestDatabaseNamesResponse;
2745
2745
  };
2746
2746
  /**
@@ -3237,9 +3237,9 @@ export namespace Protocol {
3237
3237
  frameId: Page.FrameId;
3238
3238
  }
3239
3239
 
3240
- export type CookieExclusionReason = ('ExcludeSameSiteUnspecifiedTreatedAsLax' | 'ExcludeSameSiteNoneInsecure' | 'ExcludeSameSiteLax' | 'ExcludeSameSiteStrict' | 'ExcludeInvalidSameParty' | 'ExcludeSamePartyCrossPartyContext');
3240
+ export type CookieExclusionReason = ('ExcludeSameSiteUnspecifiedTreatedAsLax' | 'ExcludeSameSiteNoneInsecure' | 'ExcludeSameSiteLax' | 'ExcludeSameSiteStrict' | 'ExcludeInvalidSameParty' | 'ExcludeSamePartyCrossPartyContext' | 'ExcludeDomainNonASCII');
3241
3241
 
3242
- export type CookieWarningReason = ('WarnSameSiteUnspecifiedCrossSiteContext' | 'WarnSameSiteNoneInsecure' | 'WarnSameSiteUnspecifiedLaxAllowUnsafe' | 'WarnSameSiteStrictLaxDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeLax' | 'WarnSameSiteLaxCrossDowngradeStrict' | 'WarnSameSiteLaxCrossDowngradeLax' | 'WarnAttributeValueExceedsMaxSize');
3242
+ export type CookieWarningReason = ('WarnSameSiteUnspecifiedCrossSiteContext' | 'WarnSameSiteNoneInsecure' | 'WarnSameSiteUnspecifiedLaxAllowUnsafe' | 'WarnSameSiteStrictLaxDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeLax' | 'WarnSameSiteLaxCrossDowngradeStrict' | 'WarnSameSiteLaxCrossDowngradeLax' | 'WarnAttributeValueExceedsMaxSize' | 'WarnDomainNonASCII');
3243
3243
 
3244
3244
  export type CookieOperation = ('SetCookie' | 'ReadCookie');
3245
3245
 
@@ -3423,7 +3423,7 @@ export namespace Protocol {
3423
3423
  clientSecurityState?: Network.ClientSecurityState;
3424
3424
  }
3425
3425
 
3426
- export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader' | 'InvalidEligibleHeader' | 'TooManyConcurrentRequests');
3426
+ export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader' | 'InvalidEligibleHeader' | 'TooManyConcurrentRequests' | 'SourceAndTriggerHeaders');
3427
3427
 
3428
3428
  /**
3429
3429
  * Details for issues around "Attribution Reporting API" usage.
@@ -3494,7 +3494,7 @@ export namespace Protocol {
3494
3494
  * third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
3495
3495
  * all cases except for success.
3496
3496
  */
3497
- export type FederatedAuthRequestIssueReason = ('ApprovalDeclined' | 'TooManyRequests' | 'ManifestListHttpNotFound' | 'ManifestListNoResponse' | 'ManifestListInvalidResponse' | 'ManifestNotInManifestList' | 'ManifestListTooBig' | 'ManifestHttpNotFound' | 'ManifestNoResponse' | 'ManifestInvalidResponse' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataMissingPrivacyPolicyUrl' | 'DisabledInSettings' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenInvalidRequest' | 'ErrorIdToken' | 'Canceled');
3497
+ export type FederatedAuthRequestIssueReason = ('ApprovalDeclined' | 'TooManyRequests' | 'ManifestListHttpNotFound' | 'ManifestListNoResponse' | 'ManifestListInvalidResponse' | 'ManifestNotInManifestList' | 'ManifestListTooBig' | 'ManifestHttpNotFound' | 'ManifestNoResponse' | 'ManifestInvalidResponse' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'DisabledInSettings' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenInvalidRequest' | 'ErrorIdToken' | 'Canceled');
3498
3498
 
3499
3499
  /**
3500
3500
  * This issue tracks client hints related issues. It's used to deprecate old
@@ -8262,9 +8262,14 @@ export namespace Protocol {
8262
8262
 
8263
8263
  export interface RequestDatabaseNamesRequest {
8264
8264
  /**
8265
+ * At least and at most one of securityOrigin, storageKey must be specified.
8265
8266
  * Security origin.
8266
8267
  */
8267
- securityOrigin: string;
8268
+ securityOrigin?: string;
8269
+ /**
8270
+ * Storage key.
8271
+ */
8272
+ storageKey?: string;
8268
8273
  }
8269
8274
 
8270
8275
  export interface RequestDatabaseNamesResponse {
@@ -13868,6 +13873,11 @@ export namespace Protocol {
13868
13873
  initiatingFrameId: FrameId;
13869
13874
  prerenderingUrl: string;
13870
13875
  finalStatus: PrerenderFinalStatus;
13876
+ /**
13877
+ * This is used to give users more information about the cancellation details,
13878
+ * and this will be formatted for display.
13879
+ */
13880
+ reasonDetails?: string;
13871
13881
  }
13872
13882
 
13873
13883
  export interface LoadEventFiredEvent {