devtools-protocol 0.0.1234845 → 0.0.1236148

Sign up to get free protection for your applications and to get access to all the features.
@@ -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",
@@ -17309,6 +17325,7 @@
17309
17325
  "WebRTCSticky",
17310
17326
  "WebTransportSticky",
17311
17327
  "WebSocketSticky",
17328
+ "SmartCard",
17312
17329
  "ContentSecurityHandler",
17313
17330
  "ContentWebAuthenticationAPI",
17314
17331
  "ContentFileChooser",
@@ -20530,6 +20547,47 @@
20530
20547
  }
20531
20548
  ]
20532
20549
  },
20550
+ {
20551
+ "id": "AttributionReportingFilterConfig",
20552
+ "experimental": true,
20553
+ "type": "object",
20554
+ "properties": [
20555
+ {
20556
+ "name": "filterValues",
20557
+ "type": "array",
20558
+ "items": {
20559
+ "$ref": "AttributionReportingFilterDataEntry"
20560
+ }
20561
+ },
20562
+ {
20563
+ "name": "lookbackWindow",
20564
+ "description": "duration in seconds",
20565
+ "optional": true,
20566
+ "type": "integer"
20567
+ }
20568
+ ]
20569
+ },
20570
+ {
20571
+ "id": "AttributionReportingFilterPair",
20572
+ "experimental": true,
20573
+ "type": "object",
20574
+ "properties": [
20575
+ {
20576
+ "name": "filters",
20577
+ "type": "array",
20578
+ "items": {
20579
+ "$ref": "AttributionReportingFilterConfig"
20580
+ }
20581
+ },
20582
+ {
20583
+ "name": "notFilters",
20584
+ "type": "array",
20585
+ "items": {
20586
+ "$ref": "AttributionReportingFilterConfig"
20587
+ }
20588
+ }
20589
+ ]
20590
+ },
20533
20591
  {
20534
20592
  "id": "AttributionReportingAggregationKeysEntry",
20535
20593
  "experimental": true,
@@ -20689,6 +20747,202 @@
20689
20747
  "reportingOriginsPerSiteLimitReached",
20690
20748
  "exceedsMaxChannelCapacity"
20691
20749
  ]
