devtools-protocol 0.0.957544 → 0.0.960519

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.
@@ -15440,6 +15440,24 @@
15440
15440
  }
15441
15441
  ]
15442
15442
  },
15443
+ {
15444
+ "id": "ScriptFontFamilies",
15445
+ "description": "Font families collection for a script.",
15446
+ "experimental": true,
15447
+ "type": "object",
15448
+ "properties": [
15449
+ {
15450
+ "name": "script",
15451
+ "description": "Name of the script which these font families are defined for.",
15452
+ "type": "string"
15453
+ },
15454
+ {
15455
+ "name": "fontFamilies",
15456
+ "description": "Generic font families collection for the script.",
15457
+ "$ref": "FontFamilies"
15458
+ }
15459
+ ]
15460
+ },
15443
15461
  {
15444
15462
  "id": "FontSizes",
15445
15463
  "description": "Default font sizes.",
@@ -16640,6 +16658,15 @@
16640
16658
  "name": "fontFamilies",
16641
16659
  "description": "Specifies font families to set. If a font family is not specified, it won't be changed.",
16642
16660
  "$ref": "FontFamilies"
16661
+ },
16662
+ {
16663
+ "name": "forScripts",
16664
+ "description": "Specifies font families to set for individual scripts.",
16665
+ "optional": true,
16666
+ "type": "array",
16667
+ "items": {
16668
+ "$ref": "ScriptFontFamilies"
16669
+ }
16643
16670
  }
16644
16671
  ]
16645
16672
  },
@@ -18408,6 +18435,7 @@
18408
18435
  "websql",
18409
18436
  "service_workers",
18410
18437
  "cache_storage",
18438
+ "interest_groups",
18411
18439
  "all",
18412
18440
  "other"
18413
18441
  ]
@@ -18444,6 +18472,103 @@
18444
18472
  "type": "number"
18445
18473
  }
18446
18474
  ]
18475
+ },
18476
+ {
18477
+ "id": "InterestGroupAccessType",
18478
+ "description": "Enum of interest group access types.",
18479
+ "type": "string",
18480
+ "enum": [
18481
+ "join",
18482
+ "leave",
18483
+ "update",
18484
+ "bid",
18485
+ "win"
18486
+ ]
18487
+ },
18488
+ {
18489
+ "id": "InterestGroupAd",
18490
+ "description": "Ad advertising element inside an interest group.",
18491
+ "type": "object",
18492
+ "properties": [
18493
+ {
18494
+ "name": "renderUrl",
18495
+ "type": "string"
18496
+ },
18497
+ {
18498
+ "name": "metadata",
18499
+ "optional": true,
18500
+ "type": "string"
18501
+ }
18502
+ ]
18503
+ },
18504
+ {
18505
+ "id": "InterestGroupDetails",
18506
+ "description": "The full details of an interest group.",
18507
+ "type": "object",
18508
+ "properties": [
18509
+ {
18510
+ "name": "ownerOrigin",
18511
+ "type": "string"
18512
+ },
18513
+ {
18514
+ "name": "name",
18515
+ "type": "string"
18516
+ },
18517
+ {
18518
+ "name": "expirationTime",
18519
+ "type": "number"
18520
+ },
18521
+ {
18522
+ "name": "joiningOrigin",
18523
+ "type": "string"
18524
+ },
18525
+ {
18526
+ "name": "biddingUrl",
18527
+ "optional": true,
18528
+ "type": "string"
18529
+ },
18530
+ {
18531
+ "name": "biddingWasmHelperUrl",
18532
+ "optional": true,
18533
+ "type": "string"
18534
+ },
18535
+ {
18536
+ "name": "updateUrl",
18537
+ "optional": true,
18538
+ "type": "string"
18539
+ },
18540
+ {
18541
+ "name": "trustedBiddingSignalsUrl",
18542
+ "optional": true,
18543
+ "type": "string"
18544
+ },
18545
+ {
18546
+ "name": "trustedBiddingSignalsKeys",
18547
+ "type": "array",
18548
+ "items": {
18549
+ "type": "string"
18550
+ }
18551
+ },
18552
+ {
18553
+ "name": "userBiddingSignals",
18554
+ "optional": true,
18555
+ "type": "string"
18556
+ },
18557
+ {
18558
+ "name": "ads",
18559
+ "type": "array",
18560
+ "items": {
18561
+ "$ref": "InterestGroupAd"
18562
+ }
18563
+ },
18564
+ {
18565
+ "name": "adComponents",
18566
+ "type": "array",
18567
+ "items": {
18568
+ "$ref": "InterestGroupAd"
18569
+ }
18570
+ }
18571
+ ]
18447
18572
  }
