devtools-protocol 0.0.1452169 → 0.0.1453708

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.
@@ -2059,6 +2059,31 @@
2059
2059
  }
2060
2060
  ]
2061
2061
  },
2062
+ {
2063
+ "id": "UserReidentificationIssueType",
2064
+ "type": "string",
2065
+ "enum": [
2066
+ "BlockedFrameNavigation",
2067
+ "BlockedSubresource"
2068
+ ]
2069
+ },
2070
+ {
2071
+ "id": "UserReidentificationIssueDetails",
2072
+ "description": "This issue warns about uses of APIs that may be considered misuse to\nre-identify users.",
2073
+ "type": "object",
2074
+ "properties": [
2075
+ {
2076
+ "name": "type",
2077
+ "$ref": "UserReidentificationIssueType"
2078
+ },
2079
+ {
2080
+ "name": "request",
2081
+ "description": "Applies to BlockedFrameNavigation and BlockedSubresource issue types.",
2082
+ "optional": true,
2083
+ "$ref": "AffectedRequest"
2084
+ }
2085
+ ]
2086
+ },
2062
2087
  {
2063
2088
  "id": "InspectorIssueCode",
2064
2089
  "description": "A unique identifier for the type of issue. Each type may use one of the\noptional fields in InspectorIssueDetails to convey more specific\ninformation about the kind of issue.",
@@ -2087,7 +2112,8 @@
2087
2112
  "PropertyRuleIssue",
2088
2113
  "SharedDictionaryIssue",
2089
2114
  "SelectElementAccessibilityIssue",
2090
- "SRIMessageSignatureIssue"
2115
+ "SRIMessageSignatureIssue",
2116
+ "UserReidentificationIssue"
2091
2117
  ]
2092
2118
  },
2093
2119
  {
@@ -2215,6 +2241,11 @@
2215
2241
  "name": "sriMessageSignatureIssueDetails",
2216
2242
  "optional": true,
2217
2243
  "$ref": "SRIMessageSignatureIssueDetails"
2244
+ },
2245
+ {
2246
+ "name": "userReidentificationIssueDetails",
2247
+ "optional": true,
2248
+ "$ref": "UserReidentificationIssueDetails"
2218
2249
  }
2219
2250
  ]
2220
2251
  },
@@ -17951,7 +17982,7 @@
17951
17982
  },
17952
17983
  {
17953
17984
  "id": "PermissionsPolicyFeature",
17954
- "description": "All Permissions Policy features. This enum should match the one defined\nin services/network/public/cpp/permissions_policy/permissions_policy_features.json5.",
17985
+ "description": "All Permissions Policy features. This enum should match the one defined\nin services/network/public/cpp/permissions_policy/permissions_policy_features.json5.\nLINT.IfChange(PermissionsPolicyFeature)",
17955
17986
  "experimental": true,
17956
17987
  "type": "string",
17957
17988
  "enum": [
@@ -18019,6 +18050,7 @@
18019
18050
  "keyboard-map",
18020
18051
  "language-detector",
18021
18052
  "local-fonts",
18053
+ "local-network-access",
18022
18054
  "magnetometer",
18023
18055
  "media-playback-while-not-visible",
18024
18056
  "microphone",
@@ -18032,6 +18064,7 @@
18032
18064
  "private-state-token-redemption",
18033
18065
  "publickey-credentials-create",
18034
18066
  "publickey-credentials-get",
18067
+ "record-ad-auction-events",
18035
18068
  "rewriter",
18036
18069
  "run-ad-auction",
18037
18070
  "screen-wake-lock",
@@ -28115,6 +28148,27 @@
28115
28148
  "discovery"
28116
28149
  ]
28117
28150
  },
28151
+ {
28152
+ "id": "CharacteristicWriteType",
28153
+ "description": "Indicates the various types of characteristic write.",
28154
+ "type": "string",
28155
+ "enum": [
28156
+ "write-default-deprecated",
28157
+ "write-with-response",
28158
+ "write-without-response"
28159
+ ]
28160
+ },
28161
+ {
28162
+ "id": "CharacteristicOperationType",
28163
+ "description": "Indicates the various types of characteristic operation.",
28164
+ "type": "string",
28165
+ "enum": [
28166
+ "read",
28167
+ "write",
28168
+ "subscribe-to-notifications",
28169
+ "unsubscribe-from-notifications"
28170
+ ]
28171
+ },
28118
28172
  {
28119
28173
  "id": "ManufacturerData",
28120
28174
  "description": "Stores the manufacturer data",
@@ -28328,6 +28382,29 @@
28328
28382
  }
