devtools-protocol 0.0.1235375 → 0.0.1237913
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.
@@ -2483,6 +2483,7 @@
|
|
2483
2483
|
"audioCapture",
|
2484
2484
|
"backgroundSync",
|
2485
2485
|
"backgroundFetch",
|
2486
|
+
"capturedSurfaceControl",
|
2486
2487
|
"clipboardReadWrite",
|
2487
2488
|
"clipboardSanitizedWrite",
|
2488
2489
|
"displayCapture",
|
@@ -4189,6 +4190,13 @@
|
|
4189
4190
|
"name": "location",
|
4190
4191
|
"description": "Text position of a new rule in the target style sheet.",
|
4191
4192
|
"$ref": "SourceRange"
|
4193
|
+
},
|
4194
|
+
{
|
4195
|
+
"name": "nodeForPropertySyntaxValidation",
|
4196
|
+
"description": "NodeId for the DOM node in whose context custom property declarations for registered properties should be\nvalidated. If omitted, declarations in the new rule text can only be validated statically, which may produce\nincorrect results if the declaration contains a var() for example.",
|
4197
|
+
"experimental": true,
|
4198
|
+
"optional": true,
|
4199
|
+
"$ref": "DOM.NodeId"
|
4192
4200
|
}
|
4193
4201
|
],
|
4194
4202
|
"returns": [
|
@@ -4775,6 +4783,13 @@
|
|
4775
4783
|
"items": {
|
4776
4784
|
"$ref": "StyleDeclarationEdit"
|
4777
4785
|
}
|
4786
|
+
},
|
4787
|
+
{
|
4788
|
+
"name": "nodeForPropertySyntaxValidation",
|
4789
|
+
"description": "NodeId for the DOM node in whose context custom property declarations for registered properties should be\nvalidated. If omitted, declarations in the new rule text can only be validated statically, which may produce\nincorrect results if the declaration contains a var() for example.",
|
4790
|
+
"experimental": true,
|
4791
|
+
"optional": true,
|
4792
|
+
"$ref": "DOM.NodeId"
|
4778
4793
|
}
|
4779
4794
|
],
|
4780
4795
|
"returns": [
|
@@ -16304,6 +16319,7 @@
|
|
16304
16319
|
"bluetooth",
|
16305
16320
|
"browsing-topics",
|
16306
16321
|
"camera",
|
16322
|
+
"captured-surface-control",
|
16307
16323
|
"ch-dpr",
|
16308
16324
|
"ch-device-memory",
|
16309
16325
|
"ch-downlink",
|
@@ -16368,6 +16384,7 @@
|
|
16368
16384
|
"shared-storage-select-url",
|
16369
16385
|
"smart-card",
|
16370
16386
|
"storage-access",
|
16387
|
+
"sub-apps",
|
16371
16388
|
"sync-xhr",
|
16372
16389
|
"unload",
|
16373
16390
|
"usb",
|
@@ -20531,6 +20548,47 @@
|
|
20531
20548
|
}
|
20532
20549
|
]
|
20533
20550
|
},
|
20551
|
+
{
|
20552
|
+
"id": "AttributionReportingFilterConfig",
|
20553
|
+
"experimental": true,
|
20554
|
+
"type": "object",
|
20555
|
+
"properties": [
|
20556
|
+
{
|
20557
|
+
"name": "filterValues",
|
20558
|
+
"type": "array",
|
20559
|
+
"items": {
|
20560
|
+
"$ref": "AttributionReportingFilterDataEntry"
|
20561
|
+
}
|
20562
|
+
},
|
20563
|
+
{
|
20564
|
+
"name": "lookbackWindow",
|
20565
|
+
"description": "duration in seconds",
|
20566
|
+
"optional": true,
|
20567
|
+
"type": "integer"
|
20568
|
+
}
|
20569
|
+
]
|
20570
|
+
},
|
20571
|
+
{
|
20572
|
+
"id": "AttributionReportingFilterPair",
|
20573
|
+
"experimental": true,
|
20574
|
+
"type": "object",
|
20575
|
+
"properties": [
|
20576
|
+
{
|
20577
|
+
"name": "filters",
|
20578
|
+
"type": "array",
|
20579
|
+
"items": {
|
20580
|
+
"$ref": "AttributionReportingFilterConfig"
|
20581
|
+
}
|
20582
|
+
},
|
20583
|
+
{
|
20584
|
+
"name": "notFilters",
|
20585
|
+
"type": "array",
|
20586
|
+
"items": {
|
20587
|
+
"$ref": "AttributionReportingFilterConfig"
|
20588
|
+
}
|
20589
|
+
}
|
20590
|
+
]
|
20591
|
+
},
|
20534
20592
|
{
|
20535
20593
|
"id": "AttributionReportingAggregationKeysEntry",
|
20536
20594
|
"experimental": true,
|
@@ -20690,6 +20748,202 @@
|
|
20690
20748
|
"reportingOriginsPerSiteLimitReached",
|
20691
20749
|
"exceedsMaxChannelCapacity"
|
20692
20750
|
]
|
20751
|
+
},
|
20752
|
+
{
|
20753
|
+
"id": "AttributionReportingSourceRegistrationTimeConfig",
|
20754
|
+
"experimental": true,
|
20755
|
+
"type": "string",
|
20756
|
+
"enum": [
|
20757
|
+
"include",
|
20758
|
+
"exclude"
|
20759
|
+
]
|
20760
|
+
},
|
20761
|
+
{
|
20762
|
+
"id": "AttributionReportingAggregatableValueEntry",
|
20763
|
+
"experimental": true,
|
20764
|
+
"type": "object",
|
20765
|
+
"properties": [
|
20766
|
+
{
|
20767
|
+
"name": "key",
|
20768
|
+
"type": "string"
|
20769
|
+
},
|
20770
|
+
{
|
20771
|
+
"name": "value",
|
20772
|
+
"description": "number instead of integer because not all uint32 can be represented by\nint",
|
20773
|
+
"type": "number"
|
20774
|
+
}
|
20775
|
+
]
|
20776
|
+
},
|
20777
|
+
{
|
20778
|
+
"id": "AttributionReportingEventTriggerData",
|
20779
|
+
"experimental": true,
|
20780
|
+
"type": "object",
|
20781
|
+
"properties": [
|
20782
|
+
{
|
20783
|
+
"name": "data",
|
20784
|
+
"$ref": "UnsignedInt64AsBase10"
|
20785
|
+
},
|
20786
|
+
{
|
20787
|
+
"name": "priority",
|
20788
|
+
"$ref": "SignedInt64AsBase10"
|
20789
|
+
},
|
20790
|
+
{
|
20791
|
+
"name": "dedupKey",
|
20792
|
+
"optional": true,
|
20793
|
+
"$ref": "UnsignedInt64AsBase10"
|
20794
|
+
},
|
20795
|
+
{
|
20796
|
+
"name": "filters",
|
20797
|
+
"$ref": "AttributionReportingFilterPair"
|
20798
|
+
}
|
20799
|
+
]
|
20800
|
+
},
|
20801
|
+
{
|
20802
|
+
"id": "AttributionReportingAggregatableTriggerData",
|
20803
|
+
"experimental": true,
|
20804
|
+
"type": "object",
|
20805
|
+
"properties": [
|
20806
|
+
{
|
20807
|
+
"name": "keyPiece",
|
20808
|
+
"$ref": "UnsignedInt128AsBase16"
|
20809
|
+
},
|
20810
|
+
{
|
20811
|
+
"name": "sourceKeys",
|
20812
|
+
"type": "array",
|
20813
|
+
"items": {
|
20814
|
+
"type": "string"
|
20815
|
+
}
|
20816
|
+
},
|
20817
|
+
{
|
20818
|
+
"name": "filters",
|
20819
|
+
"$ref": "AttributionReportingFilterPair"
|
20820
|
+
}
|
20821
|
+
]
|
20822
|
+
},
|
20823
|
+
{
|
20824
|
+
"id": "AttributionReportingAggregatableDedupKey",
|
20825
|
+
"experimental": true,
|
20826
|
+
"type": "object",
|
20827
|
+
"properties": [
|
20828
|
+
{
|
20829
|
+
"name": "dedupKey",
|
20830
|
+
"optional": true,
|
20831
|
+
"$ref": "UnsignedInt64AsBase10"
|
20832
|
+
},
|
20833
|
+
{
|
20834
|
+
"name": "filters",
|
20835
|
+
"$ref": "AttributionReportingFilterPair"
|
20836
|
+
}
|
20837
|
+
]
|
20838
|
+
},
|
20839
|
+
{
|
20840
|
+
"id": "AttributionReportingTriggerRegistration",
|
20841
|
+
"experimental": true,
|
20842
|
+
"type": "object",
|
20843
|
+
"properties": [
|
20844
|
+
{
|
20845
|
+
"name": "filters",
|
20846
|
+
"$ref": "AttributionReportingFilterPair"
|
20847
|
+
},
|
20848
|
+
{
|
20849
|
+
"name": "debugKey",
|
20850
|
+
"optional": true,
|
20851
|
+
"$ref": "UnsignedInt64AsBase10"
|
20852
|
+
},
|
20853
|
+
{
|
20854
|
+
"name": "aggregatableDedupKeys",
|
20855
|
+
"type": "array",
|
20856
|
+
"items": {
|
20857
|
+
"$ref": "AttributionReportingAggregatableDedupKey"
|
20858
|
+
}
|
20859
|
+
},
|
20860
|
+
{
|
20861
|
+
"name": "eventTriggerData",
|
20862
|
+
"type": "array",
|
20863
|
+
"items": {
|
20864
|
+
"$ref": "AttributionReportingEventTriggerData"
|
20865
|
+
}
|
20866
|
+
},
|
20867
|
+
{
|
20868
|
+
"name": "aggregatableTriggerData",
|
20869
|
+
"type": "array",
|
20870
|
+
"items": {
|
20871
|
+
"$ref": "AttributionReportingAggregatableTriggerData"
|
20872
|
+
}
|
20873
|
+
},
|
20874
|
+
{
|
20875
|
+
"name": "aggregatableValues",
|
20876
|
+
"type": "array",
|
20877
|
+
"items": {
|
20878
|
+
"$ref": "AttributionReportingAggregatableValueEntry"
|
20879
|
+
}
|
20880
|
+
},
|
20881
|
+
{
|
20882
|
+
"name": "debugReporting",
|
20883
|
+
"type": "boolean"
|
20884
|
+
},
|
20885
|
+
{
|
20886
|
+
"name": "aggregationCoordinatorOrigin",
|
20887
|
+
"optional": true,
|
20888
|
+
"type": "string"
|
20889
|
+
},
|
20890
|
+
{
|
20891
|
+
"name": "sourceRegistrationTimeConfig",
|
20892
|
+
"$ref": "AttributionReportingSourceRegistrationTimeConfig"
|
20893
|
+
},
|
20894
|
+
{
|
20895
|
+
"name": "triggerContextId",
|
20896
|
+
"optional": true,
|
20897
|
+
"type": "string"
|
20898
|
+
}
|
20899
|
+
]
|
20900
|
+
},
|
20901
|
+
{
|
20902
|
+
"id": "AttributionReportingEventLevelResult",
|
20903
|
+
"experimental": true,
|
20904
|
+
"type": "string",
|
20905
|
+
"enum": [
|
20906
|
+
"success",
|
20907
|
+
"successDroppedLowerPriority",
|
20908
|
+
"internalError",
|
20909
|
+
"noCapacityForAttributionDestination",
|
20910
|
+
"noMatchingSources",
|
20911
|
+
"deduplicated",
|
20912
|
+
"excessiveAttributions",
|
20913
|
+
"priorityTooLow",
|
20914
|
+
"neverAttributedSource",
|
20915
|
+
"excessiveReportingOrigins",
|
20916
|
+
"noMatchingSourceFilterData",
|
20917
|
+
"prohibitedByBrowserPolicy",
|
20918
|
+
"noMatchingConfigurations",
|
20919
|
+
"excessiveReports",
|
20920
|
+
"falselyAttributedSource",
|
20921
|
+
"reportWindowPassed",
|
20922
|
+
"notRegistered",
|
20923
|
+
"reportWindowNotStarted",
|
20924
|
+
"noMatchingTriggerData"
|
20925
|
+
]
|
20926
|
+
},
|
20927
|
+
{
|
20928
|
+
"id": "AttributionReportingAggregatableResult",
|
20929
|
+
"experimental": true,
|
20930
|
+
"type": "string",
|
20931
|
+
"enum": [
|
20932
|
+
"success",
|
20933
|
+
"internalError",
|
20934
|
+
"noCapacityForAttributionDestination",
|
20935
|
+
"noMatchingSources",
|
20936
|
+
"excessiveAttributions",
|
20937
|
+
"excessiveReportingOrigins",
|
20938
|
+
"noHistograms",
|
20939
|
+
"insufficientBudget",
|
20940
|
+
"noMatchingSourceFilterData",
|
20941
|
+
"notRegistered",
|
20942
|
+
"prohibitedByBrowserPolicy",
|
20943
|
+
"deduplicated",
|
20944
|
+
"reportWindowPassed",
|
20945
|
+
"excessiveReports"
|
20946
|
+
]
|
20693
20947
|
}
|
20694
20948
|
],
|
20695
20949
|
"commands": [
|
@@ -21348,7 +21602,6 @@
|
|
21348
21602
|
},
|
21349
21603
|
{
|
21350
21604
|
"name": "attributionReportingSourceRegistered",
|
21351
|
-
"description": "TODO(crbug.com/1458532): Add other Attribution Reporting events, e.g.\ntrigger registration.",
|
21352
21605
|
"experimental": true,
|
21353
21606
|
"parameters": [
|
21354
21607
|
{
|
@@ -21360,6 +21613,24 @@
|
|
21360
21613
|
"$ref": "AttributionReportingSourceRegistrationResult"
|
21361
21614
|
}
|
21362
21615
|
]
|
21616
|
+
},
|
21617
|
+
{
|
21618
|
+
"name": "attributionReportingTriggerRegistered",
|
21619
|
+
"experimental": true,
|
21620
|
+
"parameters": [
|
21621
|
+
{
|
21622
|
+
"name": "registration",
|
21623
|
+
"$ref": "AttributionReportingTriggerRegistration"
|
21624
|
+
},
|
21625
|
+
{
|
21626
|
+
"name": "eventLevel",
|
21627
|
+
"$ref": "AttributionReportingEventLevelResult"
|
21628
|
+
},
|
21629
|
+
{
|
21630
|
+
"name": "aggregatable",
|
21631
|
+
"$ref": "AttributionReportingAggregatableResult"
|
21632
|
+
}
|
21633
|
+
]
|
21363
21634
|
}
|
21364
21635
|
]
|
21365
21636
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -1221,6 +1221,7 @@ domain Browser
|
|
1221
1221
|
audioCapture
|
1222
1222
|
backgroundSync
|
1223
1223
|
backgroundFetch
|
1224
|
+
capturedSurfaceControl
|
1224
1225
|
clipboardReadWrite
|
1225
1226
|
clipboardSanitizedWrite
|
1226
1227
|
displayCapture
|
@@ -1988,6 +1989,10 @@ experimental domain CSS
|
|
1988
1989
|
string ruleText
|
1989
1990
|
# Text position of a new rule in the target style sheet.
|
1990
1991
|
SourceRange location
|
1992
|
+
# NodeId for the DOM node in whose context custom property declarations for registered properties should be
|
1993
|
+
# validated. If omitted, declarations in the new rule text can only be validated statically, which may produce
|
1994
|
+
# incorrect results if the declaration contains a var() for example.
|
1995
|
+
experimental optional DOM.NodeId nodeForPropertySyntaxValidation
|
1991
1996
|
returns
|
1992
1997
|
# The newly created rule.
|
1993
1998
|
CSSRule rule
|
@@ -2231,6 +2236,10 @@ experimental domain CSS
|
|
2231
2236
|
command setStyleTexts
|
2232
2237
|
parameters
|
2233
2238
|
array of StyleDeclarationEdit edits
|
2239
|
+
# NodeId for the DOM node in whose context custom property declarations for registered properties should be
|
2240
|
+
# validated. If omitted, declarations in the new rule text can only be validated statically, which may produce
|
2241
|
+
# incorrect results if the declaration contains a var() for example.
|
2242
|
+
experimental optional DOM.NodeId nodeForPropertySyntaxValidation
|
2234
2243
|
returns
|
2235
2244
|
# The resulting styles after modification.
|
2236
2245
|
array of CSSStyle styles
|
@@ -7607,6 +7616,7 @@ domain Page
|
|
7607
7616
|
bluetooth
|
7608
7617
|
browsing-topics
|
7609
7618
|
camera
|
7619
|
+
captured-surface-control
|
7610
7620
|
ch-dpr
|
7611
7621
|
ch-device-memory
|
7612
7622
|
ch-downlink
|
@@ -7671,6 +7681,7 @@ domain Page
|
|
7671
7681
|
shared-storage-select-url
|
7672
7682
|
smart-card
|
7673
7683
|
storage-access
|
7684
|
+
sub-apps
|
7674
7685
|
sync-xhr
|
7675
7686
|
unload
|
7676
7687
|
usb
|
@@ -9959,6 +9970,17 @@ experimental domain Storage
|
|
9959
9970
|
string key
|
9960
9971
|
array of string values
|
9961
9972
|
|
9973
|
+
experimental type AttributionReportingFilterConfig extends object
|
9974
|
+
properties
|
9975
|
+
array of AttributionReportingFilterDataEntry filterValues
|
9976
|
+
# duration in seconds
|
9977
|
+
optional integer lookbackWindow
|
9978
|
+
|
9979
|
+
experimental type AttributionReportingFilterPair extends object
|
9980
|
+
properties
|
9981
|
+
array of AttributionReportingFilterConfig filters
|
9982
|
+
array of AttributionReportingFilterConfig notFilters
|
9983
|
+
|
9962
9984
|
experimental type AttributionReportingAggregationKeysEntry extends object
|
9963
9985
|
properties
|
9964
9986
|
string key
|
@@ -10017,13 +10039,99 @@ experimental domain Storage
|
|
10017
10039
|
reportingOriginsPerSiteLimitReached
|
10018
10040
|
exceedsMaxChannelCapacity
|
10019
10041
|
|
10020
|
-
# TODO(crbug.com/1458532): Add other Attribution Reporting events, e.g.
|
10021
|
-
# trigger registration.
|
10022
10042
|
experimental event attributionReportingSourceRegistered
|
10023
10043
|
parameters
|
10024
10044
|
AttributionReportingSourceRegistration registration
|
10025
10045
|
AttributionReportingSourceRegistrationResult result
|
10026
10046
|
|
10047
|
+
experimental type AttributionReportingSourceRegistrationTimeConfig extends string
|
10048
|
+
enum
|
10049
|
+
include
|
10050
|
+
exclude
|
10051
|
+
|
10052
|
+
experimental type AttributionReportingAggregatableValueEntry extends object
|
10053
|
+
properties
|
10054
|
+
string key
|
10055
|
+
# number instead of integer because not all uint32 can be represented by
|
10056
|
+
# int
|
10057
|
+
number value
|
10058
|
+
|
10059
|
+
experimental type AttributionReportingEventTriggerData extends object
|
10060
|
+
properties
|
10061
|
+
UnsignedInt64AsBase10 data
|
10062
|
+
SignedInt64AsBase10 priority
|
10063
|
+
optional UnsignedInt64AsBase10 dedupKey
|
10064
|
+
AttributionReportingFilterPair filters
|
10065
|
+
|
10066
|
+
experimental type AttributionReportingAggregatableTriggerData extends object
|
10067
|
+
properties
|
10068
|
+
UnsignedInt128AsBase16 keyPiece
|
10069
|
+
array of string sourceKeys
|
10070
|
+
AttributionReportingFilterPair filters
|
10071
|
+
|
10072
|
+
experimental type AttributionReportingAggregatableDedupKey extends object
|
10073
|
+
properties
|
10074
|
+
optional UnsignedInt64AsBase10 dedupKey
|
10075
|
+
AttributionReportingFilterPair filters
|
10076
|
+
|
10077
|
+
experimental type AttributionReportingTriggerRegistration extends object
|
10078
|
+
properties
|
10079
|
+
AttributionReportingFilterPair filters
|
10080
|
+
optional UnsignedInt64AsBase10 debugKey
|
10081
|
+
array of AttributionReportingAggregatableDedupKey aggregatableDedupKeys
|
10082
|
+
array of AttributionReportingEventTriggerData eventTriggerData
|
10083
|
+
array of AttributionReportingAggregatableTriggerData aggregatableTriggerData
|
10084
|
+
array of AttributionReportingAggregatableValueEntry aggregatableValues
|
10085
|
+
boolean debugReporting
|
10086
|
+
optional string aggregationCoordinatorOrigin
|
10087
|
+
AttributionReportingSourceRegistrationTimeConfig sourceRegistrationTimeConfig
|
10088
|
+
optional string triggerContextId
|
10089
|
+
|
10090
|
+
experimental type AttributionReportingEventLevelResult extends string
|
10091
|
+
enum
|
10092
|
+
success
|
10093
|
+
successDroppedLowerPriority
|
10094
|
+
internalError
|
10095
|
+
noCapacityForAttributionDestination
|
10096
|
+
noMatchingSources
|
10097
|
+
deduplicated
|
10098
|
+
excessiveAttributions
|
10099
|
+
priorityTooLow
|
10100
|
+
neverAttributedSource
|
10101
|
+
excessiveReportingOrigins
|
10102
|
+
noMatchingSourceFilterData
|
10103
|
+
prohibitedByBrowserPolicy
|
10104
|
+
noMatchingConfigurations
|
10105
|
+
excessiveReports
|
10106
|
+
falselyAttributedSource
|
10107
|
+
reportWindowPassed
|
10108
|
+
notRegistered
|
10109
|
+
reportWindowNotStarted
|
10110
|
+
noMatchingTriggerData
|
10111
|
+
|
10112
|
+
experimental type AttributionReportingAggregatableResult extends string
|
10113
|
+
enum
|
10114
|
+
success
|
10115
|
+
internalError
|
10116
|
+
noCapacityForAttributionDestination
|
10117
|
+
noMatchingSources
|
10118
|
+
excessiveAttributions
|
10119
|
+
excessiveReportingOrigins
|
10120
|
+
noHistograms
|
10121
|
+
insufficientBudget
|
10122
|
+
noMatchingSourceFilterData
|
10123
|
+
notRegistered
|
10124
|
+
prohibitedByBrowserPolicy
|
10125
|
+
deduplicated
|
10126
|
+
reportWindowPassed
|
10127
|
+
excessiveReports
|
10128
|
+
|
10129
|
+
experimental event attributionReportingTriggerRegistered
|
10130
|
+
parameters
|
10131
|
+
AttributionReportingTriggerRegistration registration
|
10132
|
+
AttributionReportingEventLevelResult eventLevel
|
10133
|
+
AttributionReportingAggregatableResult aggregatable
|
10134
|
+
|
10027
10135
|
# The SystemInfo domain defines methods and events for querying low-level system information.
|
10028
10136
|
experimental domain SystemInfo
|
10029
10137
|
|
@@ -562,11 +562,8 @@ export namespace ProtocolMapping {
|
|
562
562
|
'Storage.sharedStorageAccessed': [Protocol.Storage.SharedStorageAccessedEvent];
|
563
563
|
'Storage.storageBucketCreatedOrUpdated': [Protocol.Storage.StorageBucketCreatedOrUpdatedEvent];
|
564
564
|
'Storage.storageBucketDeleted': [Protocol.Storage.StorageBucketDeletedEvent];
|
565
|
-
/**
|
566
|
-
* TODO(crbug.com/1458532): Add other Attribution Reporting events, e.g.
|
567
|
-
* trigger registration.
|
568
|
-
*/
|
569
565
|
'Storage.attributionReportingSourceRegistered': [Protocol.Storage.AttributionReportingSourceRegisteredEvent];
|
566
|
+
'Storage.attributionReportingTriggerRegistered': [Protocol.Storage.AttributionReportingTriggerRegisteredEvent];
|
570
567
|
/**
|
571
568
|
* Issued when attached to target because of auto-attach or `attachToTarget` command.
|
572
569
|
*/
|
@@ -3515,12 +3515,10 @@ export namespace ProtocolProxyApi {
|
|
3515
3515
|
|
3516
3516
|
on(event: 'storageBucketDeleted', listener: (params: Protocol.Storage.StorageBucketDeletedEvent) => void): void;
|
3517
3517
|
|
3518
|
-
/**
|
3519
|
-
* TODO(crbug.com/1458532): Add other Attribution Reporting events, e.g.
|
3520
|
-
* trigger registration.
|
3521
|
-
*/
|
3522
3518
|
on(event: 'attributionReportingSourceRegistered', listener: (params: Protocol.Storage.AttributionReportingSourceRegisteredEvent) => void): void;
|
3523
3519
|
|
3520
|
+
on(event: 'attributionReportingTriggerRegistered', listener: (params: Protocol.Storage.AttributionReportingTriggerRegisteredEvent) => void): void;
|
3521
|
+
|
3524
3522
|
}
|
3525
3523
|
|
3526
3524
|
export interface SystemInfoApi {
|
package/types/protocol.d.ts
CHANGED
@@ -3969,7 +3969,7 @@ export namespace Protocol {
|
|
3969
3969
|
windowState?: WindowState;
|
3970
3970
|
}
|
3971
3971
|
|
3972
|
-
export type PermissionType = ('accessibilityEvents' | 'audioCapture' | 'backgroundSync' | 'backgroundFetch' | 'clipboardReadWrite' | 'clipboardSanitizedWrite' | 'displayCapture' | 'durableStorage' | 'flash' | 'geolocation' | 'idleDetection' | 'localFonts' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'paymentHandler' | 'periodicBackgroundSync' | 'protectedMediaIdentifier' | 'sensors' | 'storageAccess' | 'topLevelStorageAccess' | 'videoCapture' | 'videoCapturePanTiltZoom' | 'wakeLockScreen' | 'wakeLockSystem' | 'windowManagement');
|
3972
|
+
export type PermissionType = ('accessibilityEvents' | 'audioCapture' | 'backgroundSync' | 'backgroundFetch' | 'capturedSurfaceControl' | 'clipboardReadWrite' | 'clipboardSanitizedWrite' | 'displayCapture' | 'durableStorage' | 'flash' | 'geolocation' | 'idleDetection' | 'localFonts' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'paymentHandler' | 'periodicBackgroundSync' | 'protectedMediaIdentifier' | 'sensors' | 'storageAccess' | 'topLevelStorageAccess' | 'videoCapture' | 'videoCapturePanTiltZoom' | 'wakeLockScreen' | 'wakeLockSystem' | 'windowManagement');
|
3973
3973
|
|
3974
3974
|
export type PermissionSetting = ('granted' | 'denied' | 'prompt');
|
3975
3975
|
|
@@ -5162,6 +5162,12 @@ export namespace Protocol {
|
|
5162
5162
|
* Text position of a new rule in the target style sheet.
|
5163
5163
|
*/
|
5164
5164
|
location: SourceRange;
|
5165
|
+
/**
|
5166
|
+
* NodeId for the DOM node in whose context custom property declarations for registered properties should be
|
5167
|
+
* validated. If omitted, declarations in the new rule text can only be validated statically, which may produce
|
5168
|
+
* incorrect results if the declaration contains a var() for example.
|
5169
|
+
*/
|
5170
|
+
nodeForPropertySyntaxValidation?: DOM.NodeId;
|
5165
5171
|
}
|
5166
5172
|
|
5167
5173
|
export interface AddRuleResponse {
|
@@ -5474,6 +5480,12 @@ export namespace Protocol {
|
|
5474
5480
|
|
5475
5481
|
export interface SetStyleTextsRequest {
|
5476
5482
|
edits: StyleDeclarationEdit[];
|
5483
|
+
/**
|
5484
|
+
* NodeId for the DOM node in whose context custom property declarations for registered properties should be
|
5485
|
+
* validated. If omitted, declarations in the new rule text can only be validated statically, which may produce
|
5486
|
+
* incorrect results if the declaration contains a var() for example.
|
5487
|
+
*/
|
5488
|
+
nodeForPropertySyntaxValidation?: DOM.NodeId;
|
5477
5489
|
}
|
5478
5490
|
|
5479
5491
|
export interface SetStyleTextsResponse {
|
@@ -12934,7 +12946,7 @@ export namespace Protocol {
|
|
12934
12946
|
* All Permissions Policy features. This enum should match the one defined
|
12935
12947
|
* in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
12936
12948
|
*/
|
12937
|
-
export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factor' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'storage-access' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-printing' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking');
|
12949
|
+
export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factor' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-printing' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking');
|
12938
12950
|
|
12939
12951
|
/**
|
12940
12952
|
* Reason for a permissions policy feature to be disabled.
|
@@ -15360,6 +15372,19 @@ export namespace Protocol {
|
|
15360
15372
|
values: string[];
|
15361
15373
|
}
|
15362
15374
|
|
15375
|
+
export interface AttributionReportingFilterConfig {
|
15376
|
+
filterValues: AttributionReportingFilterDataEntry[];
|
15377
|
+
/**
|
15378
|
+
* duration in seconds
|
15379
|
+
*/
|
15380
|
+
lookbackWindow?: integer;
|
15381
|
+
}
|
15382
|
+
|
15383
|
+
export interface AttributionReportingFilterPair {
|
15384
|
+
filters: AttributionReportingFilterConfig[];
|
15385
|
+
notFilters: AttributionReportingFilterConfig[];
|
15386
|
+
}
|
15387
|
+
|
15363
15388
|
export interface AttributionReportingAggregationKeysEntry {
|
15364
15389
|
key: string;
|
15365
15390
|
value: UnsignedInt128AsBase16;
|
@@ -15412,6 +15437,52 @@ export namespace Protocol {
|
|
15412
15437
|
|
15413
15438
|
export type AttributionReportingSourceRegistrationResult = ('success' | 'internalError' | 'insufficientSourceCapacity' | 'insufficientUniqueDestinationCapacity' | 'excessiveReportingOrigins' | 'prohibitedByBrowserPolicy' | 'successNoised' | 'destinationReportingLimitReached' | 'destinationGlobalLimitReached' | 'destinationBothLimitsReached' | 'reportingOriginsPerSiteLimitReached' | 'exceedsMaxChannelCapacity');
|
15414
15439
|
|
15440
|
+
export type AttributionReportingSourceRegistrationTimeConfig = ('include' | 'exclude');
|
15441
|
+
|
15442
|
+
export interface AttributionReportingAggregatableValueEntry {
|
15443
|
+
key: string;
|
15444
|
+
/**
|
15445
|
+
* number instead of integer because not all uint32 can be represented by
|
15446
|
+
* int
|
15447
|
+
*/
|
15448
|
+
value: number;
|
15449
|
+
}
|
15450
|
+
|
15451
|
+
export interface AttributionReportingEventTriggerData {
|
15452
|
+
data: UnsignedInt64AsBase10;
|
15453
|
+
priority: SignedInt64AsBase10;
|
15454
|
+
dedupKey?: UnsignedInt64AsBase10;
|
15455
|
+
filters: AttributionReportingFilterPair;
|
15456
|
+
}
|
15457
|
+
|
15458
|
+
export interface AttributionReportingAggregatableTriggerData {
|
15459
|
+
keyPiece: UnsignedInt128AsBase16;
|
15460
|
+
sourceKeys: string[];
|
15461
|
+
filters: AttributionReportingFilterPair;
|
15462
|
+
}
|
15463
|
+
|
15464
|
+
export interface AttributionReportingAggregatableDedupKey {
|
15465
|
+
dedupKey?: UnsignedInt64AsBase10;
|
15466
|
+
filters: AttributionReportingFilterPair;
|
15467
|
+
}
|
15468
|
+
|
15469
|
+
export interface AttributionReportingTriggerRegistration {
|
15470
|
+
filters: AttributionReportingFilterPair;
|
15471
|
+
debugKey?: UnsignedInt64AsBase10;
|
15472
|
+
aggregatableDedupKeys: AttributionReportingAggregatableDedupKey[];
|
15473
|
+
eventTriggerData: AttributionReportingEventTriggerData[];
|
15474
|
+
aggregatableTriggerData: AttributionReportingAggregatableTriggerData[];
|
15475
|
+
aggregatableValues: AttributionReportingAggregatableValueEntry[];
|
15476
|
+
debugReporting: boolean;
|
15477
|
+
aggregationCoordinatorOrigin?: string;
|
15478
|
+
sourceRegistrationTimeConfig: AttributionReportingSourceRegistrationTimeConfig;
|
15479
|
+
triggerContextId?: string;
|
15480
|
+
}
|
15481
|
+
|
15482
|
+
export type AttributionReportingEventLevelResult = ('success' | 'successDroppedLowerPriority' | 'internalError' | 'noCapacityForAttributionDestination' | 'noMatchingSources' | 'deduplicated' | 'excessiveAttributions' | 'priorityTooLow' | 'neverAttributedSource' | 'excessiveReportingOrigins' | 'noMatchingSourceFilterData' | 'prohibitedByBrowserPolicy' | 'noMatchingConfigurations' | 'excessiveReports' | 'falselyAttributedSource' | 'reportWindowPassed' | 'notRegistered' | 'reportWindowNotStarted' | 'noMatchingTriggerData');
|
15483
|
+
|
15484
|
+
export type AttributionReportingAggregatableResult = ('success' | 'internalError' | 'noCapacityForAttributionDestination' | 'noMatchingSources' | 'excessiveAttributions' | 'excessiveReportingOrigins' | 'noHistograms' | 'insufficientBudget' | 'noMatchingSourceFilterData' | 'notRegistered' | 'prohibitedByBrowserPolicy' | 'deduplicated' | 'reportWindowPassed' | 'excessiveReports');
|
15485
|
+
|
15415
15486
|
export interface GetStorageKeyForFrameRequest {
|
15416
15487
|
frameId: Page.FrameId;
|
15417
15488
|
}
|
@@ -15799,14 +15870,16 @@ export namespace Protocol {
|
|
15799
15870
|
bucketId: string;
|
15800
15871
|
}
|
15801
15872
|
|
15802
|
-
/**
|
15803
|
-
* TODO(crbug.com/1458532): Add other Attribution Reporting events, e.g.
|
15804
|
-
* trigger registration.
|
15805
|
-
*/
|
15806
15873
|
export interface AttributionReportingSourceRegisteredEvent {
|
15807
15874
|
registration: AttributionReportingSourceRegistration;
|
15808
15875
|
result: AttributionReportingSourceRegistrationResult;
|
15809
15876
|
}
|
15877
|
+
|
15878
|
+
export interface AttributionReportingTriggerRegisteredEvent {
|
15879
|
+
registration: AttributionReportingTriggerRegistration;
|
15880
|
+
eventLevel: AttributionReportingEventLevelResult;
|
15881
|
+
aggregatable: AttributionReportingAggregatableResult;
|
15882
|
+
}
|
15810
15883
|
}
|
15811
15884
|
|
15812
15885
|
/**
|