devtools-protocol 0.0.1029622 → 0.0.1030896

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
  {
@@ -1450,7 +1452,8 @@
1450
1452
  "InsecureContext",
1451
1453
  "InvalidHeader",
1452
1454
  "InvalidRegisterTriggerHeader",
1453
- "InvalidEligibleHeader"
1455
+ "InvalidEligibleHeader",
1456
+ "TooManyConcurrentRequests"
1454
1457
  ]
1455
1458
  },
1456
1459
  {
@@ -9119,7 +9122,14 @@
9119
9122
  "parameters": [
9120
9123
  {
9121
9124
  "name": "securityOrigin",
9122
- "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,
9123
9133
  "type": "string"
9124
9134
  }
9125
9135
  ],
@@ -19311,6 +19321,17 @@
19311
19321
  }
19312
19322
  ]
19313
19323
  },
19324
+ {
19325
+ "name": "trackIndexedDBForStorageKey",
19326
+ "description": "Registers storage key to be notified when an update occurs to its IndexedDB.",
19327
+ "parameters": [
19328
+ {
19329
+ "name": "storageKey",
19330
+ "description": "Storage key.",
19331
+ "type": "string"
19332
+ }
19333
+ ]
19334
+ },
19314
19335
  {
19315
19336
  "name": "untrackCacheStorageForOrigin",
19316
19337
  "description": "Unregisters origin from receiving notifications for cache storage.",
@@ -19333,6 +19354,17 @@
19333
19354
  }
19334
19355
  ]
19335
19356
  },
19357
+ {
19358
+ "name": "untrackIndexedDBForStorageKey",
19359
+ "description": "Unregisters storage key from receiving notifications for IndexedDB.",
19360
+ "parameters": [
19361
+ {
19362
+ "name": "storageKey",
19363
+ "description": "Storage key.",
19364
+ "type": "string"
19365
+ }
19366
+ ]
19367
+ },
19336
19368
  {
19337
19369
  "name": "getTrustTokens",
19338
19370
  "description": "Returns the number of stored Trust Tokens per issuer for the\ncurrent browsing context.",
@@ -19435,6 +19467,11 @@
19435
19467
  "description": "Origin to update.",
19436
19468
  "type": "string"
19437
19469
  },
19470
+ {
19471
+ "name": "storageKey",
19472
+ "description": "Storage key to update.",
19473
+ "type": "string"
19474
+ },
19438
19475
  {
19439
19476
  "name": "databaseName",
19440
19477
  "description": "Database to update.",
@@ -19455,6 +19492,11 @@
19455
19492
  "name": "origin",
19456
19493
  "description": "Origin to update.",
19457
19494
  "type": "string"
19495
+ },
19496
+ {
19497
+ "name": "storageKey",
19498
+ "description": "Storage key to update.",
19499
+ "type": "string"
19458
19500
  }
19459
19501
  ]
19460
19502
  },
@@ -19849,7 +19891,7 @@
19849
19891
  "properties": [
19850
19892
  {
19851
19893
  "name": "exclude",
19852
- "description": "If set, causes exclusion of mathcing targets from the list.\nThe remainder of filter entries in the filter arrat are ignored.",
19894
+ "description": "If set, causes exclusion of mathcing targets from the list.",
19853
19895
  "optional": true,
19854
19896
  "type": "boolean"
19855
19897
  },
@@ -19863,7 +19905,7 @@
19863
19905
  },
