devtools-protocol 0.0.1701330 → 0.0.1704034

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.
@@ -1210,7 +1210,6 @@
1210
1210
  "ExcludeSameSiteLax",
1211
1211
  "ExcludeSameSiteStrict",
1212
1212
  "ExcludeDomainNonASCII",
1213
- "ExcludeThirdPartyCookieBlockedInFirstPartySet",
1214
1213
  "ExcludeThirdPartyPhaseout",
1215
1214
  "ExcludePortMismatch",
1216
1215
  "ExcludeSchemeMismatch"
@@ -17029,7 +17028,6 @@
17029
17028
  "SameSiteNoneInsecure",
17030
17029
  "UserPreferences",
17031
17030
  "ThirdPartyPhaseout",
17032
- "ThirdPartyBlockedInFirstPartySet",
17033
17031
  "SyntaxError",
17034
17032
  "SchemeNotSupported",
17035
17033
  "OverwriteSecure",
@@ -17059,7 +17057,6 @@
17059
17057
  "SameSiteNoneInsecure",
17060
17058
  "UserPreferences",
17061
17059
  "ThirdPartyPhaseout",
17062
- "ThirdPartyBlockedInFirstPartySet",
17063
17060
  "UnknownError",
17064
17061
  "SchemefulSameSiteStrict",
17065
17062
  "SchemefulSameSiteLax",
@@ -22574,6 +22571,12 @@
22574
22571
  "description": "Frame swap timestamp.",
22575
22572
  "optional": true,
22576
22573
  "$ref": "Network.TimeSinceEpoch"
22574
+ },
22575
+ {
22576
+ "name": "monotonicTimestamp",
22577
+ "description": "Frame swap timestamp as monotonic time.",
22578
+ "optional": true,
22579
+ "$ref": "Network.MonotonicTime"
22577
22580
  }
22578
22581
  ]
22579
22582
  },
@@ -27818,6 +27821,27 @@
27818
27821
  }
27819
27822
  ]
27820
27823
  },
27824
+ {
27825
+ "id": "PrivateVerificationTokensIssuerConfig",
27826
+ "description": "Configuration for a Private Verification Tokens issuer.",
27827
+ "experimental": true,
27828
+ "type": "object",
27829
+ "properties": [
27830
+ {
27831
+ "name": "issuerOrigin",
27832
+ "description": "Origin of the token issuer.",
27833
+ "type": "string"
27834
+ },
27835
+ {
27836
+ "name": "redeemerOrigins",
27837
+ "description": "Origins authorized to redeem tokens from this issuer.",
27838
+ "type": "array",
27839
+ "items": {
27840
+ "type": "string"
27841
+ }
27842
+ }
27843
+ ]
27844
+ },
27821
27845
  {
27822
27846
  "id": "StorageBucketsDurability",
27823
27847
  "type": "string",
@@ -27872,38 +27896,6 @@
27872
27896
  "$ref": "StorageBucketsDurability"
27873
27897
  }
27874
27898
  ]
27875
- },
27876
- {
27877
- "id": "RelatedWebsiteSet",
27878
- "description": "A single Related Website Set object.",
27879
- "experimental": true,
27880
- "type": "object",
27881
- "properties": [
27882
- {
27883
- "name": "primarySites",
27884
- "description": "The primary site of this set, along with the ccTLDs if there is any.",
27885
- "type": "array",
27886
- "items": {
27887
- "type": "string"
27888
- }
27889
- },
27890
- {
27891
- "name": "associatedSites",
27892
- "description": "The associated sites of this set, along with the ccTLDs if there is any.",
27893
- "type": "array",
27894
- "items": {
27895
- "type": "string"
27896
- }
27897
- },
27898
- {
27899
- "name": "serviceSites",
27900
- "description": "The service sites of this set, along with the ccTLDs if there is any.",
27901
- "type": "array",
27902
- "items": {
27903
- "type": "string"
27904
- }
27905
- }
27906
- ]
27907
27899
  }
27908
27900
  ],
27909
27901
  "commands": [
@@ -28216,6 +28208,20 @@
28216
28208
  }