18448
18573
  ],
18449
18574
  "commands": [
@@ -18646,6 +18771,38 @@
18646
18771
  "type": "boolean"
18647
18772
  }
18648
18773
  ]
18774
+ },
18775
+ {
18776
+ "name": "getInterestGroupDetails",
18777
+ "description": "Gets details for a named interest group.",
18778
+ "experimental": true,
18779
+ "parameters": [
18780
+ {
18781
+ "name": "ownerOrigin",
18782
+ "type": "string"
18783
+ },
18784
+ {
18785
+ "name": "name",
18786
+ "type": "string"
18787
+ }
18788
+ ],
18789
+ "returns": [
18790
+ {
18791
+ "name": "details",
18792
+ "$ref": "InterestGroupDetails"
18793
+ }
18794
+ ]
18795
+ },
18796
+ {
18797
+ "name": "setInterestGroupTracking",
18798
+ "description": "Enables/Disables issuing of interestGroupAccessed events.",
18799
+ "experimental": true,
18800
+ "parameters": [
18801
+ {
18802
+ "name": "enable",
18803
+ "type": "boolean"
18804
+ }
18805
+ ]
18649
18806
  }
18650
18807
  ],
18651
18808
  "events": [
@@ -18707,6 +18864,24 @@
18707
18864
  "type": "string"
18708
18865
  }
18709
18866
  ]
18867
+ },
18868
+ {
18869
+ "name": "interestGroupAccessed",
18870
+ "description": "One of the interest groups was accessed by the associated page.",
18871
+ "parameters": [
18872
+ {
18873
+ "name": "type",
18874
+ "$ref": "InterestGroupAccessType"
18875
+ },
18876
+ {
18877
+ "name": "ownerOrigin",
18878
+ "type": "string"
18879
+ },
18880
+ {
18881
+ "name": "name",
18882
+ "type": "string"
18883
+ }
18884
+ ]
18710
18885
  }
18711
18886
  ]
18712
18887
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.957544",
3
+ "version": "0.0.960519",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -7177,6 +7177,14 @@ domain Page
7177
7177
  # The pictograph font-family.
7178
7178
  optional string pictograph
7179
7179
 
7180
+ # Font families collection for a script.
7181
+ experimental type ScriptFontFamilies extends object
7182
+ properties
7183
+ # Name of the script which these font families are defined for.
7184
+ string script
7185
+ # Generic font families collection for the script.
7186
+ FontFamilies fontFamilies
7187
+
7180
7188
  # Default font sizes.
7181
7189
  experimental type FontSizes extends object
7182
7190
  properties
@@ -7637,6 +7645,8 @@ domain Page
7637
7645
  parameters
7638
7646
  # Specifies font families to set. If a font family is not specified, it won't be changed.
7639
7647
  FontFamilies fontFamilies
7648
+ # Specifies font families to set for individual scripts.
7649
+ optional array of ScriptFontFamilies forScripts
7640
7650
 
7641
7651
  # Set default font sizes.
7642
7652
  experimental command setFontSizes
@@ -8616,6 +8626,7 @@ experimental domain Storage
8616
8626
  websql
8617
8627
  service_workers
8618
8628
  cache_storage
8629
+ interest_groups
8619
8630
  all
8620
8631
  other
8621
8632
 
@@ -8634,6 +8645,37 @@ experimental domain Storage
8634
8645
  string issuerOrigin
8635
8646
  number count
8636
8647
 
8648
+ # Enum of interest group access types.
8649
+ type InterestGroupAccessType extends string
8650
+ enum
8651
+ join
8652
+ leave
8653
+ update
8654
+ bid
8655
+ win
8656
+
8657
+ # Ad advertising element inside an interest group.
8658
+ type InterestGroupAd extends object
8659
+ properties
8660
+ string renderUrl
8661
+ optional string metadata
8662
+
8663
+ # The full details of an interest group.
8664
+ type InterestGroupDetails extends object
8665
+ properties
8666
+ string ownerOrigin
8667
+ string name
8668
+ number expirationTime
8669
+ string joiningOrigin
8670
+ optional string biddingUrl
8671
+ optional string biddingWasmHelperUrl
8672
+ optional string updateUrl
8673
+ optional string trustedBiddingSignalsUrl
8674
+ array of string trustedBiddingSignalsKeys
8675
+ optional string userBiddingSignals
8676
+ array of InterestGroupAd ads
8677
+ array of InterestGroupAd adComponents
8678
+
8637
8679
  # Clears storage for origin.