20750
+ },
20751
+ {
20752
+ "id": "AttributionReportingSourceRegistrationTimeConfig",
20753
+ "experimental": true,
20754
+ "type": "string",
20755
+ "enum": [
20756
+ "include",
20757
+ "exclude"
20758
+ ]
20759
+ },
20760
+ {
20761
+ "id": "AttributionReportingAggregatableValueEntry",
20762
+ "experimental": true,
20763
+ "type": "object",
20764
+ "properties": [
20765
+ {
20766
+ "name": "key",
20767
+ "type": "string"
20768
+ },
20769
+ {
20770
+ "name": "value",
20771
+ "description": "number instead of integer because not all uint32 can be represented by\nint",
20772
+ "type": "number"
20773
+ }
20774
+ ]
20775
+ },
20776
+ {
20777
+ "id": "AttributionReportingEventTriggerData",
20778
+ "experimental": true,
20779
+ "type": "object",
20780
+ "properties": [
20781
+ {
20782
+ "name": "data",
20783
+ "$ref": "UnsignedInt64AsBase10"
20784
+ },
20785
+ {
20786
+ "name": "priority",
20787
+ "$ref": "SignedInt64AsBase10"
20788
+ },
20789
+ {
20790
+ "name": "dedupKey",
20791
+ "optional": true,
20792
+ "$ref": "UnsignedInt64AsBase10"
20793
+ },
20794
+ {
20795
+ "name": "filters",
20796
+ "$ref": "AttributionReportingFilterPair"
20797
+ }
20798
+ ]
20799
+ },
20800
+ {
20801
+ "id": "AttributionReportingAggregatableTriggerData",
20802
+ "experimental": true,
20803
+ "type": "object",
20804
+ "properties": [
20805
+ {
20806
+ "name": "keyPiece",
20807
+ "$ref": "UnsignedInt128AsBase16"
20808
+ },
20809
+ {
20810
+ "name": "sourceKeys",
20811
+ "type": "array",
20812
+ "items": {
20813
+ "type": "string"
20814
+ }
20815
+ },
20816
+ {
20817
+ "name": "filters",
20818
+ "$ref": "AttributionReportingFilterPair"
20819
+ }
20820
+ ]
20821
+ },
20822
+ {
20823
+ "id": "AttributionReportingAggregatableDedupKey",
20824
+ "experimental": true,
20825
+ "type": "object",
20826
+ "properties": [
20827
+ {
20828
+ "name": "dedupKey",
20829
+ "optional": true,
20830
+ "$ref": "UnsignedInt64AsBase10"
20831
+ },
20832
+ {
20833
+ "name": "filters",
20834
+ "$ref": "AttributionReportingFilterPair"
20835
+ }
20836
+ ]
20837
+ },
20838
+ {
20839
+ "id": "AttributionReportingTriggerRegistration",
20840
+ "experimental": true,
20841
+ "type": "object",
20842
+ "properties": [
20843
+ {
20844
+ "name": "filters",
20845
+ "$ref": "AttributionReportingFilterPair"
20846
+ },
20847
+ {
20848
+ "name": "debugKey",
20849
+ "optional": true,
20850
+ "$ref": "UnsignedInt64AsBase10"
20851
+ },
20852
+ {
20853
+ "name": "aggregatableDedupKeys",
20854
+ "type": "array",
20855
+ "items": {
20856
+ "$ref": "AttributionReportingAggregatableDedupKey"
20857
+ }
20858
+ },
20859
+ {
20860
+ "name": "eventTriggerData",
20861
+ "type": "array",
20862
+ "items": {
20863
+ "$ref": "AttributionReportingEventTriggerData"
20864
+ }
20865
+ },
20866
+ {
20867
+ "name": "aggregatableTriggerData",
20868
+ "type": "array",
20869
+ "items": {
20870
+ "$ref": "AttributionReportingAggregatableTriggerData"
20871
+ }
20872
+ },
20873
+ {
20874
+ "name": "aggregatableValues",
20875
+ "type": "array",
20876
+ "items": {
20877
+ "$ref": "AttributionReportingAggregatableValueEntry"
20878
+ }
20879
+ },
20880
+ {
20881
+ "name": "debugReporting",
20882
+ "type": "boolean"
20883
+ },
20884
+ {
20885
+ "name": "aggregationCoordinatorOrigin",
20886
+ "optional": true,
20887
+ "type": "string"
20888
+ },
20889
+ {
20890
+ "name": "sourceRegistrationTimeConfig",
20891
+ "$ref": "AttributionReportingSourceRegistrationTimeConfig"
20892
+ },
20893
+ {
20894
+ "name": "triggerContextId",
20895
+ "optional": true,
20896
+ "type": "string"
20897
+ }
20898
+ ]
20899
+ },
20900
+ {
20901
+ "id": "AttributionReportingEventLevelResult",
20902
+ "experimental": true,
20903
+ "type": "string",
20904
+ "enum": [
20905
+ "success",
20906
+ "successDroppedLowerPriority",
20907
+ "internalError",
20908
+ "noCapacityForAttributionDestination",
20909
+ "noMatchingSources",
20910
+ "deduplicated",
20911
+ "excessiveAttributions",
20912
+ "priorityTooLow",
20913
+ "neverAttributedSource",
20914
+ "excessiveReportingOrigins",
20915
+ "noMatchingSourceFilterData",
20916
+ "prohibitedByBrowserPolicy",
20917
+ "noMatchingConfigurations",
20918
+ "excessiveReports",
20919
+ "falselyAttributedSource",
20920
+ "reportWindowPassed",
20921
+ "notRegistered",
20922
+ "reportWindowNotStarted",
20923
+ "noMatchingTriggerData"
20924
+ ]
20925
+ },
20926
+ {
20927
+ "id": "AttributionReportingAggregatableResult",
20928
+ "experimental": true,
20929
+ "type": "string",
20930
+ "enum": [
20931
+ "success",
20932
+ "internalError",
20933
+ "noCapacityForAttributionDestination",
20934
+ "noMatchingSources",
20935
+ "excessiveAttributions",
20936
+ "excessiveReportingOrigins",
20937
+ "noHistograms",
20938
+ "insufficientBudget",
20939
+ "noMatchingSourceFilterData",
20940
+ "notRegistered",
20941
+ "prohibitedByBrowserPolicy",
20942
+ "deduplicated",
20943
+ "reportWindowPassed",
20944
+ "excessiveReports"
20945
+ ]
20692
20946
  }
