devtools-protocol 0.0.957947 → 0.0.960912

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.
@@ -14788,7 +14788,8 @@
14788
14788
  "type": "string",
14789
14789
  "enum": [
14790
14790
  "Header",
14791
- "IframeAttribute"
14791
+ "IframeAttribute",
14792
+ "InFencedFrameTree"
14792
14793
  ]
14793
14794
  },
14794
14795
  {
@@ -15440,6 +15441,24 @@
15440
15441
  }
15441
15442
  ]
15442
15443
  },
15444
+ {
15445
+ "id": "ScriptFontFamilies",
15446
+ "description": "Font families collection for a script.",
15447
+ "experimental": true,
15448
+ "type": "object",
15449
+ "properties": [
15450
+ {
15451
+ "name": "script",
15452
+ "description": "Name of the script which these font families are defined for.",
15453
+ "type": "string"
15454
+ },
15455
+ {
15456
+ "name": "fontFamilies",
15457
+ "description": "Generic font families collection for the script.",
15458
+ "$ref": "FontFamilies"
15459
+ }
15460
+ ]
15461
+ },
15443
15462
  {
15444
15463
  "id": "FontSizes",
15445
15464
  "description": "Default font sizes.",
@@ -16640,6 +16659,15 @@
16640
16659
  "name": "fontFamilies",
16641
16660
  "description": "Specifies font families to set. If a font family is not specified, it won't be changed.",
16642
16661
  "$ref": "FontFamilies"
16662
+ },
16663
+ {
16664
+ "name": "forScripts",
16665
+ "description": "Specifies font families to set for individual scripts.",
16666
+ "optional": true,
16667
+ "type": "array",
16668
+ "items": {
16669
+ "$ref": "ScriptFontFamilies"
16670
+ }
16643
16671
  }
16644
16672
  ]
16645
16673
  },
@@ -18408,6 +18436,7 @@
18408
18436
  "websql",
18409
18437
  "service_workers",
18410
18438
  "cache_storage",
18439
+ "interest_groups",
18411
18440
  "all",
18412
18441
  "other"
18413
18442
  ]
@@ -18444,6 +18473,103 @@
18444
18473
  "type": "number"
18445
18474
  }
18446
18475
  ]
18476
+ },
18477
+ {
18478
+ "id": "InterestGroupAccessType",
18479
+ "description": "Enum of interest group access types.",
18480
+ "type": "string",
18481
+ "enum": [
18482
+ "join",
18483
+ "leave",
18484
+ "update",
18485
+ "bid",
18486
+ "win"
18487
+ ]
18488
+ },
18489
+ {
18490
+ "id": "InterestGroupAd",
18491
+ "description": "Ad advertising element inside an interest group.",
18492
+ "type": "object",
18493
+ "properties": [
18494
+ {
18495
+ "name": "renderUrl",
18496
+ "type": "string"
18497
+ },
18498
+ {
18499
+ "name": "metadata",
18500
+ "optional": true,
18501
+ "type": "string"
18502
+ }
18503
+ ]
18504
+ },
18505
+ {
18506
+ "id": "InterestGroupDetails",
18507
+ "description": "The full details of an interest group.",
18508
+ "type": "object",
18509
+ "properties": [
18510
+ {
18511
+ "name": "ownerOrigin",
18512
+ "type": "string"
18513
+ },
18514
+ {
18515
+ "name": "name",
18516
+ "type": "string"
18517
+ },
18518
+ {
18519
+ "name": "expirationTime",
18520
+ "type": "number"
18521
+ },
18522
+ {
18523
+ "name": "joiningOrigin",
18524
+ "type": "string"
18525
+ },
18526
+ {
18527
+ "name": "biddingUrl",
18528
+ "optional": true,
18529
+ "type": "string"
18530
+ },
18531
+ {
18532
+ "name": "biddingWasmHelperUrl",
18533
+ "optional": true,
18534
+ "type": "string"
18535
+ },
18536
+ {
18537
+ "name": "updateUrl",
18538
+ "optional": true,
18539
+ "type": "string"
18540
+ },
18541
+ {
18542
+ "name": "trustedBiddingSignalsUrl",
18543
+ "optional": true,
18544
+ "type": "string"
18545
+ },
18546
+ {
18547
+ "name": "trustedBiddingSignalsKeys",
18548
+ "type": "array",
18549
+ "items": {
18550
+ "type": "string"
18551
+ }
18552
+ },
18553
+ {
18554
+ "name": "userBiddingSignals",
18555
+ "optional": true,
18556
+ "type": "string"
18557
+ },
18558
+ {
18559
+ "name": "ads",
18560
+ "type": "array",
18561
+ "items": {
18562
+ "$ref": "InterestGroupAd"
18563
+ }
18564
+ },
18565
+ {
18566
+ "name": "adComponents",
18567
+ "type": "array",
18568
+ "items": {
18569
+ "$ref": "InterestGroupAd"
18570
+ }
18571
+ }
18572
+ ]
18447
18573
  }