8638
8680
  command clearDataForOrigin
8639
8681
  parameters
@@ -8733,6 +8775,19 @@ experimental domain Storage
8733
8775
  # True if any tokens were deleted, false otherwise.
8734
8776
  boolean didDeleteTokens
8735
8777
 
8778
+ # Gets details for a named interest group.
8779
+ experimental command getInterestGroupDetails
8780
+ parameters
8781
+ string ownerOrigin
8782
+ string name
8783
+ returns
8784
+ InterestGroupDetails details
8785
+
8786
+ # Enables/Disables issuing of interestGroupAccessed events.
8787
+ experimental command setInterestGroupTracking
8788
+ parameters
8789
+ boolean enable
8790
+
8736
8791
  # A cache's contents have been modified.
8737
8792
  event cacheStorageContentUpdated
8738
8793
  parameters
@@ -8763,6 +8818,13 @@ experimental domain Storage
8763
8818
  # Origin to update.
8764
8819
  string origin
8765
8820
 
8821
+ # One of the interest groups was accessed by the associated page.
8822
+ event interestGroupAccessed
8823
+ parameters
8824
+ InterestGroupAccessType type
8825
+ string ownerOrigin
8826
+ string name
8827
+
8766
8828
  # The SystemInfo domain defines methods and events for querying low-level system information.
8767
8829
  experimental domain SystemInfo
8768
8830
 