28217
28209
  ]
28218
28210
  },
28211
+ {
28212
+ "name": "getPrivateVerificationTokensIssuerConfigs",
28213
+ "description": "Returns the configured Private Verification Tokens issuers and their redeemer\norigins.",
28214
+ "experimental": true,
28215
+ "returns": [
28216
+ {
28217
+ "name": "configs",
28218
+ "type": "array",
28219
+ "items": {
28220
+ "$ref": "PrivateVerificationTokensIssuerConfig"
28221
+ }
28222
+ }
28223
+ ]
28224
+ },
28219
28225
  {
28220
28226
  "name": "clearPrivateVerificationTokens",
28221
28227
  "description": "Removes all Private Verification Tokens issued by the provided issuerOrigin.",
@@ -28288,20 +28294,6 @@
28288
28294
  }
28289
28295
  }
28290
28296
  ]
28291
- },
28292
- {
28293
- "name": "getRelatedWebsiteSets",
28294
- "description": "Returns the effective Related Website Sets in use by this profile for the browser\nsession. The effective Related Website Sets will not change during a browser session.",
28295
- "experimental": true,
28296
- "returns": [
28297
- {
28298
- "name": "sets",
28299
- "type": "array",
28300
- "items": {
28301
- "$ref": "RelatedWebsiteSet"
28302
- }
28303
- }
28304
- ]
28305
28297
  }
28306
28298
  ],
28307
28299
  "events": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1701330",
3
+ "version": "0.0.1704034",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -36,7 +36,6 @@ experimental domain Audits
36
36
  ExcludeSameSiteLax
37
37
  ExcludeSameSiteStrict
38
38
  ExcludeDomainNonASCII
39
- ExcludeThirdPartyCookieBlockedInFirstPartySet
40
39
  ExcludeThirdPartyPhaseout
41
40
  ExcludePortMismatch
42
41
  ExcludeSchemeMismatch
@@ -630,9 +630,6 @@ domain Network
630
630
  UserPreferences
631
631
  # The cookie was blocked due to third-party cookie phaseout.
632
632
  ThirdPartyPhaseout
633
- # The cookie was blocked by third-party cookie blocking between sites in
634
- # the same First-Party Set.
635
- ThirdPartyBlockedInFirstPartySet
636
633
  # The syntax of the Set-Cookie header of the response was invalid.
637
634
  SyntaxError
638
635
  # The scheme of the connection is not allowed to store cookies.
@@ -699,9 +696,6 @@ domain Network
699
696
  UserPreferences
700
697
  # The cookie was blocked due to third-party cookie phaseout.
701
698
  ThirdPartyPhaseout
702
- # The cookie was blocked by third-party cookie blocking between sites in
703
- # the same First-Party Set.
704
- ThirdPartyBlockedInFirstPartySet
705
699
  # An unknown error was encountered when trying to send this cookie.
706
700
  UnknownError
707
701
  # The cookie had the "SameSite=Strict" attribute but came from a response
@@ -388,6 +388,8 @@ domain Page
388
388
  number scrollOffsetY
389
389
  # Frame swap timestamp.
390
390
  optional Network.TimeSinceEpoch timestamp
391
+ # Frame swap timestamp as monotonic time.
392
+ optional Network.MonotonicTime monotonicTimestamp
391
393
 
392
394
  # Javascript dialog type.
393
395
  type DialogType extends string
@@ -58,6 +58,14 @@ experimental domain Storage
58
58
  # Base64-encoded serialized token.
59
59
  string token
60
60
 
61
+ # Configuration for a Private Verification Tokens issuer.
62
+ experimental type PrivateVerificationTokensIssuerConfig extends object
63
+ properties
64
+ # Origin of the token issuer.
65
+ string issuerOrigin
66
+ # Origins authorized to redeem tokens from this issuer.
67
+ array of string redeemerOrigins
68
+
61
69
 
62
70
 
63
71
  type StorageBucketsDurability extends string
@@ -234,6 +242,12 @@ experimental domain Storage
234
242
  returns
235
243
  array of PrivateVerificationToken tokens