28329
28383
  ]
28330
28384
  },
28385
+ {
28386
+ "name": "simulateCharacteristicOperationResponse",
28387
+ "description": "Simulates the response from the characteristic with |characteristicId| for a\ncharacteristic operation of |type|. The |code| value follows the Error\nCodes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.\nThe |data| is expected to exist when simulating a successful read operation\nresponse.",
28388
+ "parameters": [
28389
+ {
28390
+ "name": "characteristicId",
28391
+ "type": "string"
28392
+ },
28393
+ {
28394
+ "name": "type",
28395
+ "$ref": "CharacteristicOperationType"
28396
+ },
28397
+ {
28398
+ "name": "code",
28399
+ "type": "integer"
28400
+ },
28401
+ {
28402
+ "name": "data",
28403
+ "optional": true,
28404
+ "type": "string"
28405
+ }
28406
+ ]
28407
+ },
28331
28408
  {
28332
28409
  "name": "addService",
28333
28410
  "description": "Adds a service with |serviceUuid| to the peripheral with |address|.",
@@ -28440,6 +28517,30 @@
28440
28517
  "$ref": "GATTOperationType"
28441
28518
  }
28442
28519
  ]
28520
+ },
28521
+ {
28522
+ "name": "characteristicOperationReceived",
28523
+ "description": "Event for when a characteristic operation of |type| to the characteristic\nrespresented by |characteristicId| happened. |data| and |writeType| is\nexpected to exist when |type| is write.",
28524
+ "parameters": [
28525
+ {
28526
+ "name": "characteristicId",
28527
+ "type": "string"
28528
+ },
28529
+ {
28530
+ "name": "type",
28531
+ "$ref": "CharacteristicOperationType"
28532
+ },
28533
+ {
28534
+ "name": "data",
28535
+ "optional": true,
28536
+ "type": "string"
28537
+ },
28538
+ {
28539
+ "name": "writeType",
28540
+ "optional": true,
28541
+ "$ref": "CharacteristicWriteType"
28542
+ }
28543
+ ]
28443
28544
  }
28444
28545
  ]
28445
28546
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1452169",
3
+ "version": "0.0.1453708",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -1079,6 +1079,19 @@ experimental domain Audits
1079
1079
  # The value of the property rule property that failed to parse
1080
1080
  optional string propertyValue
1081
1081
 
1082
+ type UserReidentificationIssueType extends string
1083
+ enum
1084
+ BlockedFrameNavigation
1085
+ BlockedSubresource
1086
+
1087
+ # This issue warns about uses of APIs that may be considered misuse to
1088
+ # re-identify users.
1089
+ type UserReidentificationIssueDetails extends object
1090
+ properties
1091
+ UserReidentificationIssueType type
1092
+ # Applies to BlockedFrameNavigation and BlockedSubresource issue types.
1093
+ optional AffectedRequest request
1094
+
1082
1095
  # A unique identifier for the type of issue. Each type may use one of the
1083
1096
  # optional fields in InspectorIssueDetails to convey more specific
1084
1097
  # information about the kind of issue.
@@ -1109,6 +1122,7 @@ experimental domain Audits
1109
1122
  SharedDictionaryIssue
1110
1123
  SelectElementAccessibilityIssue
1111
1124
  SRIMessageSignatureIssue
1125
+ UserReidentificationIssue
1112
1126
 
1113
1127
  # This struct holds a list of optional fields with additional information
1114
1128
  # specific to the kind of issue. When adding a new issue code, please also
@@ -1139,6 +1153,7 @@ experimental domain Audits
1139
1153
  optional SharedDictionaryIssueDetails sharedDictionaryIssueDetails
1140
1154
  optional SelectElementAccessibilityIssueDetails selectElementAccessibilityIssueDetails
1141
1155
  optional SRIMessageSignatureIssueDetails sriMessageSignatureIssueDetails
1156
+ optional UserReidentificationIssueDetails userReidentificationIssueDetails
1142
1157
 
1143
1158
  # A unique id for a DevTools inspector issue. Allows other entities (e.g.
1144
1159
  # exceptions, CDP message, console messages, etc.) to reference an issue.