18448
18574
  ],
18449
18575
  "commands": [
@@ -18646,6 +18772,38 @@
18646
18772
  "type": "boolean"
18647
18773
  }
18648
18774
  ]
18775
+ },
18776
+ {
18777
+ "name": "getInterestGroupDetails",
18778
+ "description": "Gets details for a named interest group.",
18779
+ "experimental": true,
18780
+ "parameters": [
18781
+ {
18782
+ "name": "ownerOrigin",
18783
+ "type": "string"
18784
+ },
18785
+ {
18786
+ "name": "name",
18787
+ "type": "string"
18788
+ }
18789
+ ],
18790
+ "returns": [
18791
+ {
18792
+ "name": "details",
18793
+ "$ref": "InterestGroupDetails"
18794
+ }
18795
+ ]
18796
+ },
18797
+ {
18798
+ "name": "setInterestGroupTracking",
18799
+ "description": "Enables/Disables issuing of interestGroupAccessed events.",
18800
+ "experimental": true,
18801
+ "parameters": [
18802
+ {
18803
+ "name": "enable",
18804
+ "type": "boolean"
18805
+ }
18806
+ ]
18649
18807
  }
18650
18808
  ],
18651
18809
  "events": [
@@ -18707,6 +18865,24 @@
18707
18865
  "type": "string"
18708
18866
  }
18709
18867
  ]
18868
+ },
18869
+ {
18870
+ "name": "interestGroupAccessed",
18871
+ "description": "One of the interest groups was accessed by the associated page.",
18872
+ "parameters": [
18873
+ {
18874
+ "name": "type",
18875
+ "$ref": "InterestGroupAccessType"
18876
+ },
18877
+ {
18878
+ "name": "ownerOrigin",
18879
+ "type": "string"
18880
+ },
18881
+ {
18882
+ "name": "name",
18883
+ "type": "string"
18884
+ }
18885
+ ]
18710
18886
  }
18711
18887
  ]
18712
18888
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.957947",
3
+ "version": "0.0.960912",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -6899,6 +6899,8 @@ domain Page
6899
6899
  Header
6900
6900
  # Declaration in iframe attribute.
6901
6901
  IframeAttribute
6902
+ # Inside fenced frame.
6903
+ InFencedFrameTree
6902
6904
 
6903
6905
  experimental type PermissionsPolicyBlockLocator extends object
6904
6906
  properties
@@ -7177,6 +7179,14 @@ domain Page
7177
7179
  # The pictograph font-family.
7178
7180
  optional string pictograph
7179
7181
 
7182
+ # Font families collection for a script.
7183
+ experimental type ScriptFontFamilies extends object
7184
+ properties
7185
+ # Name of the script which these font families are defined for.
7186
+ string script
7187
+ # Generic font families collection for the script.
7188
+ FontFamilies fontFamilies
7189
+
7180
7190
  # Default font sizes.