20693
20947
  ],
20694
20948
  "commands": [
@@ -21347,7 +21601,6 @@
21347
21601
  },
21348
21602
  {
21349
21603
  "name": "attributionReportingSourceRegistered",
21350
- "description": "TODO(crbug.com/1458532): Add other Attribution Reporting events, e.g.\ntrigger registration.",
21351
21604
  "experimental": true,
21352
21605
  "parameters": [
21353
21606
  {
@@ -21359,6 +21612,24 @@
21359
21612
  "$ref": "AttributionReportingSourceRegistrationResult"
21360
21613
  }
21361
21614
  ]
21615
+ },
21616
+ {
21617
+ "name": "attributionReportingTriggerRegistered",
21618
+ "experimental": true,
21619
+ "parameters": [
21620
+ {
21621
+ "name": "registration",
21622
+ "$ref": "AttributionReportingTriggerRegistration"
21623
+ },
21624
+ {
21625
+ "name": "eventLevel",
21626
+ "$ref": "AttributionReportingEventLevelResult"
21627
+ },
21628
+ {
21629
+ "name": "aggregatable",
21630
+ "$ref": "AttributionReportingAggregatableResult"
21631
+ }
21632
+ ]
21362
21633
  }
21363
21634
  ]
21364
21635
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1234845",
3
+ "version": "0.0.1236148",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -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
@@ -8891,6 +8901,7 @@ domain Page
8891
8901
  WebRTCSticky
8892
8902
  WebTransportSticky
8893
8903
  WebSocketSticky
8904
+ SmartCard
8894
8905
  # Disabled for RenderFrameHost reasons
8895
8906
  # See content/browser/renderer_host/back_forward_cache_disable.h for explanations.
8896
8907
  ContentSecurityHandler
@@ -9958,6 +9969,17 @@ experimental domain Storage
9958
9969
  string key
9959
9970
  array of string values
9960
9971
 
9972
+ experimental type AttributionReportingFilterConfig extends object
9973
+ properties
9974
+ array of AttributionReportingFilterDataEntry filterValues
9975
+ # duration in seconds
9976
+ optional integer lookbackWindow
9977
+
9978
+ experimental type AttributionReportingFilterPair extends object
9979
+ properties
9980
+ array of AttributionReportingFilterConfig filters
9981
+ array of AttributionReportingFilterConfig notFilters
9982
+
9961
9983
  experimental type AttributionReportingAggregationKeysEntry extends object
9962
9984
  properties
9963
9985
  string key
@@ -10016,13 +10038,99 @@ experimental domain Storage
10016
10038
  reportingOriginsPerSiteLimitReached
10017
10039
  exceedsMaxChannelCapacity
10018
10040
 
10019
- # TODO(crbug.com/1458532): Add other Attribution Reporting events, e.g.
10020
- # trigger registration.
10021
10041
  experimental event attributionReportingSourceRegistered
10022
10042
  parameters
10023
10043
  AttributionReportingSourceRegistration registration
10024
10044
  AttributionReportingSourceRegistrationResult result
10025
10045
 