@@ -8455,6 +8470,7 @@ domain Page
8455
8470
 
8456
8471
  # All Permissions Policy features. This enum should match the one defined
8457
8472
  # in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
8473
+ # LINT.IfChange(PermissionsPolicyFeature)
8458
8474
  experimental type PermissionsPolicyFeature extends string
8459
8475
  enum
8460
8476
  accelerometer
@@ -8521,6 +8537,7 @@ domain Page
8521
8537
  keyboard-map
8522
8538
  language-detector
8523
8539
  local-fonts
8540
+ local-network-access
8524
8541
  magnetometer
8525
8542
  media-playback-while-not-visible
8526
8543
  microphone
@@ -8534,6 +8551,7 @@ domain Page
8534
8551
  private-state-token-redemption
8535
8552
  publickey-credentials-create
8536
8553
  publickey-credentials-get
8554
+ record-ad-auction-events
8537
8555
  rewriter
8538
8556
  run-ad-auction
8539
8557
  screen-wake-lock
@@ -8558,6 +8576,7 @@ domain Page
8558
8576
  window-management
8559
8577
  writer
8560
8578
  xr-spatial-tracking
8579
+ # LINT.ThenChange(//services/network/public/cpp/permissions_policy/permissions_policy_features.json5:PermissionsPolicy)
8561
8580
 
8562
8581
  # Reason for a permissions policy feature to be disabled.
8563
8582
  experimental type PermissionsPolicyBlockReason extends string
@@ -13351,6 +13370,21 @@ experimental domain BluetoothEmulation
13351
13370
  connection
13352
13371
  discovery
13353
13372
 
13373
+ # Indicates the various types of characteristic write.
13374
+ type CharacteristicWriteType extends string
13375
+ enum
13376
+ write-default-deprecated
13377
+ write-with-response
13378
+ write-without-response
13379
+
13380
+ # Indicates the various types of characteristic operation.
13381
+ type CharacteristicOperationType extends string
13382
+ enum
13383
+ read
13384
+ write
13385
+ subscribe-to-notifications
13386
+ unsubscribe-from-notifications
13387
+
13354
13388
  # Stores the manufacturer data
13355
13389
  type ManufacturerData extends object
13356
13390
  properties
@@ -13435,6 +13469,18 @@ experimental domain BluetoothEmulation
13435
13469
  GATTOperationType type
13436
13470
  integer code
13437
13471
 
13472
+ # Simulates the response from the characteristic with |characteristicId| for a
13473
+ # characteristic operation of |type|. The |code| value follows the Error
13474
+ # Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
13475
+ # The |data| is expected to exist when simulating a successful read operation
13476
+ # response.
13477
+ command simulateCharacteristicOperationResponse
13478
+ parameters
13479
+ string characteristicId
13480
+ CharacteristicOperationType type
13481
+ integer code
13482
+ optional binary data
13483
+
13438
13484
  # Adds a service with |serviceUuid| to the peripheral with |address|.
13439
13485
  command addService
13440
13486
  parameters
@@ -13487,3 +13533,13 @@ experimental domain BluetoothEmulation
13487
13533
  parameters
13488
13534
  string address
13489
13535
  GATTOperationType type
13536
+
13537
+ # Event for when a characteristic operation of |type| to the characteristic
13538
+ # respresented by |characteristicId| happened. |data| and |writeType| is
13539
+ # expected to exist when |type| is write.
13540
+ event characteristicOperationReceived
13541
+ parameters
13542
+ string characteristicId
13543
+ CharacteristicOperationType type
13544
+ optional binary data
13545
+ optional CharacteristicWriteType writeType
@@ -841,6 +841,12 @@ export namespace ProtocolMapping {
841
841
  * happened.
842
842
  */
843
843
  'BluetoothEmulation.gattOperationReceived': [Protocol.BluetoothEmulation.GattOperationReceivedEvent];
844
+ /**
845
+ * Event for when a characteristic operation of |type| to the characteristic
846
+ * respresented by |characteristicId| happened. |data| and |writeType| is
847
+ * expected to exist when |type| is write.
848
+ */
849
+ 'BluetoothEmulation.characteristicOperationReceived': [Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent];
844
850
  }
845
851
 