7181
7191
  experimental type FontSizes extends object
7182
7192
  properties
@@ -7637,6 +7647,8 @@ domain Page
7637
7647
  parameters
7638
7648
  # Specifies font families to set. If a font family is not specified, it won't be changed.
7639
7649
  FontFamilies fontFamilies
7650
+ # Specifies font families to set for individual scripts.
7651
+ optional array of ScriptFontFamilies forScripts
7640
7652
 
7641
7653
  # Set default font sizes.
7642
7654
  experimental command setFontSizes
@@ -8616,6 +8628,7 @@ experimental domain Storage
8616
8628
  websql
8617
8629
  service_workers
8618
8630
  cache_storage
8631
+ interest_groups
8619
8632
  all
8620
8633
  other
8621
8634
 
@@ -8634,6 +8647,37 @@ experimental domain Storage
8634
8647
  string issuerOrigin
8635
8648
  number count
8636
8649
 
8650
+ # Enum of interest group access types.
8651
+ type InterestGroupAccessType extends string
8652
+ enum
8653
+ join
8654
+ leave
8655
+ update
8656
+ bid
8657
+ win
8658
+
8659
+ # Ad advertising element inside an interest group.
8660
+ type InterestGroupAd extends object
8661
+ properties
8662
+ string renderUrl
8663
+ optional string metadata
8664
+
8665
+ # The full details of an interest group.
8666
+ type InterestGroupDetails extends object
8667
+ properties
8668
+ string ownerOrigin
8669
+ string name
8670
+ number expirationTime
8671
+ string joiningOrigin
8672
+ optional string biddingUrl
8673
+ optional string biddingWasmHelperUrl
8674
+ optional string updateUrl
8675
+ optional string trustedBiddingSignalsUrl
8676
+ array of string trustedBiddingSignalsKeys
8677
+ optional string userBiddingSignals
8678
+ array of InterestGroupAd ads
8679
+ array of InterestGroupAd adComponents
8680
+
8637
8681
  # Clears storage for origin.
8638
8682
  command clearDataForOrigin
8639
8683
  parameters
@@ -8733,6 +8777,19 @@ experimental domain Storage
8733
8777
  # True if any tokens were deleted, false otherwise.
8734
8778
  boolean didDeleteTokens
8735
8779
 
8780
+ # Gets details for a named interest group.
8781
+ experimental command getInterestGroupDetails
8782
+ parameters
8783
+ string ownerOrigin
8784
+ string name
8785
+ returns
8786
+ InterestGroupDetails details
8787
+
8788
+ # Enables/Disables issuing of interestGroupAccessed events.
8789
+ experimental command setInterestGroupTracking
8790
+ parameters
8791
+ boolean enable
8792
+
8736
8793
  # A cache's contents have been modified.
8737
8794
  event cacheStorageContentUpdated
8738
8795
  parameters
@@ -8763,6 +8820,13 @@ experimental domain Storage
8763
8820
  # Origin to update.
8764
8821
  string origin
8765
8822
 
8823
+ # One of the interest groups was accessed by the associated page.
8824
+ event interestGroupAccessed
8825
+ parameters
8826
+ InterestGroupAccessType type
8827
+ string ownerOrigin
8828
+ string name
8829
+
8766
8830
  # The SystemInfo domain defines methods and events for querying low-level system information.
8767
8831
  experimental domain SystemInfo
8768
8832
 
@@ -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 {
@@ -11890,7 +11890,7 @@ export namespace Protocol {
11890
11890
  /**
11891
11891
  * Reason for a permissions policy feature to be disabled.
11892
11892
  */
11893
- export type PermissionsPolicyBlockReason = ('Header' | 'IframeAttribute');
11893
+ export type PermissionsPolicyBlockReason = ('Header' | 'IframeAttribute' | 'InFencedFrameTree');
11894
11894
 
11895
11895
  export interface PermissionsPolicyBlockLocator {
11896
11896
  frameId: FrameId;
@@ -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
  /**