236
244
 
245
+ # Returns the configured Private Verification Tokens issuers and their redeemer
246
+ # origins.
247
+ experimental command getPrivateVerificationTokensIssuerConfigs
248
+ returns
249
+ array of PrivateVerificationTokensIssuerConfig configs
250
+
237
251
  # Removes all Private Verification Tokens issued by the provided issuerOrigin.
238
252
  experimental command clearPrivateVerificationTokens
239
253
  parameters
@@ -321,19 +335,3 @@ experimental domain Storage
321
335
 
322
336
  # Private Verification Tokens have been stored or deleted.
323
337
  experimental event privateVerificationTokensUpdated
324
-
325
- # A single Related Website Set object.
326
- experimental type RelatedWebsiteSet extends object
327
- properties
328
- # The primary site of this set, along with the ccTLDs if there is any.
329
- array of string primarySites
330
- # The associated sites of this set, along with the ccTLDs if there is any.
331
- array of string associatedSites
332
- # The service sites of this set, along with the ccTLDs if there is any.
333
- array of string serviceSites
334
-
335
- # Returns the effective Related Website Sets in use by this profile for the browser
336
- # session. The effective Related Website Sets will not change during a browser session.
337
- experimental command getRelatedWebsiteSets
338
- returns
339
- array of RelatedWebsiteSet sets
@@ -5862,6 +5862,15 @@ export namespace ProtocolMapping {
5862
5862
  paramsType: [];
5863
5863
  returnType: Protocol.Storage.GetPrivateVerificationTokensResponse;
5864
5864
  };
5865
+ /**
5866
+ * Returns the configured Private Verification Tokens issuers and their redeemer
5867
+ * origins.
5868
+ * @experimental
5869
+ */
5870
+ 'Storage.getPrivateVerificationTokensIssuerConfigs': {
5871
+ paramsType: [];
5872
+ returnType: Protocol.Storage.GetPrivateVerificationTokensIssuerConfigsResponse;
5873
+ };
5865
5874
  /**
5866
5875
  * Removes all Private Verification Tokens issued by the provided issuerOrigin.
5867
5876
  * @experimental
@@ -5910,15 +5919,6 @@ export namespace ProtocolMapping {
5910
5919
  paramsType: [];
5911
5920
  returnType: Protocol.Storage.RunBounceTrackingMitigationsResponse;
5912
5921
  };
5913
- /**
5914
- * Returns the effective Related Website Sets in use by this profile for the browser
5915
- * session. The effective Related Website Sets will not change during a browser session.
5916
- * @experimental
5917
- */
5918
- 'Storage.getRelatedWebsiteSets': {
5919
- paramsType: [];
5920
- returnType: Protocol.Storage.GetRelatedWebsiteSetsResponse;
5921
- };
5922
5922
  /**
5923
5923
  * Returns information about the system.
5924
5924
  */