10046
+ experimental type AttributionReportingSourceRegistrationTimeConfig extends string
10047
+ enum
10048
+ include
10049
+ exclude
10050
+
10051
+ experimental type AttributionReportingAggregatableValueEntry extends object
10052
+ properties
10053
+ string key
10054
+ # number instead of integer because not all uint32 can be represented by
10055
+ # int
10056
+ number value
10057
+
10058
+ experimental type AttributionReportingEventTriggerData extends object
10059
+ properties
10060
+ UnsignedInt64AsBase10 data
10061
+ SignedInt64AsBase10 priority
10062
+ optional UnsignedInt64AsBase10 dedupKey
10063
+ AttributionReportingFilterPair filters
10064
+
10065
+ experimental type AttributionReportingAggregatableTriggerData extends object
10066
+ properties
10067
+ UnsignedInt128AsBase16 keyPiece
10068
+ array of string sourceKeys
10069
+ AttributionReportingFilterPair filters
10070
+
10071
+ experimental type AttributionReportingAggregatableDedupKey extends object
10072
+ properties
10073
+ optional UnsignedInt64AsBase10 dedupKey
10074
+ AttributionReportingFilterPair filters
10075
+
10076
+ experimental type AttributionReportingTriggerRegistration extends object
10077
+ properties
10078
+ AttributionReportingFilterPair filters
10079
+ optional UnsignedInt64AsBase10 debugKey
10080
+ array of AttributionReportingAggregatableDedupKey aggregatableDedupKeys
10081
+ array of AttributionReportingEventTriggerData eventTriggerData
10082
+ array of AttributionReportingAggregatableTriggerData aggregatableTriggerData
10083
+ array of AttributionReportingAggregatableValueEntry aggregatableValues
10084
+ boolean debugReporting
10085
+ optional string aggregationCoordinatorOrigin
10086
+ AttributionReportingSourceRegistrationTimeConfig sourceRegistrationTimeConfig
10087
+ optional string triggerContextId
10088
+
10089
+ experimental type AttributionReportingEventLevelResult extends string
10090
+ enum
10091
+ success
10092
+ successDroppedLowerPriority
10093
+ internalError
10094
+ noCapacityForAttributionDestination
10095
+ noMatchingSources
10096
+ deduplicated
10097
+ excessiveAttributions
10098
+ priorityTooLow
10099
+ neverAttributedSource
10100
+ excessiveReportingOrigins
10101
+ noMatchingSourceFilterData
10102
+ prohibitedByBrowserPolicy
10103
+ noMatchingConfigurations
10104
+ excessiveReports
10105
+ falselyAttributedSource
10106
+ reportWindowPassed
10107
+ notRegistered
10108
+ reportWindowNotStarted
10109
+ noMatchingTriggerData
10110
+
10111
+ experimental type AttributionReportingAggregatableResult extends string
10112
+ enum
10113
+ success
10114
+ internalError
10115
+ noCapacityForAttributionDestination
10116
+ noMatchingSources
10117
+ excessiveAttributions
10118
+ excessiveReportingOrigins
10119
+ noHistograms
10120
+ insufficientBudget
10121
+ noMatchingSourceFilterData
10122
+ notRegistered
10123
+ prohibitedByBrowserPolicy
10124
+ deduplicated
10125
+ reportWindowPassed
10126
+ excessiveReports
10127
+
10128
+ experimental event attributionReportingTriggerRegistered
10129
+ parameters
10130
+ AttributionReportingTriggerRegistration registration
10131
+ AttributionReportingEventLevelResult eventLevel
10132
+ AttributionReportingAggregatableResult aggregatable
10133
+
10026
10134
  # The SystemInfo domain defines methods and events for querying low-level system information.
10027
10135
  experimental domain SystemInfo
10028
10136
 