846
852
  export interface Commands {
@@ -5348,6 +5354,17 @@ export namespace ProtocolMapping {
5348
5354
  paramsType: [Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest];
5349
5355
  returnType: void;
5350
5356
  };
5357
+ /**
5358
+ * Simulates the response from the characteristic with |characteristicId| for a
5359
+ * characteristic operation of |type|. The |code| value follows the Error
5360
+ * Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
5361
+ * The |data| is expected to exist when simulating a successful read operation
5362
+ * response.
5363
+ */
5364
+ 'BluetoothEmulation.simulateCharacteristicOperationResponse': {
5365
+ paramsType: [Protocol.BluetoothEmulation.SimulateCharacteristicOperationResponseRequest];
5366
+ returnType: void;
5367
+ };
5351
5368
  /**
5352
5369
  * Adds a service with |serviceUuid| to the peripheral with |address|.
5353
5370
  */
@@ -4570,6 +4570,15 @@ export namespace ProtocolProxyApi {
4570
4570
  */
4571
4571
  simulateGATTOperationResponse(params: Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest): Promise<void>;
4572
4572
 
4573
+ /**
4574
+ * Simulates the response from the characteristic with |characteristicId| for a
4575
+ * characteristic operation of |type|. The |code| value follows the Error
4576
+ * Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
4577
+ * The |data| is expected to exist when simulating a successful read operation
4578
+ * response.
4579
+ */
4580
+ simulateCharacteristicOperationResponse(params: Protocol.BluetoothEmulation.SimulateCharacteristicOperationResponseRequest): Promise<void>;
4581
+
4573
4582
  /**
4574
4583
  * Adds a service with |serviceUuid| to the peripheral with |address|.
4575
4584
  */
@@ -4609,6 +4618,13 @@ export namespace ProtocolProxyApi {
4609
4618
  */
4610
4619
  on(event: 'gattOperationReceived', listener: (params: Protocol.BluetoothEmulation.GattOperationReceivedEvent) => void): void;
4611
4620
 
4621
+ /**
4622
+ * Event for when a characteristic operation of |type| to the characteristic
4623
+ * respresented by |characteristicId| happened. |data| and |writeType| is
4624
+ * expected to exist when |type| is write.
4625
+ */
4626
+ on(event: 'characteristicOperationReceived', listener: (params: Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent) => void): void;
4627
+
4612
4628
  }
4613
4629
  }
4614
4630
 
@@ -4980,6 +4980,15 @@ export namespace ProtocolTestsProxyApi {
4980
4980
  */
4981
4981
  simulateGATTOperationResponse(params: Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest): Promise<{id: number, result: void, sessionId: string}>;
4982
4982
 
4983
+ /**
4984
+ * Simulates the response from the characteristic with |characteristicId| for a
4985
+ * characteristic operation of |type|. The |code| value follows the Error
4986
+ * Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
4987
+ * The |data| is expected to exist when simulating a successful read operation
4988
+ * response.
4989
+ */
4990
+ simulateCharacteristicOperationResponse(params: Protocol.BluetoothEmulation.SimulateCharacteristicOperationResponseRequest): Promise<{id: number, result: void, sessionId: string}>;
4991
+
4983
4992
  /**
4984
4993
  * Adds a service with |serviceUuid| to the peripheral with |address|.
4985
4994
  */
@@ -5021,6 +5030,15 @@ export namespace ProtocolTestsProxyApi {
5021
5030
  offGattOperationReceived(listener: (event: { params: Protocol.BluetoothEmulation.GattOperationReceivedEvent }) => void): void;
5022
5031
  onceGattOperationReceived(eventMatcher?: (event: { params: Protocol.BluetoothEmulation.GattOperationReceivedEvent }) => boolean): Promise<{ params: Protocol.BluetoothEmulation.GattOperationReceivedEvent }>;
5023
5032
 
5033
+ /**
5034
+ * Event for when a characteristic operation of |type| to the characteristic
5035
+ * respresented by |characteristicId| happened. |data| and |writeType| is
5036
+ * expected to exist when |type| is write.
5037
+ */
5038
+ onCharacteristicOperationReceived(listener: (event: { params: Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent }) => void): void;
5039
+ offCharacteristicOperationReceived(listener: (event: { params: Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent }) => void): void;
5040
+ onceCharacteristicOperationReceived(eventMatcher?: (event: { params: Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent }) => boolean): Promise<{ params: Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent }>;
5041
+
5024
5042
  }
5025
5043
  }
5026
5044
 
@@ -3751,12 +3751,26 @@ export namespace Protocol {
3751
3751
  propertyValue?: string;
3752
3752
  }
3753
3753
 
3754
+ export type UserReidentificationIssueType = ('BlockedFrameNavigation' | 'BlockedSubresource');
3755
+
3756
+ /**
3757
+ * This issue warns about uses of APIs that may be considered misuse to
3758
+ * re-identify users.
3759
+ */
3760
+ export interface UserReidentificationIssueDetails {
3761
+ type: UserReidentificationIssueType;
3762
+ /**
3763
+ * Applies to BlockedFrameNavigation and BlockedSubresource issue types.
3764
+ */
3765
+ request?: AffectedRequest;
3766
+ }
3767
+
3754
3768
  /**
3755
3769
  * A unique identifier for the type of issue. Each type may use one of the
3756
3770
  * optional fields in InspectorIssueDetails to convey more specific
3757
3771
  * information about the kind of issue.
3758
3772
  */
3759
- export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'SelectElementAccessibilityIssue' | 'SRIMessageSignatureIssue');
3773
+ export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'SelectElementAccessibilityIssue' | 'SRIMessageSignatureIssue' | 'UserReidentificationIssue');
3760
3774
 