@@ -549,6 +549,10 @@ export namespace ProtocolMapping {
549
549
  * The origin's IndexedDB database list has been modified.
550
550
  */
551
551
  'Storage.indexedDBListUpdated': [Protocol.Storage.IndexedDBListUpdatedEvent];
552
+ /**
553
+ * One of the interest groups was accessed by the associated page.
554
+ */
555
+ 'Storage.interestGroupAccessed': [Protocol.Storage.InterestGroupAccessedEvent];
552
556
  /**
553
557
  * Issued when attached to target because of auto-attach or `attachToTarget` command.
554
558
  */
@@ -3969,6 +3973,20 @@ export namespace ProtocolMapping {
3969
3973
  paramsType: [Protocol.Storage.ClearTrustTokensRequest];
3970
3974
  returnType: Protocol.Storage.ClearTrustTokensResponse;
3971
3975
  };
3976
+ /**
3977
+ * Gets details for a named interest group.
3978
+ */
3979
+ 'Storage.getInterestGroupDetails': {
3980
+ paramsType: [Protocol.Storage.GetInterestGroupDetailsRequest];
3981
+ returnType: Protocol.Storage.GetInterestGroupDetailsResponse;
3982
+ };
3983
+ /**
3984
+ * Enables/Disables issuing of interestGroupAccessed events.
3985
+ */
3986
+ 'Storage.setInterestGroupTracking': {
3987
+ paramsType: [Protocol.Storage.SetInterestGroupTrackingRequest];
3988
+ returnType: void;
3989
+ };
3972
3990
  /**
3973
3991
  * Returns information about the system.
3974
3992
  */
@@ -3217,6 +3217,16 @@ export namespace ProtocolProxyApi {
3217
3217
  */
3218
3218
  clearTrustTokens(params: Protocol.Storage.ClearTrustTokensRequest): Promise<Protocol.Storage.ClearTrustTokensResponse>;
3219
3219
 
3220
+ /**
3221
+ * Gets details for a named interest group.
3222
+ */
3223
+ getInterestGroupDetails(params: Protocol.Storage.GetInterestGroupDetailsRequest): Promise<Protocol.Storage.GetInterestGroupDetailsResponse>;
3224
+
3225
+ /**
3226
+ * Enables/Disables issuing of interestGroupAccessed events.
3227
+ */
3228
+ setInterestGroupTracking(params: Protocol.Storage.SetInterestGroupTrackingRequest): Promise<void>;
3229
+
3220
3230
  /**
3221
3231
  * A cache's contents have been modified.
3222
3232
  */
@@ -3237,6 +3247,11 @@ export namespace ProtocolProxyApi {
3237
3247
  */
3238
3248
  on(event: 'indexedDBListUpdated', listener: (params: Protocol.Storage.IndexedDBListUpdatedEvent) => void): void;
3239
3249
 
3250
+ /**
3251
+ * One of the interest groups was accessed by the associated page.
3252
+ */
3253
+ on(event: 'interestGroupAccessed', listener: (params: Protocol.Storage.InterestGroupAccessedEvent) => void): void;
3254
+
3240
3255
  }
3241
3256
 
3242
3257
  export interface SystemInfoApi {
@@ -12299,6 +12299,20 @@ export namespace Protocol {
12299
12299
  pictograph?: string;
12300
12300
  }
12301
12301
 
12302
+ /**
12303
+ * Font families collection for a script.
12304
+ */
12305
+ export interface ScriptFontFamilies {
12306
+ /**
12307
+ * Name of the script which these font families are defined for.
12308
+ */
12309
+ script: string;
12310
+ /**
12311
+ * Generic font families collection for the script.
12312
+ */
12313
+ fontFamilies: FontFamilies;
12314
+ }
12315
+
12302
12316
  /**
12303
12317
  * Default font sizes.
12304
12318
  */
@@ -12950,6 +12964,10 @@ export namespace Protocol {
12950
12964
  * Specifies font families to set. If a font family is not specified, it won't be changed.
12951
12965
  */
12952
12966
  fontFamilies: FontFamilies;
12967
+ /**
12968
+ * Specifies font families to set for individual scripts.
12969
+ */
12970
+ forScripts?: ScriptFontFamilies[];
12953
12971
  }
12954
12972
 
12955
12973
  export interface SetFontSizesRequest {
@@ -14047,7 +14065,7 @@ export namespace Protocol {
14047
14065
  /**
14048
14066
  * Enum of possible storage types.
14049
14067
  */
14050
- export type StorageType = ('appcache' | 'cookies' | 'file_systems' | 'indexeddb' | 'local_storage' | 'shader_cache' | 'websql' | 'service_workers' | 'cache_storage' | 'all' | 'other');
14068
+ export type StorageType = ('appcache' | 'cookies' | 'file_systems' | 'indexeddb' | 'local_storage' | 'shader_cache' | 'websql' | 'service_workers' | 'cache_storage' | 'interest_groups' | 'all' | 'other');
14051
14069
 
14052
14070
  /**
14053
14071
  * Usage for a storage type.
@@ -14072,6 +14090,37 @@ export namespace Protocol {
14072
14090
  count: number;
14073
14091
  }
14074
14092
 
14093
+ /**
14094
+ * Enum of interest group access types.
14095
+ */
14096
+ export type InterestGroupAccessType = ('join' | 'leave' | 'update' | 'bid' | 'win');
14097
+
14098
+ /**
14099
+ * Ad advertising element inside an interest group.
14100
+ */
14101
+ export interface InterestGroupAd {
14102
+ renderUrl: string;
14103
+ metadata?: string;
14104
+ }
14105
+
14106
+ /**
14107
+ * The full details of an interest group.
14108
+ */
14109
+ export interface InterestGroupDetails {
14110
+ ownerOrigin: string;
14111
+ name: string;
14112
+ expirationTime: number;
14113
+ joiningOrigin: string;
14114
+ biddingUrl?: string;
14115
+ biddingWasmHelperUrl?: string;
14116
+ updateUrl?: string;
14117
+ trustedBiddingSignalsUrl?: string;
14118
+ trustedBiddingSignalsKeys: string[];
14119
+ userBiddingSignals?: string;
14120
+ ads: InterestGroupAd[];
14121
+ adComponents: InterestGroupAd[];
14122
+ }
14123
+
14075
14124
  export interface ClearDataForOriginRequest {
14076
14125
  /**
14077
14126
  * Security origin.
@@ -14201,6 +14250,19 @@ export namespace Protocol {
14201
14250
  didDeleteTokens: boolean;
14202
14251
  }
14203
14252
 
14253
+ export interface GetInterestGroupDetailsRequest {
14254
+ ownerOrigin: string;
14255
+ name: string;
14256
+ }
14257
+
14258
+ export interface GetInterestGroupDetailsResponse {
14259
+ details: InterestGroupDetails;
14260
+ }
14261
+
14262
+ export interface SetInterestGroupTrackingRequest {
14263
+ enable: boolean;
14264
+ }
14265
+
14204
14266
  /**
14205
14267
  * A cache's contents have been modified.
14206
14268
  */
@@ -14252,6 +14314,15 @@ export namespace Protocol {
14252
14314
  */
14253
14315
  origin: string;
14254
14316
  }
14317
+
14318
+ /**
14319
+ * One of the interest groups was accessed by the associated page.
14320
+ */
14321
+ export interface InterestGroupAccessedEvent {
14322
+ type: InterestGroupAccessType;
14323
+ ownerOrigin: string;
14324
+ name: string;
14325
+ }
14255
14326
  }
14256
14327
 
14257
14328
  /**