devtools-protocol 0.0.1449749 → 0.0.1451615
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.
@@ -19837,7 +19837,7 @@
|
|
19837
19837
|
]
|
19838
19838
|
},
|
19839
19839
|
{
|
19840
|
-
"name": "
|
19840
|
+
"name": "getAdScriptAncestryIds",
|
19841
19841
|
"experimental": true,
|
19842
19842
|
"parameters": [
|
19843
19843
|
{
|
@@ -19847,10 +19847,12 @@
|
|
19847
19847
|
],
|
19848
19848
|
"returns": [
|
19849
19849
|
{
|
19850
|
-
"name": "
|
19851
|
-
"description": "
|
19852
|
-
"
|
19853
|
-
"
|
19850
|
+
"name": "adScriptAncestryIds",
|
19851
|
+
"description": "The ancestry chain of ad script identifiers leading to this frame's\ncreation, ordered from the most immediate script (in the frame creation\nstack) to more distant ancestors (that created the immediately preceding\nscript). Only sent if frame is labelled as an ad and ids are available.",
|
19852
|
+
"type": "array",
|
19853
|
+
"items": {
|
19854
|
+
"$ref": "AdScriptId"
|
19855
|
+
}
|
19854
19856
|
}
|
19855
19857
|
]
|
19856
19858
|
},
|
@@ -21088,6 +21090,12 @@
|
|
21088
21090
|
"name": "javascriptDialogClosed",
|
21089
21091
|
"description": "Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been\nclosed.",
|
21090
21092
|
"parameters": [
|
21093
|
+
{
|
21094
|
+
"name": "frameId",
|
21095
|
+
"description": "Frame id.",
|
21096
|
+
"experimental": true,
|
21097
|
+
"$ref": "FrameId"
|
21098
|
+
},
|
21091
21099
|
{
|
21092
21100
|
"name": "result",
|
21093
21101
|
"description": "Whether dialog was confirmed.",
|
@@ -21109,6 +21117,12 @@
|
|
21109
21117
|
"description": "Frame url.",
|
21110
21118
|
"type": "string"
|
21111
21119
|
},
|
21120
|
+
{
|
21121
|
+
"name": "frameId",
|
21122
|
+
"description": "Frame id.",
|
21123
|
+
"experimental": true,
|
21124
|
+
"$ref": "FrameId"
|
21125
|
+
},
|
21112
21126
|
{
|
21113
21127
|
"name": "message",
|
21114
21128
|
"description": "Message that will be displayed by the dialog.",
|
@@ -22479,6 +22493,36 @@
|
|
22479
22493
|
}
|
22480
22494
|
]
|
22481
22495
|
},
|
22496
|
+
{
|
22497
|
+
"id": "SharedStoragePrivateAggregationConfig",
|
22498
|
+
"description": "Represents a dictionary object passed in as privateAggregationConfig to\nrun or selectURL.",
|
22499
|
+
"type": "object",
|
22500
|
+
"properties": [
|
22501
|
+
{
|
22502
|
+
"name": "aggregationCoordinatorOrigin",
|
22503
|
+
"description": "The chosen aggregation service deployment.",
|
22504
|
+
"optional": true,
|
22505
|
+
"type": "string"
|
22506
|
+
},
|
22507
|
+
{
|
22508
|
+
"name": "contextId",
|
22509
|
+
"description": "The context ID provided.",
|
22510
|
+
"optional": true,
|
22511
|
+
"type": "string"
|
22512
|
+
},
|
22513
|
+
{
|
22514
|
+
"name": "filteringIdMaxBytes",
|
22515
|
+
"description": "Configures the maximum size allowed for filtering IDs.",
|
22516
|
+
"type": "integer"
|
22517
|
+
},
|
22518
|
+
{
|
22519
|
+
"name": "maxContributions",
|
22520
|
+
"description": "The limit on the number of contributions in the final report.",
|
22521
|
+
"optional": true,
|
22522
|
+
"type": "integer"
|
22523
|
+
}
|
22524
|
+
]
|
22525
|
+
},
|
22482
22526
|
{
|
22483
22527
|
"id": "SharedStorageReportingMetadata",
|
22484
22528
|
"description": "Pair of reporting metadata details for a candidate URL for `selectURL()`.",
|
@@ -22521,48 +22565,96 @@
|
|
22521
22565
|
"properties": [
|
22522
22566
|
{
|
22523
22567
|
"name": "scriptSourceUrl",
|
22524
|
-
"description": "Spec of the module script URL.\nPresent only for
|
22568
|
+
"description": "Spec of the module script URL.\nPresent only for SharedStorageAccessMethods: addModule and\ncreateWorklet.",
|
22569
|
+
"optional": true,
|
22570
|
+
"type": "string"
|
22571
|
+
},
|
22572
|
+
{
|
22573
|
+
"name": "dataOrigin",
|
22574
|
+
"description": "String denoting \"context-origin\", \"script-origin\", or a custom\norigin to be used as the worklet's data origin.\nPresent only for SharedStorageAccessMethod: createWorklet.",
|
22525
22575
|
"optional": true,
|
22526
22576
|
"type": "string"
|
22527
22577
|
},
|
22528
22578
|
{
|
22529
22579
|
"name": "operationName",
|
22530
|
-
"description": "Name of the registered operation to be run.\nPresent only for
|
22580
|
+
"description": "Name of the registered operation to be run.\nPresent only for SharedStorageAccessMethods: run and selectURL.",
|
22531
22581
|
"optional": true,
|
22532
22582
|
"type": "string"
|
22533
22583
|
},
|
22584
|
+
{
|
22585
|
+
"name": "keepAlive",
|
22586
|
+
"description": "Whether or not to keep the worket alive for future run or selectURL\ncalls.\nPresent only for SharedStorageAccessMethods: run and selectURL.",
|
22587
|
+
"optional": true,
|
22588
|
+
"type": "boolean"
|
22589
|
+
},
|
22590
|
+
{
|
22591
|
+
"name": "privateAggregationConfig",
|
22592
|
+
"description": "Configures the private aggregation options.\nPresent only for SharedStorageAccessMethods: run and selectURL.",
|
22593
|
+
"optional": true,
|
22594
|
+
"$ref": "SharedStoragePrivateAggregationConfig"
|
22595
|
+
},
|
22534
22596
|
{
|
22535
22597
|
"name": "serializedData",
|
22536
|
-
"description": "The operation's serialized data in bytes (converted to a string).\nPresent only for
|
22598
|
+
"description": "The operation's serialized data in bytes (converted to a string).\nPresent only for SharedStorageAccessMethods: run and selectURL.\nTODO(crbug.com/401011862): Consider updating this parameter to binary.",
|
22537
22599
|
"optional": true,
|
22538
22600
|
"type": "string"
|
22539
22601
|
},
|
22540
22602
|
{
|
22541
22603
|
"name": "urlsWithMetadata",
|
22542
|
-
"description": "Array of candidate URLs' specs, along with any associated metadata.\nPresent only for
|
22604
|
+
"description": "Array of candidate URLs' specs, along with any associated metadata.\nPresent only for SharedStorageAccessMethod: selectURL.",
|
22543
22605
|
"optional": true,
|
22544
22606
|
"type": "array",
|
22545
22607
|
"items": {
|
22546
22608
|
"$ref": "SharedStorageUrlWithMetadata"
|
22547
22609
|
}
|
22548
22610
|
},
|
22611
|
+
{
|
22612
|
+
"name": "urnUuid",
|
22613
|
+
"description": "Spec of the URN:UUID generated for a selectURL call.\nPresent only for SharedStorageAccessMethod: selectURL.",
|
22614
|
+
"optional": true,
|
22615
|
+
"type": "string"
|
22616
|
+
},
|
22549
22617
|
{
|
22550
22618
|
"name": "key",
|
22551
|
-
"description": "Key for a specific entry in an origin's shared storage.\nPresent only for
|
22619
|
+
"description": "Key for a specific entry in an origin's shared storage.\nPresent only for SharedStorageAccessMethods: set, append, delete, and\nget.",
|
22552
22620
|
"optional": true,
|
22553
22621
|
"type": "string"
|
22554
22622
|
},
|
22555
22623
|
{
|
22556
22624
|
"name": "value",
|
22557
|
-
"description": "Value for a specific entry in an origin's shared storage.\nPresent only for
|
22625
|
+
"description": "Value for a specific entry in an origin's shared storage.\nPresent only for SharedStorageAccessMethods: set and append.",
|
22558
22626
|
"optional": true,
|
22559
22627
|
"type": "string"
|
22560
22628
|
},
|
22561
22629
|
{
|
22562
22630
|
"name": "ignoreIfPresent",
|
22563
|
-
"description": "Whether or not to set an entry for a key if that key is already present.\nPresent only for
|
22631
|
+
"description": "Whether or not to set an entry for a key if that key is already present.\nPresent only for SharedStorageAccessMethod: set.",
|
22564
22632
|
"optional": true,
|
22565
22633
|
"type": "boolean"
|
22634
|
+
},
|
22635
|
+
{
|
22636
|
+
"name": "workletId",
|
22637
|
+
"description": "If the method is called on a worklet, or as part of\na worklet script, it will have an ID for the associated worklet.\nPresent only for SharedStorageAccessMethods: addModule, createWorklet,\nrun, selectURL, and any other SharedStorageAccessMethod when the\nSharedStorageAccessScope is worklet.",
|
22638
|
+
"optional": true,
|
22639
|
+
"type": "string"
|
22640
|
+
},
|
22641
|
+
{
|
22642
|
+
"name": "withLock",
|
22643
|
+
"description": "Name of the lock to be acquired, if present.\nOptionally present only for SharedStorageAccessMethods: batchUpdate,\nset, append, delete, and clear.",
|
22644
|
+
"optional": true,
|
22645
|
+
"type": "string"
|
22646
|
+
},
|
22647
|
+
{
|
22648
|
+
"name": "batchUpdateId",
|
22649
|
+
"description": "If the method has been called as part of a batchUpdate, then this\nnumber identifies the batch to which it belongs.\nOptionally present only for SharedStorageAccessMethods:\nbatchUpdate (required), set, append, delete, and clear.",
|
22650
|
+
"optional": true,
|
22651
|
+
"type": "string"
|
22652
|
+
},
|
22653
|
+
{
|
22654
|
+
"name": "batchSize",
|
22655
|
+
"description": "Number of modifier methods sent in batch.\nPresent only for SharedStorageAccessMethod: batchUpdate.",
|
22656
|
+
"optional": true,
|
22657
|
+
"type": "integer"
|
22566
22658
|
}
|
22567
22659
|
]
|
22568
22660
|
},
|
@@ -22956,6 +23048,14 @@
|
|
22956
23048
|
"items": {
|
22957
23049
|
"$ref": "AttributionReportingNamedBudgetDef"
|
22958
23050
|
}
|
23051
|
+
},
|
23052
|
+
{
|
23053
|
+
"name": "debugReporting",
|
23054
|
+
"type": "boolean"
|
23055
|
+
},
|
23056
|
+
{
|
23057
|
+
"name": "eventLevelEpsilon",
|
23058
|
+
"type": "number"
|
22959
23059
|
}
|
22960
23060
|
]
|
22961
23061
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -9186,13 +9186,15 @@ domain Page
|
|
9186
9186
|
# Recommendation for manifest's id attribute to match current id computed from start_url
|
9187
9187
|
optional string recommendedId
|
9188
9188
|
|
9189
|
-
experimental command
|
9189
|
+
experimental command getAdScriptAncestryIds
|
9190
9190
|
parameters
|
9191
9191
|
FrameId frameId
|
9192
9192
|
returns
|
9193
|
-
#
|
9194
|
-
#
|
9195
|
-
|
9193
|
+
# The ancestry chain of ad script identifiers leading to this frame's
|
9194
|
+
# creation, ordered from the most immediate script (in the frame creation
|
9195
|
+
# stack) to more distant ancestors (that created the immediately preceding
|
9196
|
+
# script). Only sent if frame is labelled as an ad and ids are available.
|
9197
|
+
array of AdScriptId adScriptAncestryIds
|
9196
9198
|
|
9197
9199
|
# Returns present frame tree structure.
|
9198
9200
|
command getFrameTree
|
@@ -9804,6 +9806,8 @@ domain Page
|
|
9804
9806
|
# closed.
|
9805
9807
|
event javascriptDialogClosed
|
9806
9808
|
parameters
|
9809
|
+
# Frame id.
|
9810
|
+
experimental FrameId frameId
|
9807
9811
|
# Whether dialog was confirmed.
|
9808
9812
|
boolean result
|
9809
9813
|
# User input in case of prompt.
|
@@ -9815,6 +9819,8 @@ domain Page
|
|
9815
9819
|
parameters
|
9816
9820
|
# Frame url.
|
9817
9821
|
string url
|
9822
|
+
# Frame id.
|
9823
|
+
experimental FrameId frameId
|
9818
9824
|
# Message that will be displayed by the dialog.
|
9819
9825
|
string message
|
9820
9826
|
# Dialog type.
|
@@ -10656,6 +10662,19 @@ experimental domain Storage
|
|
10656
10662
|
# storage.
|
10657
10663
|
integer bytesUsed
|
10658
10664
|
|
10665
|
+
# Represents a dictionary object passed in as privateAggregationConfig to
|
10666
|
+
# run or selectURL.
|
10667
|
+
type SharedStoragePrivateAggregationConfig extends object
|
10668
|
+
properties
|
10669
|
+
# The chosen aggregation service deployment.
|
10670
|
+
optional string aggregationCoordinatorOrigin
|
10671
|
+
# The context ID provided.
|
10672
|
+
optional string contextId
|
10673
|
+
# Configures the maximum size allowed for filtering IDs.
|
10674
|
+
integer filteringIdMaxBytes
|
10675
|
+
# The limit on the number of contributions in the final report.
|
10676
|
+
optional integer maxContributions
|
10677
|
+
|
10659
10678
|
# Pair of reporting metadata details for a candidate URL for `selectURL()`.
|
10660
10679
|
type SharedStorageReportingMetadata extends object
|
10661
10680
|
properties
|
@@ -10675,44 +10694,61 @@ experimental domain Storage
|
|
10675
10694
|
type SharedStorageAccessParams extends object
|
10676
10695
|
properties
|
10677
10696
|
# Spec of the module script URL.
|
10678
|
-
# Present only for
|
10697
|
+
# Present only for SharedStorageAccessMethods: addModule and
|
10698
|
+
# createWorklet.
|
10679
10699
|
optional string scriptSourceUrl
|
10700
|
+
# String denoting "context-origin", "script-origin", or a custom
|
10701
|
+
# origin to be used as the worklet's data origin.
|
10702
|
+
# Present only for SharedStorageAccessMethod: createWorklet.
|
10703
|
+
optional string dataOrigin
|
10680
10704
|
# Name of the registered operation to be run.
|
10681
|
-
# Present only for
|
10682
|
-
# SharedStorageAccessType.documentSelectURL.
|
10705
|
+
# Present only for SharedStorageAccessMethods: run and selectURL.
|
10683
10706
|
optional string operationName
|
10707
|
+
# Whether or not to keep the worket alive for future run or selectURL
|
10708
|
+
# calls.
|
10709
|
+
# Present only for SharedStorageAccessMethods: run and selectURL.
|
10710
|
+
optional boolean keepAlive
|
10711
|
+
# Configures the private aggregation options.
|
10712
|
+
# Present only for SharedStorageAccessMethods: run and selectURL.
|
10713
|
+
optional SharedStoragePrivateAggregationConfig privateAggregationConfig
|
10684
10714
|
# The operation's serialized data in bytes (converted to a string).
|
10685
|
-
# Present only for
|
10686
|
-
#
|
10715
|
+
# Present only for SharedStorageAccessMethods: run and selectURL.
|
10716
|
+
# TODO(crbug.com/401011862): Consider updating this parameter to binary.
|
10687
10717
|
optional string serializedData
|
10688
10718
|
# Array of candidate URLs' specs, along with any associated metadata.
|
10689
|
-
# Present only for
|
10719
|
+
# Present only for SharedStorageAccessMethod: selectURL.
|
10690
10720
|
optional array of SharedStorageUrlWithMetadata urlsWithMetadata
|
10721
|
+
# Spec of the URN:UUID generated for a selectURL call.
|
10722
|
+
# Present only for SharedStorageAccessMethod: selectURL.
|
10723
|
+
optional string urnUuid
|
10691
10724
|
# Key for a specific entry in an origin's shared storage.
|
10692
|
-
# Present only for
|
10693
|
-
#
|
10694
|
-
# SharedStorageAccessType.documentDelete,
|
10695
|
-
# SharedStorageAccessType.workletSet,
|
10696
|
-
# SharedStorageAccessType.workletAppend,
|
10697
|
-
# SharedStorageAccessType.workletDelete,
|
10698
|
-
# SharedStorageAccessType.workletGet,
|
10699
|
-
# SharedStorageAccessType.headerSet,
|
10700
|
-
# SharedStorageAccessType.headerAppend, and
|
10701
|
-
# SharedStorageAccessType.headerDelete.
|
10725
|
+
# Present only for SharedStorageAccessMethods: set, append, delete, and
|
10726
|
+
# get.
|
10702
10727
|
optional string key
|
10703
10728
|
# Value for a specific entry in an origin's shared storage.
|
10704
|
-
# Present only for
|
10705
|
-
# SharedStorageAccessType.documentAppend,
|
10706
|
-
# SharedStorageAccessType.workletSet,
|
10707
|
-
# SharedStorageAccessType.workletAppend,
|
10708
|
-
# SharedStorageAccessType.headerSet, and
|
10709
|
-
# SharedStorageAccessType.headerAppend.
|
10729
|
+
# Present only for SharedStorageAccessMethods: set and append.
|
10710
10730
|
optional string value
|
10711
10731
|
# Whether or not to set an entry for a key if that key is already present.
|
10712
|
-
# Present only for
|
10713
|
-
# SharedStorageAccessType.workletSet, and
|
10714
|
-
# SharedStorageAccessType.headerSet.
|
10732
|
+
# Present only for SharedStorageAccessMethod: set.
|
10715
10733
|
optional boolean ignoreIfPresent
|
10734
|
+
# If the method is called on a worklet, or as part of
|
10735
|
+
# a worklet script, it will have an ID for the associated worklet.
|
10736
|
+
# Present only for SharedStorageAccessMethods: addModule, createWorklet,
|
10737
|
+
# run, selectURL, and any other SharedStorageAccessMethod when the
|
10738
|
+
# SharedStorageAccessScope is worklet.
|
10739
|
+
optional string workletId
|
10740
|
+
# Name of the lock to be acquired, if present.
|
10741
|
+
# Optionally present only for SharedStorageAccessMethods: batchUpdate,
|
10742
|
+
# set, append, delete, and clear.
|
10743
|
+
optional string withLock
|
10744
|
+
# If the method has been called as part of a batchUpdate, then this
|
10745
|
+
# number identifies the batch to which it belongs.
|
10746
|
+
# Optionally present only for SharedStorageAccessMethods:
|
10747
|
+
# batchUpdate (required), set, append, delete, and clear.
|
10748
|
+
optional string batchUpdateId
|
10749
|
+
# Number of modifier methods sent in batch.
|
10750
|
+
# Present only for SharedStorageAccessMethod: batchUpdate.
|
10751
|
+
optional integer batchSize
|
10716
10752
|
|
10717
10753
|
type StorageBucketsDurability extends string
|
10718
10754
|
enum
|
@@ -11193,6 +11229,8 @@ experimental domain Storage
|
|
11193
11229
|
optional AttributionScopesData scopesData
|
11194
11230
|
integer maxEventLevelReports
|
11195
11231
|
array of AttributionReportingNamedBudgetDef namedBudgets
|
11232
|
+
boolean debugReporting
|
11233
|
+
number eventLevelEpsilon
|
11196
11234
|
|
11197
11235
|
experimental type AttributionReportingSourceRegistrationResult extends string
|
11198
11236
|
enum
|
@@ -4009,9 +4009,9 @@ export namespace ProtocolMapping {
|
|
4009
4009
|
paramsType: [];
|
4010
4010
|
returnType: Protocol.Page.GetAppIdResponse;
|
4011
4011
|
};
|
4012
|
-
'Page.
|
4013
|
-
paramsType: [Protocol.Page.
|
4014
|
-
returnType: Protocol.Page.
|
4012
|
+
'Page.getAdScriptAncestryIds': {
|
4013
|
+
paramsType: [Protocol.Page.GetAdScriptAncestryIdsRequest];
|
4014
|
+
returnType: Protocol.Page.GetAdScriptAncestryIdsResponse;
|
4015
4015
|
};
|
4016
4016
|
/**
|
4017
4017
|
* Returns present frame tree structure.
|
@@ -3073,7 +3073,7 @@ export namespace ProtocolProxyApi {
|
|
3073
3073
|
*/
|
3074
3074
|
getAppId(): Promise<Protocol.Page.GetAppIdResponse>;
|
3075
3075
|
|
3076
|
-
|
3076
|
+
getAdScriptAncestryIds(params: Protocol.Page.GetAdScriptAncestryIdsRequest): Promise<Protocol.Page.GetAdScriptAncestryIdsResponse>;
|
3077
3077
|
|
3078
3078
|
/**
|
3079
3079
|
* Returns present frame tree structure.
|
@@ -3299,7 +3299,7 @@ export namespace ProtocolTestsProxyApi {
|
|
3299
3299
|
*/
|
3300
3300
|
getAppId(): Promise<{id: number, result: Protocol.Page.GetAppIdResponse, sessionId: string}>;
|
3301
3301
|
|
3302
|
-
|
3302
|
+
getAdScriptAncestryIds(params: Protocol.Page.GetAdScriptAncestryIdsRequest): Promise<{id: number, result: Protocol.Page.GetAdScriptAncestryIdsResponse, sessionId: string}>;
|
3303
3303
|
|
3304
3304
|
/**
|
3305
3305
|
* Returns present frame tree structure.
|
package/types/protocol.d.ts
CHANGED
@@ -14787,16 +14787,18 @@ export namespace Protocol {
|
|
14787
14787
|
recommendedId?: string;
|
14788
14788
|
}
|
14789
14789
|
|
14790
|
-
export interface
|
14790
|
+
export interface GetAdScriptAncestryIdsRequest {
|
14791
14791
|
frameId: FrameId;
|
14792
14792
|
}
|
14793
14793
|
|
14794
|
-
export interface
|
14794
|
+
export interface GetAdScriptAncestryIdsResponse {
|
14795
14795
|
/**
|
14796
|
-
*
|
14797
|
-
*
|
14796
|
+
* The ancestry chain of ad script identifiers leading to this frame's
|
14797
|
+
* creation, ordered from the most immediate script (in the frame creation
|
14798
|
+
* stack) to more distant ancestors (that created the immediately preceding
|
14799
|
+
* script). Only sent if frame is labelled as an ad and ids are available.
|
14798
14800
|
*/
|
14799
|
-
|
14801
|
+
adScriptAncestryIds: AdScriptId[];
|
14800
14802
|
}
|
14801
14803
|
|
14802
14804
|
export interface GetFrameTreeResponse {
|
@@ -15635,6 +15637,10 @@ export namespace Protocol {
|
|
15635
15637
|
* closed.
|
15636
15638
|
*/
|
15637
15639
|
export interface JavascriptDialogClosedEvent {
|
15640
|
+
/**
|
15641
|
+
* Frame id.
|
15642
|
+
*/
|
15643
|
+
frameId: FrameId;
|
15638
15644
|
/**
|
15639
15645
|
* Whether dialog was confirmed.
|
15640
15646
|
*/
|
@@ -15654,6 +15660,10 @@ export namespace Protocol {
|
|
15654
15660
|
* Frame url.
|
15655
15661
|
*/
|
15656
15662
|
url: string;
|
15663
|
+
/**
|
15664
|
+
* Frame id.
|
15665
|
+
*/
|
15666
|
+
frameId: FrameId;
|
15657
15667
|
/**
|
15658
15668
|
* Message that will be displayed by the dialog.
|
15659
15669
|
*/
|
@@ -16458,6 +16468,29 @@ export namespace Protocol {
|
|
16458
16468
|
bytesUsed: integer;
|
16459
16469
|
}
|
16460
16470
|
|
16471
|
+
/**
|
16472
|
+
* Represents a dictionary object passed in as privateAggregationConfig to
|
16473
|
+
* run or selectURL.
|
16474
|
+
*/
|
16475
|
+
export interface SharedStoragePrivateAggregationConfig {
|
16476
|
+
/**
|
16477
|
+
* The chosen aggregation service deployment.
|
16478
|
+
*/
|
16479
|
+
aggregationCoordinatorOrigin?: string;
|
16480
|
+
/**
|
16481
|
+
* The context ID provided.
|
16482
|
+
*/
|
16483
|
+
contextId?: string;
|
16484
|
+
/**
|
16485
|
+
* Configures the maximum size allowed for filtering IDs.
|
16486
|
+
*/
|
16487
|
+
filteringIdMaxBytes: integer;
|
16488
|
+
/**
|
16489
|
+
* The limit on the number of contributions in the final report.
|
16490
|
+
*/
|
16491
|
+
maxContributions?: integer;
|
16492
|
+
}
|
16493
|
+
|
16461
16494
|
/**
|
16462
16495
|
* Pair of reporting metadata details for a candidate URL for `selectURL()`.
|
16463
16496
|
*/
|
@@ -16487,57 +16520,90 @@ export namespace Protocol {
|
|
16487
16520
|
export interface SharedStorageAccessParams {
|
16488
16521
|
/**
|
16489
16522
|
* Spec of the module script URL.
|
16490
|
-
* Present only for
|
16523
|
+
* Present only for SharedStorageAccessMethods: addModule and
|
16524
|
+
* createWorklet.
|
16491
16525
|
*/
|
16492
16526
|
scriptSourceUrl?: string;
|
16527
|
+
/**
|
16528
|
+
* String denoting "context-origin", "script-origin", or a custom
|
16529
|
+
* origin to be used as the worklet's data origin.
|
16530
|
+
* Present only for SharedStorageAccessMethod: createWorklet.
|
16531
|
+
*/
|
16532
|
+
dataOrigin?: string;
|
16493
16533
|
/**
|
16494
16534
|
* Name of the registered operation to be run.
|
16495
|
-
* Present only for
|
16496
|
-
* SharedStorageAccessType.documentSelectURL.
|
16535
|
+
* Present only for SharedStorageAccessMethods: run and selectURL.
|
16497
16536
|
*/
|
16498
16537
|
operationName?: string;
|
16538
|
+
/**
|
16539
|
+
* Whether or not to keep the worket alive for future run or selectURL
|
16540
|
+
* calls.
|
16541
|
+
* Present only for SharedStorageAccessMethods: run and selectURL.
|
16542
|
+
*/
|
16543
|
+
keepAlive?: boolean;
|
16544
|
+
/**
|
16545
|
+
* Configures the private aggregation options.
|
16546
|
+
* Present only for SharedStorageAccessMethods: run and selectURL.
|
16547
|
+
*/
|
16548
|
+
privateAggregationConfig?: SharedStoragePrivateAggregationConfig;
|
16499
16549
|
/**
|
16500
16550
|
* The operation's serialized data in bytes (converted to a string).
|
16501
|
-
* Present only for
|
16502
|
-
*
|
16551
|
+
* Present only for SharedStorageAccessMethods: run and selectURL.
|
16552
|
+
* TODO(crbug.com/401011862): Consider updating this parameter to binary.
|
16503
16553
|
*/
|
16504
16554
|
serializedData?: string;
|
16505
16555
|
/**
|
16506
16556
|
* Array of candidate URLs' specs, along with any associated metadata.
|
16507
|
-
* Present only for
|
16557
|
+
* Present only for SharedStorageAccessMethod: selectURL.
|
16508
16558
|
*/
|
16509
16559
|
urlsWithMetadata?: SharedStorageUrlWithMetadata[];
|
16560
|
+
/**
|
16561
|
+
* Spec of the URN:UUID generated for a selectURL call.
|
16562
|
+
* Present only for SharedStorageAccessMethod: selectURL.
|
16563
|
+
*/
|
16564
|
+
urnUuid?: string;
|
16510
16565
|
/**
|
16511
16566
|
* Key for a specific entry in an origin's shared storage.
|
16512
|
-
* Present only for
|
16513
|
-
*
|
16514
|
-
* SharedStorageAccessType.documentDelete,
|
16515
|
-
* SharedStorageAccessType.workletSet,
|
16516
|
-
* SharedStorageAccessType.workletAppend,
|
16517
|
-
* SharedStorageAccessType.workletDelete,
|
16518
|
-
* SharedStorageAccessType.workletGet,
|
16519
|
-
* SharedStorageAccessType.headerSet,
|
16520
|
-
* SharedStorageAccessType.headerAppend, and
|
16521
|
-
* SharedStorageAccessType.headerDelete.
|
16567
|
+
* Present only for SharedStorageAccessMethods: set, append, delete, and
|
16568
|
+
* get.
|
16522
16569
|
*/
|
16523
16570
|
key?: string;
|
16524
16571
|
/**
|
16525
16572
|
* Value for a specific entry in an origin's shared storage.
|
16526
|
-
* Present only for
|
16527
|
-
* SharedStorageAccessType.documentAppend,
|
16528
|
-
* SharedStorageAccessType.workletSet,
|
16529
|
-
* SharedStorageAccessType.workletAppend,
|
16530
|
-
* SharedStorageAccessType.headerSet, and
|
16531
|
-
* SharedStorageAccessType.headerAppend.
|
16573
|
+
* Present only for SharedStorageAccessMethods: set and append.
|
16532
16574
|
*/
|
16533
16575
|
value?: string;
|
16534
16576
|
/**
|
16535
16577
|
* Whether or not to set an entry for a key if that key is already present.
|
16536
|
-
* Present only for
|
16537
|
-
* SharedStorageAccessType.workletSet, and
|
16538
|
-
* SharedStorageAccessType.headerSet.
|
16578
|
+
* Present only for SharedStorageAccessMethod: set.
|
16539
16579
|
*/
|
16540
16580
|
ignoreIfPresent?: boolean;
|
16581
|
+
/**
|
16582
|
+
* If the method is called on a worklet, or as part of
|
16583
|
+
* a worklet script, it will have an ID for the associated worklet.
|
16584
|
+
* Present only for SharedStorageAccessMethods: addModule, createWorklet,
|
16585
|
+
* run, selectURL, and any other SharedStorageAccessMethod when the
|
16586
|
+
* SharedStorageAccessScope is worklet.
|
16587
|
+
*/
|
16588
|
+
workletId?: string;
|
16589
|
+
/**
|
16590
|
+
* Name of the lock to be acquired, if present.
|
16591
|
+
* Optionally present only for SharedStorageAccessMethods: batchUpdate,
|
16592
|
+
* set, append, delete, and clear.
|
16593
|
+
*/
|
16594
|
+
withLock?: string;
|
16595
|
+
/**
|
16596
|
+
* If the method has been called as part of a batchUpdate, then this
|
16597
|
+
* number identifies the batch to which it belongs.
|
16598
|
+
* Optionally present only for SharedStorageAccessMethods:
|
16599
|
+
* batchUpdate (required), set, append, delete, and clear.
|
16600
|
+
*/
|
16601
|
+
batchUpdateId?: string;
|
16602
|
+
/**
|
16603
|
+
* Number of modifier methods sent in batch.
|
16604
|
+
* Present only for SharedStorageAccessMethod: batchUpdate.
|
16605
|
+
*/
|
16606
|
+
batchSize?: integer;
|
16541
16607
|
}
|
16542
16608
|
|
16543
16609
|
export type StorageBucketsDurability = ('relaxed' | 'strict');
|
@@ -16677,6 +16743,8 @@ export namespace Protocol {
|
|
16677
16743
|
scopesData?: AttributionScopesData;
|
16678
16744
|
maxEventLevelReports: integer;
|
16679
16745
|
namedBudgets: AttributionReportingNamedBudgetDef[];
|
16746
|
+
debugReporting: boolean;
|
16747
|
+
eventLevelEpsilon: number;
|
16680
16748
|
}
|
16681
16749
|
|
16682
16750
|
export type AttributionReportingSourceRegistrationResult = ('success' | 'internalError' | 'insufficientSourceCapacity' | 'insufficientUniqueDestinationCapacity' | 'excessiveReportingOrigins' | 'prohibitedByBrowserPolicy' | 'successNoised' | 'destinationReportingLimitReached' | 'destinationGlobalLimitReached' | 'destinationBothLimitsReached' | 'reportingOriginsPerSiteLimitReached' | 'exceedsMaxChannelCapacity' | 'exceedsMaxScopesChannelCapacity' | 'exceedsMaxTriggerStateCardinality' | 'exceedsMaxEventStatesLimit' | 'destinationPerDayReportingLimitReached');
|