devtools-protocol 0.0.959523 → 0.0.961751
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.
- package/json/browser_protocol.json +150 -1
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +54 -0
- package/types/protocol-mapping.d.ts +18 -0
- package/types/protocol-proxy-api.d.ts +15 -0
- package/types/protocol.d.ts +55 -2
|
@@ -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
|
{
|
|
@@ -18435,6 +18436,7 @@
|
|
|
18435
18436
|
"websql",
|
|
18436
18437
|
"service_workers",
|
|
18437
18438
|
"cache_storage",
|
|
18439
|
+
"interest_groups",
|
|
18438
18440
|
"all",
|
|
18439
18441
|
"other"
|
|
18440
18442
|
]
|
|
@@ -18471,6 +18473,103 @@
|
|
|
18471
18473
|
"type": "number"
|
|
18472
18474
|
}
|
|
18473
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
|
+
]
|
|
18474
18573
|
}
|
|
18475
18574
|
],
|
|
18476
18575
|
"commands": [
|
|
@@ -18673,6 +18772,38 @@
|
|
|
18673
18772
|
"type": "boolean"
|
|
18674
18773
|
}
|
|
18675
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
|
+
]
|
|
18676
18807
|
}
|
|
18677
18808
|
],
|
|
18678
18809
|
"events": [
|
|
@@ -18734,6 +18865,24 @@
|
|
|
18734
18865
|
"type": "string"
|
|
18735
18866
|
}
|
|
18736
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
|
+
]
|
|
18737
18886
|
}
|
|
18738
18887
|
]
|
|
18739
18888
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -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
|
|
@@ -8626,6 +8628,7 @@ experimental domain Storage
|
|
|
8626
8628
|
websql
|
|
8627
8629
|
service_workers
|
|
8628
8630
|
cache_storage
|
|
8631
|
+
interest_groups
|
|
8629
8632
|
all
|
|
8630
8633
|
other
|
|
8631
8634
|
|
|
@@ -8644,6 +8647,37 @@ experimental domain Storage
|
|
|
8644
8647
|
string issuerOrigin
|
|
8645
8648
|
number count
|
|
8646
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
|
+
|
|
8647
8681
|
# Clears storage for origin.
|
|
8648
8682
|
command clearDataForOrigin
|
|
8649
8683
|
parameters
|
|
@@ -8743,6 +8777,19 @@ experimental domain Storage
|
|
|
8743
8777
|
# True if any tokens were deleted, false otherwise.
|
|
8744
8778
|
boolean didDeleteTokens
|
|
8745
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
|
+
|
|
8746
8793
|
# A cache's contents have been modified.
|
|
8747
8794
|
event cacheStorageContentUpdated
|
|
8748
8795
|
parameters
|
|
@@ -8773,6 +8820,13 @@ experimental domain Storage
|
|
|
8773
8820
|
# Origin to update.
|
|
8774
8821
|
string origin
|
|
8775
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
|
+
|
|
8776
8830
|
# The SystemInfo domain defines methods and events for querying low-level system information.
|
|
8777
8831
|
experimental domain SystemInfo
|
|
8778
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 {
|
package/types/protocol.d.ts
CHANGED
|
@@ -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;
|
|
@@ -14065,7 +14065,7 @@ export namespace Protocol {
|
|
|
14065
14065
|
/**
|
|
14066
14066
|
* Enum of possible storage types.
|
|
14067
14067
|
*/
|
|
14068
|
-
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');
|
|
14069
14069
|
|
|
14070
14070
|
/**
|
|
14071
14071
|
* Usage for a storage type.
|
|
@@ -14090,6 +14090,37 @@ export namespace Protocol {
|
|
|
14090
14090
|
count: number;
|
|
14091
14091
|
}
|
|
14092
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
|
+
|
|
14093
14124
|
export interface ClearDataForOriginRequest {
|
|
14094
14125
|
/**
|
|
14095
14126
|
* Security origin.
|
|
@@ -14219,6 +14250,19 @@ export namespace Protocol {
|
|
|
14219
14250
|
didDeleteTokens: boolean;
|
|
14220
14251
|
}
|
|
14221
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
|
+
|
|
14222
14266
|
/**
|
|
14223
14267
|
* A cache's contents have been modified.
|
|
14224
14268
|
*/
|
|
@@ -14270,6 +14314,15 @@ export namespace Protocol {
|
|
|
14270
14314
|
*/
|
|
14271
14315
|
origin: string;
|
|
14272
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
|
+
}
|
|
14273
14326
|
}
|
|
14274
14327
|
|
|
14275
14328
|
/**
|