3761
3775
  /**
3762
3776
  * This struct holds a list of optional fields with additional information
@@ -3788,6 +3802,7 @@ export namespace Protocol {
3788
3802
  sharedDictionaryIssueDetails?: SharedDictionaryIssueDetails;
3789
3803
  selectElementAccessibilityIssueDetails?: SelectElementAccessibilityIssueDetails;
3790
3804
  sriMessageSignatureIssueDetails?: SRIMessageSignatureIssueDetails;
3805
+ userReidentificationIssueDetails?: UserReidentificationIssueDetails;
3791
3806
  }
3792
3807
 
3793
3808
  /**
@@ -13899,8 +13914,9 @@ export namespace Protocol {
13899
13914
  /**
13900
13915
  * All Permissions Policy features. This enum should match the one defined
13901
13916
  * in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
13917
+ * LINT.IfChange(PermissionsPolicyFeature)
13902
13918
  */
13903
- export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | '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-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | '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' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'local-fonts' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
13919
+ export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | '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-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | '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' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'local-fonts' | 'local-network-access' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'record-ad-auction-events' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
13904
13920
 
13905
13921
  /**
13906
13922
  * Reason for a permissions policy feature to be disabled.
@@ -19638,6 +19654,16 @@ export namespace Protocol {
19638
19654
  */
19639
19655
  export type GATTOperationType = ('connection' | 'discovery');
19640
19656
 
19657
+ /**
19658
+ * Indicates the various types of characteristic write.
19659
+ */
19660
+ export type CharacteristicWriteType = ('write-default-deprecated' | 'write-with-response' | 'write-without-response');
19661
+
19662
+ /**
19663
+ * Indicates the various types of characteristic operation.
19664
+ */
19665
+ export type CharacteristicOperationType = ('read' | 'write' | 'subscribe-to-notifications' | 'unsubscribe-from-notifications');
19666
+
19641
19667
  /**
19642
19668
  * Stores the manufacturer data
19643
19669
  */
@@ -19734,6 +19760,13 @@ export namespace Protocol {
19734
19760
  code: integer;
19735
19761
  }
19736
19762
 
19763
+ export interface SimulateCharacteristicOperationResponseRequest {
19764
+ characteristicId: string;
19765
+ type: CharacteristicOperationType;
19766
+ code: integer;
19767
+ data?: string;
19768
+ }
19769
+
19737
19770
  export interface AddServiceRequest {
19738
19771
  address: string;
19739
19772
  serviceUuid: string;
@@ -19791,6 +19824,18 @@ export namespace Protocol {
19791
19824
  address: string;
19792
19825
  type: GATTOperationType;
19793
19826
  }
19827
+
19828
+ /**
19829
+ * Event for when a characteristic operation of |type| to the characteristic
19830
+ * respresented by |characteristicId| happened. |data| and |writeType| is
19831
+ * expected to exist when |type| is write.
19832
+ */
19833
+ export interface CharacteristicOperationReceivedEvent {
19834
+ characteristicId: string;
19835
+ type: CharacteristicOperationType;
19836
+ data?: string;
19837
+ writeType?: CharacteristicWriteType;
19838
+ }
19794
19839
  }
19795
19840
  }
19796
19841