@@ -4936,6 +4936,13 @@ export namespace ProtocolProxyApi {
4936
4936
  */
4937
4937
  getPrivateVerificationTokens(): Promise<Protocol.Storage.GetPrivateVerificationTokensResponse>;
4938
4938
 
4939
+ /**
4940
+ * Returns the configured Private Verification Tokens issuers and their redeemer
4941
+ * origins.
4942
+ * @experimental
4943
+ */
4944
+ getPrivateVerificationTokensIssuerConfigs(): Promise<Protocol.Storage.GetPrivateVerificationTokensIssuerConfigsResponse>;
4945
+
4939
4946
  /**
4940
4947
  * Removes all Private Verification Tokens issued by the provided issuerOrigin.
4941
4948
  * @experimental
@@ -4972,13 +4979,6 @@ export namespace ProtocolProxyApi {
4972
4979
  */
4973
4980
  runBounceTrackingMitigations(): Promise<Protocol.Storage.RunBounceTrackingMitigationsResponse>;
4974
4981
 
4975
- /**
4976
- * Returns the effective Related Website Sets in use by this profile for the browser
4977
- * session. The effective Related Website Sets will not change during a browser session.
4978
- * @experimental
4979
- */
4980
- getRelatedWebsiteSets(): Promise<Protocol.Storage.GetRelatedWebsiteSetsResponse>;
4981
-
4982
4982
  /**
4983
4983
  * A cache's contents have been modified.
4984
4984
  */
@@ -5322,6 +5322,13 @@ export namespace ProtocolTestsProxyApi {
5322
5322
  */
5323
5323
  getPrivateVerificationTokens(): Promise<{id: number, result: Protocol.Storage.GetPrivateVerificationTokensResponse, sessionId: string}>;
5324
5324
 
5325
+ /**
5326
+ * Returns the configured Private Verification Tokens issuers and their redeemer
5327
+ * origins.
5328
+ * @experimental
5329
+ */
5330
+ getPrivateVerificationTokensIssuerConfigs(): Promise<{id: number, result: Protocol.Storage.GetPrivateVerificationTokensIssuerConfigsResponse, sessionId: string}>;
5331
+
5325
5332
  /**
5326
5333
  * Removes all Private Verification Tokens issued by the provided issuerOrigin.
5327
5334
  * @experimental
@@ -5358,13 +5365,6 @@ export namespace ProtocolTestsProxyApi {
5358
5365
  */
5359
5366
  runBounceTrackingMitigations(): Promise<{id: number, result: Protocol.Storage.RunBounceTrackingMitigationsResponse, sessionId: string}>;
5360
5367
 
5361
- /**
5362
- * Returns the effective Related Website Sets in use by this profile for the browser
5363
- * session. The effective Related Website Sets will not change during a browser session.
5364
- * @experimental
5365
- */
5366
- getRelatedWebsiteSets(): Promise<{id: number, result: Protocol.Storage.GetRelatedWebsiteSetsResponse, sessionId: string}>;
5367
-
5368
5368
  /**
5369
5369
  * A cache's contents have been modified.
5370
5370
  */
@@ -3574,7 +3574,7 @@ export namespace Protocol {
3574
3574
  frameId: Page.FrameId;
3575
3575
  }
3576
3576
 
3577
- export type CookieExclusionReason = ('ExcludeSameSiteUnspecifiedTreatedAsLax' | 'ExcludeSameSiteNoneInsecure' | 'ExcludeSameSiteLax' | 'ExcludeSameSiteStrict' | 'ExcludeDomainNonASCII' | 'ExcludeThirdPartyCookieBlockedInFirstPartySet' | 'ExcludeThirdPartyPhaseout' | 'ExcludePortMismatch' | 'ExcludeSchemeMismatch');
3577
+ export type CookieExclusionReason = ('ExcludeSameSiteUnspecifiedTreatedAsLax' | 'ExcludeSameSiteNoneInsecure' | 'ExcludeSameSiteLax' | 'ExcludeSameSiteStrict' | 'ExcludeDomainNonASCII' | 'ExcludeThirdPartyPhaseout' | 'ExcludePortMismatch' | 'ExcludeSchemeMismatch');
3578
3578
 
3579
3579
  export type CookieWarningReason = ('WarnSameSiteUnspecifiedCrossSiteContext' | 'WarnSameSiteNoneInsecure' | 'WarnSameSiteUnspecifiedLaxAllowUnsafe' | 'WarnSameSiteStrictLaxDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeLax' | 'WarnSameSiteLaxCrossDowngradeStrict' | 'WarnSameSiteLaxCrossDowngradeLax' | 'WarnAttributeValueExceedsMaxSize' | 'WarnDomainNonASCII' | 'WarnThirdPartyPhaseout' | 'WarnCrossSiteRedirectDowngradeChangesInclusion' | 'WarnDeprecationTrialMetadata' | 'WarnThirdPartyCookieHeuristic');
3580
3580
 
@@ -13473,13 +13473,13 @@ export namespace Protocol {
13473
13473
  * Types of reasons why a cookie may not be stored from a response.
13474
13474
  * @experimental
13475
13475
  */
13476
- export type SetCookieBlockedReason = ('SecureOnly' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'SyntaxError' | 'SchemeNotSupported' | 'OverwriteSecure' | 'InvalidDomain' | 'InvalidPrefix' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'NameValuePairExceedsMaxSize' | 'DisallowedCharacter' | 'NoCookieContent');
13476
+ export type SetCookieBlockedReason = ('SecureOnly' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'SyntaxError' | 'SchemeNotSupported' | 'OverwriteSecure' | 'InvalidDomain' | 'InvalidPrefix' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'NameValuePairExceedsMaxSize' | 'DisallowedCharacter' | 'NoCookieContent');
13477
13477
 
13478
13478
  /**
13479
13479
  * Types of reasons why a cookie may not be sent with a request.
13480
13480
  * @experimental
13481
13481
  */
13482
- export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'NameValuePairExceedsMaxSize' | 'PortMismatch' | 'SchemeMismatch' | 'AnonymousContext');
13482
+ export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'NameValuePairExceedsMaxSize' | 'PortMismatch' | 'SchemeMismatch' | 'AnonymousContext');
13483
13483
 
13484
13484
  /**
13485
13485
  * Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
@@ -17129,6 +17129,10 @@ export namespace Protocol {
17129
17129
  * Frame swap timestamp.
17130
17130
  */
17131
17131
  timestamp?: Network.TimeSinceEpoch;
17132
+ /**
17133
+ * Frame swap timestamp as monotonic time.
17134
+ */
17135
+ monotonicTimestamp?: Network.MonotonicTime;
17132
17136
  }