@@ -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 {
@@ -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' | '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.
@@ -13438,7 +13450,7 @@ export namespace Protocol {
13438
13450
  /**
13439
13451
  * List of not restored reasons for back-forward cache.
13440
13452
  */
13441
- export type BackForwardCacheNotRestoredReason = ('NotPrimaryMainFrame' | 'BackForwardCacheDisabled' | 'RelatedActiveContentsExist' | 'HTTPStatusNotOK' | 'SchemeNotHTTPOrHTTPS' | 'Loading' | 'WasGrantedMediaAccess' | 'DisableForRenderFrameHostCalled' | 'DomainNotAllowed' | 'HTTPMethodNotGET' | 'SubframeIsNavigating' | 'Timeout' | 'CacheLimit' | 'JavaScriptExecution' | 'RendererProcessKilled' | 'RendererProcessCrashed' | 'SchedulerTrackedFeatureUsed' | 'ConflictingBrowsingInstance' | 'CacheFlushed' | 'ServiceWorkerVersionActivation' | 'SessionRestored' | 'ServiceWorkerPostMessage' | 'EnteredBackForwardCacheBeforeServiceWorkerHostAdded' | 'RenderFrameHostReused_SameSite' | 'RenderFrameHostReused_CrossSite' | 'ServiceWorkerClaim' | 'IgnoreEventAndEvict' | 'HaveInnerContents' | 'TimeoutPuttingInCache' | 'BackForwardCacheDisabledByLowMemory' | 'BackForwardCacheDisabledByCommandLine' | 'NetworkRequestDatapipeDrainedAsBytesConsumer' | 'NetworkRequestRedirected' | 'NetworkRequestTimeout' | 'NetworkExceedsBufferLimit' | 'NavigationCancelledWhileRestoring' | 'NotMostRecentNavigationEntry' | 'BackForwardCacheDisabledForPrerender' | 'UserAgentOverrideDiffers' | 'ForegroundCacheLimit' | 'BrowsingInstanceNotSwapped' | 'BackForwardCacheDisabledForDelegate' | 'UnloadHandlerExistsInMainFrame' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'CacheControlNoStore' | 'CacheControlNoStoreCookieModified' | 'CacheControlNoStoreHTTPOnlyCookieModified' | 'NoResponseHead' | 'Unknown' | 'ActivationNavigationsDisallowedForBug1234857' | 'ErrorDocument' | 'FencedFramesEmbedder' | 'CookieDisabled' | 'HTTPAuthRequired' | 'CookieFlushed' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'DedicatedWorkerOrWorklet' | 'OutstandingNetworkRequestOthers' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'WebXR' | 'SharedWorker' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'Portal' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'IndexedDBEvent' | 'Dummy' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCSticky' | 'WebTransportSticky' | 'WebSocketSticky' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame');
13453
+ export type BackForwardCacheNotRestoredReason = ('NotPrimaryMainFrame' | 'BackForwardCacheDisabled' | 'RelatedActiveContentsExist' | 'HTTPStatusNotOK' | 'SchemeNotHTTPOrHTTPS' | 'Loading' | 'WasGrantedMediaAccess' | 'DisableForRenderFrameHostCalled' | 'DomainNotAllowed' | 'HTTPMethodNotGET' | 'SubframeIsNavigating' | 'Timeout' | 'CacheLimit' | 'JavaScriptExecution' | 'RendererProcessKilled' | 'RendererProcessCrashed' | 'SchedulerTrackedFeatureUsed' | 'ConflictingBrowsingInstance' | 'CacheFlushed' | 'ServiceWorkerVersionActivation' | 'SessionRestored' | 'ServiceWorkerPostMessage' | 'EnteredBackForwardCacheBeforeServiceWorkerHostAdded' | 'RenderFrameHostReused_SameSite' | 'RenderFrameHostReused_CrossSite' | 'ServiceWorkerClaim' | 'IgnoreEventAndEvict' | 'HaveInnerContents' | 'TimeoutPuttingInCache' | 'BackForwardCacheDisabledByLowMemory' | 'BackForwardCacheDisabledByCommandLine' | 'NetworkRequestDatapipeDrainedAsBytesConsumer' | 'NetworkRequestRedirected' | 'NetworkRequestTimeout' | 'NetworkExceedsBufferLimit' | 'NavigationCancelledWhileRestoring' | 'NotMostRecentNavigationEntry' | 'BackForwardCacheDisabledForPrerender' | 'UserAgentOverrideDiffers' | 'ForegroundCacheLimit' | 'BrowsingInstanceNotSwapped' | 'BackForwardCacheDisabledForDelegate' | 'UnloadHandlerExistsInMainFrame' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'CacheControlNoStore' | 'CacheControlNoStoreCookieModified' | 'CacheControlNoStoreHTTPOnlyCookieModified' | 'NoResponseHead' | 'Unknown' | 'ActivationNavigationsDisallowedForBug1234857' | 'ErrorDocument' | 'FencedFramesEmbedder' | 'CookieDisabled' | 'HTTPAuthRequired' | 'CookieFlushed' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'DedicatedWorkerOrWorklet' | 'OutstandingNetworkRequestOthers' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'WebXR' | 'SharedWorker' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'Portal' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'IndexedDBEvent' | 'Dummy' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCSticky' | 'WebTransportSticky' | 'WebSocketSticky' | 'SmartCard' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame');
13442
13454
 
13443
13455
  /**
13444
13456
  * Types of not restored reasons for back-forward cache.
@@ -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
  /**