19864
19906
  {
19865
19907
  "id": "TargetFilter",
19866
- "description": "If filter is not specified, the one assumed is [{type: \"browser\", exclude: true}, {}]\n(i.e. include everything but browser).",
19908
+ "description": "The entries in TargetFilter are matched sequentially against targets and\nthe first entry that matches determines if the target is included or not,\ndepending on the value of `exclude` field in the entry.\nIf filter is not specified, the one assumed is\n[{type: \"browser\", exclude: true}, {type: \"tab\", exclude: true}, {}]\n(i.e. include everything but `browser` and `tab`).",
19867
19909
  "experimental": true,
19868
19910
  "type": "array",
19869
19911
  "items": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1029622",
3
+ "version": "0.0.1030896",
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
@@ -705,6 +707,7 @@ experimental domain Audits
705
707
  InvalidHeader
706
708
  InvalidRegisterTriggerHeader
707
709
  InvalidEligibleHeader
710
+ TooManyConcurrentRequests
708
711
 
709
712
  # Details for issues around "Attribution Reporting API" usage.
710
713
  # Explainer: https://github.com/WICG/attribution-reporting-api
@@ -4180,8 +4183,11 @@ experimental domain IndexedDB
4180
4183
  # Requests database names for given security origin.
4181
4184
  command requestDatabaseNames
4182
4185
  parameters
4186
+ # At least and at most one of securityOrigin, storageKey must be specified.
4183
4187
  # Security origin.
4184
- string securityOrigin
4188
+ optional string securityOrigin
4189
+ # Storage key.
4190
+ optional string storageKey
4185
4191
  returns
4186
4192
  # Database names for origin.
4187
4193
  array of string databaseNames
@@ -9091,6 +9097,12 @@ experimental domain Storage
9091
9097
  # Security origin.
9092
9098
  string origin
9093
9099
 
9100
+ # Registers storage key to be notified when an update occurs to its IndexedDB.
9101
+ command trackIndexedDBForStorageKey
9102
+ parameters
9103
+ # Storage key.
9104
+ string storageKey
9105
+
9094
9106
  # Unregisters origin from receiving notifications for cache storage.
9095
9107
  command untrackCacheStorageForOrigin
9096
9108
  parameters
@@ -9103,6 +9115,12 @@ experimental domain Storage
9103
9115
  # Security origin.
9104
9116
  string origin
9105
9117
 
9118
+ # Unregisters storage key from receiving notifications for IndexedDB.
9119
+ command untrackIndexedDBForStorageKey
9120
+ parameters
9121
+ # Storage key.
9122
+ string storageKey
9123
+
9106
9124
  # Returns the number of stored Trust Tokens per issuer for the
9107
9125
  # current browsing context.
9108
9126
  experimental command getTrustTokens
@@ -9150,6 +9168,8 @@ experimental domain Storage
9150
9168
  parameters
9151
9169
  # Origin to update.
9152
9170
  string origin
9171
+ # Storage key to update.
9172
+ string storageKey
9153
9173
  # Database to update.
9154
9174
  string databaseName
9155
9175
  # ObjectStore to update.
@@ -9160,6 +9180,8 @@ experimental domain Storage
9160
9180
  parameters
9161
9181
  # Origin to update.
9162
9182
  string origin
9183
+ # Storage key to update.
9184
+ string storageKey
9163
9185
 
9164
9186
  # One of the interest groups was accessed by the associated page.
9165
9187
  event interestGroupAccessed
@@ -9330,13 +9352,16 @@ domain Target
9330
9352
  experimental type FilterEntry extends object
9331
9353
  properties
9332
9354
  # If set, causes exclusion of mathcing targets from the list.
9333
- # The remainder of filter entries in the filter arrat are ignored.
9334
9355
  optional boolean exclude
9335
9356
  # If not present, matches any type.
9336
9357
  optional string type
9337
9358
 
9338
- # If filter is not specified, the one assumed is [{type: "browser", exclude: true}, {}]
9339
- # (i.e. include everything but browser).
9359
+ # The entries in TargetFilter are matched sequentially against targets and
9360
+ # the first entry that matches determines if the target is included or not,
9361
+ # depending on the value of `exclude` field in the entry.
9362
+ # If filter is not specified, the one assumed is
9363
+ # [{type: "browser", exclude: true}, {type: "tab", exclude: true}, {}]
9364
+ # (i.e. include everything but `browser` and `tab`).
9340
9365
  experimental type TargetFilter extends array of FilterEntry
9341
9366
 
9342
9367
  experimental type RemoteLocation extends object
@@ -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
  /**
@@ -4052,6 +4052,13 @@ export namespace ProtocolMapping {
4052
4052
  paramsType: [Protocol.Storage.TrackIndexedDBForOriginRequest];
4053
4053
  returnType: void;
4054
4054
  };
4055
+ /**
4056
+ * Registers storage key to be notified when an update occurs to its IndexedDB.
4057
+ */
4058
+ 'Storage.trackIndexedDBForStorageKey': {
4059
+ paramsType: [Protocol.Storage.TrackIndexedDBForStorageKeyRequest];
4060
+ returnType: void;
4061
+ };
4055
4062
  /**
4056
4063
  * Unregisters origin from receiving notifications for cache storage.
4057
4064
  */
@@ -4066,6 +4073,13 @@ export namespace ProtocolMapping {
4066
4073
  paramsType: [Protocol.Storage.UntrackIndexedDBForOriginRequest];
4067
4074
  returnType: void;
4068
4075
  };
4076
+ /**
4077
+ * Unregisters storage key from receiving notifications for IndexedDB.
4078
+ */
4079
+ 'Storage.untrackIndexedDBForStorageKey': {
4080
+ paramsType: [Protocol.Storage.UntrackIndexedDBForStorageKeyRequest];
4081
+ returnType: void;
4082
+ };
4069
4083
  /**
4070
4084
  * Returns the number of stored Trust Tokens per issuer for the
4071
4085
  * current browsing context.
@@ -3284,6 +3284,11 @@ export namespace ProtocolProxyApi {
3284
3284
  */
3285
3285
  trackIndexedDBForOrigin(params: Protocol.Storage.TrackIndexedDBForOriginRequest): Promise<void>;
3286
3286
 
3287
+ /**
3288
+ * Registers storage key to be notified when an update occurs to its IndexedDB.
3289
+ */
3290
+ trackIndexedDBForStorageKey(params: Protocol.Storage.TrackIndexedDBForStorageKeyRequest): Promise<void>;
3291
+
3287
3292
  /**
3288
3293
  * Unregisters origin from receiving notifications for cache storage.
3289
3294
  */
@@ -3294,6 +3299,11 @@ export namespace ProtocolProxyApi {
3294
3299
  */
3295
3300
  untrackIndexedDBForOrigin(params: Protocol.Storage.UntrackIndexedDBForOriginRequest): Promise<void>;
3296
3301
 
3302
+ /**
3303
+ * Unregisters storage key from receiving notifications for IndexedDB.
3304
+ */
3305
+ untrackIndexedDBForStorageKey(params: Protocol.Storage.UntrackIndexedDBForStorageKeyRequest): Promise<void>;
3306
+
3297
3307
  /**
3298
3308
  * Returns the number of stored Trust Tokens per issuer for the
3299
3309
  * current browsing context.
@@ -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');
3426
+ export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader' | 'InvalidEligibleHeader' | 'TooManyConcurrentRequests');
3427
3427
 
3428
3428
  /**
3429
3429
  * Details for issues around "Attribution Reporting API" usage.
@@ -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 {
@@ -14690,6 +14695,13 @@ export namespace Protocol {
14690
14695
  origin: string;
14691
14696
  }
14692
14697
 
14698
+ export interface TrackIndexedDBForStorageKeyRequest {
14699
+ /**
14700
+ * Storage key.
14701
+ */
14702
+ storageKey: string;
14703
+ }
14704
+
14693
14705
  export interface UntrackCacheStorageForOriginRequest {
14694
14706
  /**
14695
14707
  * Security origin.
@@ -14704,6 +14716,13 @@ export namespace Protocol {
14704
14716
  origin: string;
14705
14717
  }
14706
14718
 
14719
+ export interface UntrackIndexedDBForStorageKeyRequest {
14720
+ /**
14721
+ * Storage key.
14722
+ */
14723
+ storageKey: string;
14724
+ }
14725
+
14707
14726
  export interface GetTrustTokensResponse {
14708
14727
  tokens: TrustTokens[];
14709
14728
  }
@@ -14764,6 +14783,10 @@ export namespace Protocol {
14764
14783
  * Origin to update.
14765
14784
  */
14766
14785
  origin: string;
14786
+ /**
14787
+ * Storage key to update.
14788
+ */
14789
+ storageKey: string;
14767
14790
  /**
14768
14791
  * Database to update.
14769
14792
  */
@@ -14782,6 +14805,10 @@ export namespace Protocol {
14782
14805
  * Origin to update.
14783
14806
  */
14784
14807
  origin: string;
14808
+ /**
14809
+ * Storage key to update.
14810
+ */
14811
+ storageKey: string;
14785
14812
  }
14786
14813
 
14787
14814
  /**
@@ -15051,7 +15078,6 @@ export namespace Protocol {
15051
15078
  export interface FilterEntry {
15052
15079
  /**
15053
15080
  * If set, causes exclusion of mathcing targets from the list.
15054
- * The remainder of filter entries in the filter arrat are ignored.
15055
15081
  */
15056
15082
  exclude?: boolean;
15057
15083
  /**
@@ -15061,8 +15087,12 @@ export namespace Protocol {
15061
15087
  }
15062
15088
 
15063
15089
  /**
15064
- * If filter is not specified, the one assumed is [{type: "browser", exclude: true}, {}]
15065
- * (i.e. include everything but browser).
15090
+ * The entries in TargetFilter are matched sequentially against targets and
15091
+ * the first entry that matches determines if the target is included or not,
15092
+ * depending on the value of `exclude` field in the entry.
15093
+ * If filter is not specified, the one assumed is
15094
+ * [{type: "browser", exclude: true}, {type: "tab", exclude: true}, {}]
15095
+ * (i.e. include everything but `browser` and `tab`).
15066
15096
  */
15067
15097
  export type TargetFilter = FilterEntry[];
15068
15098