devtools-protocol 0.0.959523 → 0.0.960453
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 +148 -0
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +52 -0
- package/types/protocol-mapping.d.ts +18 -0
- package/types/protocol-proxy-api.d.ts +15 -0
- package/types/protocol.d.ts +54 -1
|
@@ -18435,6 +18435,7 @@
|
|
|
18435
18435
|
"websql",
|
|
18436
18436
|
"service_workers",
|
|
18437
18437
|
"cache_storage",
|
|
18438
|
+
"interest_groups",
|
|
18438
18439
|
"all",
|
|
18439
18440
|
"other"
|
|
18440
18441
|
]
|
|
@@ -18471,6 +18472,103 @@
|
|
|
18471
18472
|
"type": "number"
|
|
18472
18473
|
}
|
|
18473
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
|
+
]
|
|
18474
18572
|
}
|
|
18475
18573
|
],
|
|
18476
18574
|
"commands": [
|
|
@@ -18673,6 +18771,38 @@
|
|
|
18673
18771
|
"type": "boolean"
|
|
18674
18772
|
}
|
|
18675
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
|
+
]
|
|
18676
18806
|
}
|
|
18677
18807
|
],
|
|
18678
18808
|
"events": [
|
|
@@ -18734,6 +18864,24 @@
|
|
|
18734
18864
|
"type": "string"
|
|
18735
18865
|
}
|
|
18736
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
|
+
]
|
|
18737
18885
|
}
|
|
18738
18886
|
]
|
|
18739
18887
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -8626,6 +8626,7 @@ experimental domain Storage
|
|
|
8626
8626
|
websql
|
|
8627
8627
|
service_workers
|
|
8628
8628
|
cache_storage
|
|
8629
|
+
interest_groups
|
|
8629
8630
|
all
|
|
8630
8631
|
other
|
|
8631
8632
|
|
|
@@ -8643,6 +8644,37 @@ experimental domain Storage
|
|
|
8643
8644
|
properties
|
|
8644
8645
|
string issuerOrigin
|
|
8645
8646
|
number count
|
|
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
|
|
8646
8678
|
|
|
8647
8679
|
# Clears storage for origin.
|
|
8648
8680
|
command clearDataForOrigin
|
|
@@ -8743,6 +8775,19 @@ experimental domain Storage
|
|
|
8743
8775
|
# True if any tokens were deleted, false otherwise.
|
|
8744
8776
|
boolean didDeleteTokens
|
|
8745
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
|
+
|
|
8746
8791
|
# A cache's contents have been modified.
|
|
8747
8792
|
event cacheStorageContentUpdated
|
|
8748
8793
|
parameters
|
|
@@ -8772,6 +8817,13 @@ experimental domain Storage
|
|
|
8772
8817
|
parameters
|
|
8773
8818
|
# Origin to update.
|
|
8774
8819
|
string origin
|
|
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
|
|
8775
8827
|
|
|
8776
8828
|
# The SystemInfo domain defines methods and events for querying low-level system information.
|
|
8777
8829
|
experimental domain SystemInfo
|
|
@@ -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
|
@@ -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
|
/**
|