17133
17137
 
17134
17138
  /**
@@ -20206,6 +20210,21 @@ export namespace Protocol {
20206
20210
  token: string;
20207
20211
  }
20208
20212
 
20213
+ /**
20214
+ * Configuration for a Private Verification Tokens issuer.
20215
+ * @experimental
20216
+ */
20217
+ export interface PrivateVerificationTokensIssuerConfig {
20218
+ /**
20219
+ * Origin of the token issuer.
20220
+ */
20221
+ issuerOrigin: string;
20222
+ /**
20223
+ * Origins authorized to redeem tokens from this issuer.
20224
+ */
20225
+ redeemerOrigins: string[];
20226
+ }
20227
+
20209
20228
  export type StorageBucketsDurability = ('relaxed' | 'strict');
20210
20229
 
20211
20230
  export interface StorageBucket {
@@ -20228,25 +20247,6 @@ export namespace Protocol {
20228
20247
  durability: StorageBucketsDurability;
20229
20248
  }
20230
20249
 
20231
- /**
20232
- * A single Related Website Set object.
20233
- * @experimental
20234
- */
20235
- export interface RelatedWebsiteSet {
20236
- /**
20237
- * The primary site of this set, along with the ccTLDs if there is any.
20238
- */
20239
- primarySites: string[];
20240
- /**
20241
- * The associated sites of this set, along with the ccTLDs if there is any.
20242
- */
20243
- associatedSites: string[];
20244
- /**
20245
- * The service sites of this set, along with the ccTLDs if there is any.
20246
- */
20247
- serviceSites: string[];
20248
- }
20249
-
20250
20250
  export interface GetStorageKeyForFrameRequest {
20251
20251
  frameId: Page.FrameId;
20252
20252
  }
@@ -20435,6 +20435,10 @@ export namespace Protocol {
20435
20435
  tokens: PrivateVerificationToken[];
20436
20436
  }
20437
20437
 
20438
+ export interface GetPrivateVerificationTokensIssuerConfigsResponse {
20439
+ configs: PrivateVerificationTokensIssuerConfig[];
20440
+ }
20441
+
20438
20442
  export interface ClearPrivateVerificationTokensRequest {
20439
20443
  issuerOrigin: string;
20440
20444
  }
@@ -20460,10 +20464,6 @@ export namespace Protocol {
20460
20464
  deletedSites: string[];
20461
20465
  }
20462
20466
 
20463
- export interface GetRelatedWebsiteSetsResponse {
20464
- sets: RelatedWebsiteSet[];
20465
- }
20466
-
20467
20467
  /**
20468
20468
  * A cache's contents have been modified.
20469
20469
  */