devtools-protocol 0.0.1439209 → 0.0.1441344
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.
@@ -1875,7 +1875,8 @@
|
|
1875
1875
|
"RelyingPartyOriginIsOpaque",
|
1876
1876
|
"TypeNotMatching",
|
1877
1877
|
"UiDismissedNoEmbargo",
|
1878
|
-
"CorsError"
|
1878
|
+
"CorsError",
|
1879
|
+
"SuppressedBySegmentationPlatform"
|
1879
1880
|
]
|
1880
1881
|
},
|
1881
1882
|
{
|
@@ -5046,7 +5047,8 @@
|
|
5046
5047
|
},
|
5047
5048
|
{
|
5048
5049
|
"name": "resolveValues",
|
5049
|
-
"description": "Resolve the specified values in the context of the provided element.\nFor example, a value of '1em' is evaluated according to the computed\n'font-size' of the element and a value 'calc(1px + 2px)' will be\nresolved to '3px'.",
|
5050
|
+
"description": "Resolve the specified values in the context of the provided element.\nFor example, a value of '1em' is evaluated according to the computed\n'font-size' of the element and a value 'calc(1px + 2px)' will be\nresolved to '3px'.\nIf the `propertyName` was specified the `values` are resolved as if\nthey were property's declaration. If a value cannot be parsed according\nto the provided property syntax, the value is parsed using combined\nsyntax as if null `propertyName` was provided. If the value cannot be\nresolved even then, return the provided value without any changes.",
|
5051
|
+
"experimental": true,
|
5050
5052
|
"parameters": [
|
5051
5053
|
{
|
5052
5054
|
"name": "values",
|
@@ -5070,14 +5072,12 @@
|
|
5070
5072
|
{
|
5071
5073
|
"name": "pseudoType",
|
5072
5074
|
"description": "Pseudo element type, only works for pseudo elements that generate\nelements in the tree, such as ::before and ::after.",
|
5073
|
-
"experimental": true,
|
5074
5075
|
"optional": true,
|
5075
5076
|
"$ref": "DOM.PseudoType"
|
5076
5077
|
},
|
5077
5078
|
{
|
5078
5079
|
"name": "pseudoIdentifier",
|
5079
5080
|
"description": "Pseudo element custom ident.",
|
5080
|
-
"experimental": true,
|
5081
5081
|
"optional": true,
|
5082
5082
|
"type": "string"
|
5083
5083
|
}
|
@@ -27922,6 +27922,53 @@
|
|
27922
27922
|
"$ref": "ScanRecord"
|
27923
27923
|
}
|
27924
27924
|
]
|
27925
|
+
},
|
27926
|
+
{
|
27927
|
+
"id": "CharacteristicProperties",
|
27928
|
+
"description": "Describes the properties of a characteristic. This follows Bluetooth Core\nSpecification BT 4.2 Vol 3 Part G 3.3.1. Characteristic Properties.",
|
27929
|
+
"type": "object",
|
27930
|
+
"properties": [
|
27931
|
+
{
|
27932
|
+
"name": "broadcast",
|
27933
|
+
"optional": true,
|
27934
|
+
"type": "boolean"
|
27935
|
+
},
|
27936
|
+
{
|
27937
|
+
"name": "read",
|
27938
|
+
"optional": true,
|
27939
|
+
"type": "boolean"
|
27940
|
+
},
|
27941
|
+
{
|
27942
|
+
"name": "writeWithoutResponse",
|
27943
|
+
"optional": true,
|
27944
|
+
"type": "boolean"
|
27945
|
+
},
|
27946
|
+
{
|
27947
|
+
"name": "write",
|
27948
|
+
"optional": true,
|
27949
|
+
"type": "boolean"
|
27950
|
+
},
|
27951
|
+
{
|
27952
|
+
"name": "notify",
|
27953
|
+
"optional": true,
|
27954
|
+
"type": "boolean"
|
27955
|
+
},
|
27956
|
+
{
|
27957
|
+
"name": "indicate",
|
27958
|
+
"optional": true,
|
27959
|
+
"type": "boolean"
|
27960
|
+
},
|
27961
|
+
{
|
27962
|
+
"name": "authenticatedSignedWrites",
|
27963
|
+
"optional": true,
|
27964
|
+
"type": "boolean"
|
27965
|
+
},
|
27966
|
+
{
|
27967
|
+
"name": "extendedProperties",
|
27968
|
+
"optional": true,
|
27969
|
+
"type": "boolean"
|
27970
|
+
}
|
27971
|
+
]
|
27925
27972
|
}
|
27926
27973
|
],
|
27927
27974
|
"commands": [
|
@@ -28014,7 +28061,7 @@
|
|
28014
28061
|
},
|
28015
28062
|
{
|
28016
28063
|
"name": "addService",
|
28017
|
-
"description": "Adds a service with |
|
28064
|
+
"description": "Adds a service with |serviceUuid| to the peripheral with |address|.",
|
28018
28065
|
"parameters": [
|
28019
28066
|
{
|
28020
28067
|
"name": "address",
|
@@ -28027,7 +28074,7 @@
|
|
28027
28074
|
],
|
28028
28075
|
"returns": [
|
28029
28076
|
{
|
28030
|
-
"name": "
|
28077
|
+
"name": "serviceId",
|
28031
28078
|
"description": "An identifier that uniquely represents this service.",
|
28032
28079
|
"type": "string"
|
28033
28080
|
}
|
@@ -28035,14 +28082,112 @@
|
|
28035
28082
|
},
|
28036
28083
|
{
|
28037
28084
|
"name": "removeService",
|
28038
|
-
"description": "Removes the service respresented by |
|
28085
|
+
"description": "Removes the service respresented by |serviceId| from the peripheral with\n|address|.",
|
28039
28086
|
"parameters": [
|
28040
28087
|
{
|
28041
28088
|
"name": "address",
|
28042
28089
|
"type": "string"
|
28043
28090
|
},
|
28044
28091
|
{
|
28045
|
-
"name": "
|
28092
|
+
"name": "serviceId",
|
28093
|
+
"type": "string"
|
28094
|
+
}
|
28095
|
+
]
|
28096
|
+
},
|
28097
|
+
{
|
28098
|
+
"name": "addCharacteristic",
|
28099
|
+
"description": "Adds a characteristic with |characteristicUuid| and |properties| to the\nservice represented by |serviceId| in the peripheral with |address|.",
|
28100
|
+
"parameters": [
|
28101
|
+
{
|
28102
|
+
"name": "address",
|
28103
|
+
"type": "string"
|
28104
|
+
},
|
28105
|
+
{
|
28106
|
+
"name": "serviceId",
|
28107
|
+
"type": "string"
|
28108
|
+
},
|
28109
|
+
{
|
28110
|
+
"name": "characteristicUuid",
|
28111
|
+
"type": "string"
|
28112
|
+
},
|
28113
|
+
{
|
28114
|
+
"name": "properties",
|
28115
|
+
"$ref": "CharacteristicProperties"
|
28116
|
+
}
|
28117
|
+
],
|
28118
|
+
"returns": [
|
28119
|
+
{
|
28120
|
+
"name": "characteristicId",
|
28121
|
+
"description": "An identifier that uniquely represents this characteristic.",
|
28122
|
+
"type": "string"
|
28123
|
+
}
|
28124
|
+
]
|
28125
|
+
},
|
28126
|
+
{
|
28127
|
+
"name": "removeCharacteristic",
|
28128
|
+
"description": "Removes the characteristic respresented by |characteristicId| from the\nservice respresented by |serviceId| in the peripheral with |address|.",
|
28129
|
+
"parameters": [
|
28130
|
+
{
|
28131
|
+
"name": "address",
|
28132
|
+
"type": "string"
|
28133
|
+
},
|
28134
|
+
{
|
28135
|
+
"name": "serviceId",
|
28136
|
+
"type": "string"
|
28137
|
+
},
|
28138
|
+
{
|
28139
|
+
"name": "characteristicId",
|
28140
|
+
"type": "string"
|
28141
|
+
}
|
28142
|
+
]
|
28143
|
+
},
|
28144
|
+
{
|
28145
|
+
"name": "addDescriptor",
|
28146
|
+
"description": "Adds a descriptor with |descriptorUuid| to the characteristic respresented\nby |characteristicId| in the service represented by |serviceId| of the\nperipheral with |address|.",
|
28147
|
+
"parameters": [
|
28148
|
+
{
|
28149
|
+
"name": "address",
|
28150
|
+
"type": "string"
|
28151
|
+
},
|
28152
|
+
{
|
28153
|
+
"name": "serviceId",
|
28154
|
+
"type": "string"
|
28155
|
+
},
|
28156
|
+
{
|
28157
|
+
"name": "characteristicId",
|
28158
|
+
"type": "string"
|
28159
|
+
},
|
28160
|
+
{
|
28161
|
+
"name": "descriptorUuid",
|
28162
|
+
"type": "string"
|
28163
|
+
}
|
28164
|
+
],
|
28165
|
+
"returns": [
|
28166
|
+
{
|
28167
|
+
"name": "descriptorId",
|
28168
|
+
"description": "An identifier that uniquely represents this descriptor.",
|
28169
|
+
"type": "string"
|
28170
|
+
}
|
28171
|
+
]
|
28172
|
+
},
|
28173
|
+
{
|
28174
|
+
"name": "removeDescriptor",
|
28175
|
+
"description": "Removes the descriptor with |descriptorId| from the characteristic\nrespresented by |characteristicId| in the service represented by |serviceId|\nof the peripheral with |address|.",
|
28176
|
+
"parameters": [
|
28177
|
+
{
|
28178
|
+
"name": "address",
|
28179
|
+
"type": "string"
|
28180
|
+
},
|
28181
|
+
{
|
28182
|
+
"name": "serviceId",
|
28183
|
+
"type": "string"
|
28184
|
+
},
|
28185
|
+
{
|
28186
|
+
"name": "characteristicId",
|
28187
|
+
"type": "string"
|
28188
|
+
},
|
28189
|
+
{
|
28190
|
+
"name": "descriptorId",
|
28046
28191
|
"type": "string"
|
28047
28192
|
}
|
28048
28193
|
]
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -983,6 +983,7 @@ experimental domain Audits
|
|
983
983
|
TypeNotMatching
|
984
984
|
UiDismissedNoEmbargo
|
985
985
|
CorsError
|
986
|
+
SuppressedBySegmentationPlatform
|
986
987
|
|
987
988
|
type FederatedAuthUserInfoRequestIssueDetails extends object
|
988
989
|
properties
|
@@ -2436,7 +2437,12 @@ experimental domain CSS
|
|
2436
2437
|
# For example, a value of '1em' is evaluated according to the computed
|
2437
2438
|
# 'font-size' of the element and a value 'calc(1px + 2px)' will be
|
2438
2439
|
# resolved to '3px'.
|
2439
|
-
|
2440
|
+
# If the `propertyName` was specified the `values` are resolved as if
|
2441
|
+
# they were property's declaration. If a value cannot be parsed according
|
2442
|
+
# to the provided property syntax, the value is parsed using combined
|
2443
|
+
# syntax as if null `propertyName` was provided. If the value cannot be
|
2444
|
+
# resolved even then, return the provided value without any changes.
|
2445
|
+
experimental command resolveValues
|
2440
2446
|
parameters
|
2441
2447
|
# Substitution functions (var()/env()/attr()) and cascade-dependent
|
2442
2448
|
# keywords (revert/revert-layer) do not work.
|
@@ -2447,9 +2453,9 @@ experimental domain CSS
|
|
2447
2453
|
optional string propertyName
|
2448
2454
|
# Pseudo element type, only works for pseudo elements that generate
|
2449
2455
|
# elements in the tree, such as ::before and ::after.
|
2450
|
-
|
2456
|
+
optional DOM.PseudoType pseudoType
|
2451
2457
|
# Pseudo element custom ident.
|
2452
|
-
|
2458
|
+
optional string pseudoIdentifier
|
2453
2459
|
returns
|
2454
2460
|
array of string results
|
2455
2461
|
|
@@ -13266,6 +13272,19 @@ experimental domain BluetoothEmulation
|
|
13266
13272
|
integer rssi
|
13267
13273
|
ScanRecord scanRecord
|
13268
13274
|
|
13275
|
+
# Describes the properties of a characteristic. This follows Bluetooth Core
|
13276
|
+
# Specification BT 4.2 Vol 3 Part G 3.3.1. Characteristic Properties.
|
13277
|
+
type CharacteristicProperties extends object
|
13278
|
+
properties
|
13279
|
+
optional boolean broadcast
|
13280
|
+
optional boolean read
|
13281
|
+
optional boolean writeWithoutResponse
|
13282
|
+
optional boolean write
|
13283
|
+
optional boolean notify
|
13284
|
+
optional boolean indicate
|
13285
|
+
optional boolean authenticatedSignedWrites
|
13286
|
+
optional boolean extendedProperties
|
13287
|
+
|
13269
13288
|
# Enable the BluetoothEmulation domain.
|
13270
13289
|
command enable
|
13271
13290
|
parameters
|
@@ -13307,20 +13326,64 @@ experimental domain BluetoothEmulation
|
|
13307
13326
|
GATTOperationType type
|
13308
13327
|
integer code
|
13309
13328
|
|
13310
|
-
# Adds a service with |
|
13329
|
+
# Adds a service with |serviceUuid| to the peripheral with |address|.
|
13311
13330
|
command addService
|
13312
13331
|
parameters
|
13313
13332
|
string address
|
13314
13333
|
string serviceUuid
|
13315
13334
|
returns
|
13316
13335
|
# An identifier that uniquely represents this service.
|
13317
|
-
string
|
13336
|
+
string serviceId
|
13318
13337
|
|
13319
|
-
# Removes the service respresented by |
|
13338
|
+
# Removes the service respresented by |serviceId| from the peripheral with
|
13339
|
+
# |address|.
|
13320
13340
|
command removeService
|
13321
13341
|
parameters
|
13322
13342
|
string address
|
13323
|
-
string
|
13343
|
+
string serviceId
|
13344
|
+
|
13345
|
+
# Adds a characteristic with |characteristicUuid| and |properties| to the
|
13346
|
+
# service represented by |serviceId| in the peripheral with |address|.
|
13347
|
+
command addCharacteristic
|
13348
|
+
parameters
|
13349
|
+
string address
|
13350
|
+
string serviceId
|
13351
|
+
string characteristicUuid
|
13352
|
+
CharacteristicProperties properties
|
13353
|
+
returns
|
13354
|
+
# An identifier that uniquely represents this characteristic.
|
13355
|
+
string characteristicId
|
13356
|
+
|
13357
|
+
# Removes the characteristic respresented by |characteristicId| from the
|
13358
|
+
# service respresented by |serviceId| in the peripheral with |address|.
|
13359
|
+
command removeCharacteristic
|
13360
|
+
parameters
|
13361
|
+
string address
|
13362
|
+
string serviceId
|
13363
|
+
string characteristicId
|
13364
|
+
|
13365
|
+
# Adds a descriptor with |descriptorUuid| to the characteristic respresented
|
13366
|
+
# by |characteristicId| in the service represented by |serviceId| of the
|
13367
|
+
# peripheral with |address|.
|
13368
|
+
command addDescriptor
|
13369
|
+
parameters
|
13370
|
+
string address
|
13371
|
+
string serviceId
|
13372
|
+
string characteristicId
|
13373
|
+
string descriptorUuid
|
13374
|
+
returns
|
13375
|
+
# An identifier that uniquely represents this descriptor.
|
13376
|
+
string descriptorId
|
13377
|
+
|
13378
|
+
# Removes the descriptor with |descriptorId| from the characteristic
|
13379
|
+
# respresented by |characteristicId| in the service represented by |serviceId|
|
13380
|
+
# of the peripheral with |address|.
|
13381
|
+
command removeDescriptor
|
13382
|
+
parameters
|
13383
|
+
string address
|
13384
|
+
string serviceId
|
13385
|
+
string characteristicId
|
13386
|
+
string descriptorId
|
13324
13387
|
|
13325
13388
|
# Event for when a GATT operation of |type| to the peripheral with |address|
|
13326
13389
|
# happened.
|
@@ -1880,6 +1880,11 @@ export namespace ProtocolMapping {
|
|
1880
1880
|
* For example, a value of '1em' is evaluated according to the computed
|
1881
1881
|
* 'font-size' of the element and a value 'calc(1px + 2px)' will be
|
1882
1882
|
* resolved to '3px'.
|
1883
|
+
* If the `propertyName` was specified the `values` are resolved as if
|
1884
|
+
* they were property's declaration. If a value cannot be parsed according
|
1885
|
+
* to the provided property syntax, the value is parsed using combined
|
1886
|
+
* syntax as if null `propertyName` was provided. If the value cannot be
|
1887
|
+
* resolved even then, return the provided value without any changes.
|
1883
1888
|
*/
|
1884
1889
|
'CSS.resolveValues': {
|
1885
1890
|
paramsType: [Protocol.CSS.ResolveValuesRequest];
|
@@ -5312,19 +5317,54 @@ export namespace ProtocolMapping {
|
|
5312
5317
|
returnType: void;
|
5313
5318
|
};
|
5314
5319
|
/**
|
5315
|
-
* Adds a service with |
|
5320
|
+
* Adds a service with |serviceUuid| to the peripheral with |address|.
|
5316
5321
|
*/
|
5317
5322
|
'BluetoothEmulation.addService': {
|
5318
5323
|
paramsType: [Protocol.BluetoothEmulation.AddServiceRequest];
|
5319
5324
|
returnType: Protocol.BluetoothEmulation.AddServiceResponse;
|
5320
5325
|
};
|
5321
5326
|
/**
|
5322
|
-
* Removes the service respresented by |
|
5327
|
+
* Removes the service respresented by |serviceId| from the peripheral with
|
5328
|
+
* |address|.
|
5323
5329
|
*/
|
5324
5330
|
'BluetoothEmulation.removeService': {
|
5325
5331
|
paramsType: [Protocol.BluetoothEmulation.RemoveServiceRequest];
|
5326
5332
|
returnType: void;
|
5327
5333
|
};
|
5334
|
+
/**
|
5335
|
+
* Adds a characteristic with |characteristicUuid| and |properties| to the
|
5336
|
+
* service represented by |serviceId| in the peripheral with |address|.
|
5337
|
+
*/
|
5338
|
+
'BluetoothEmulation.addCharacteristic': {
|
5339
|
+
paramsType: [Protocol.BluetoothEmulation.AddCharacteristicRequest];
|
5340
|
+
returnType: Protocol.BluetoothEmulation.AddCharacteristicResponse;
|
5341
|
+
};
|
5342
|
+
/**
|
5343
|
+
* Removes the characteristic respresented by |characteristicId| from the
|
5344
|
+
* service respresented by |serviceId| in the peripheral with |address|.
|
5345
|
+
*/
|
5346
|
+
'BluetoothEmulation.removeCharacteristic': {
|
5347
|
+
paramsType: [Protocol.BluetoothEmulation.RemoveCharacteristicRequest];
|
5348
|
+
returnType: void;
|
5349
|
+
};
|
5350
|
+
/**
|
5351
|
+
* Adds a descriptor with |descriptorUuid| to the characteristic respresented
|
5352
|
+
* by |characteristicId| in the service represented by |serviceId| of the
|
5353
|
+
* peripheral with |address|.
|
5354
|
+
*/
|
5355
|
+
'BluetoothEmulation.addDescriptor': {
|
5356
|
+
paramsType: [Protocol.BluetoothEmulation.AddDescriptorRequest];
|
5357
|
+
returnType: Protocol.BluetoothEmulation.AddDescriptorResponse;
|
5358
|
+
};
|
5359
|
+
/**
|
5360
|
+
* Removes the descriptor with |descriptorId| from the characteristic
|
5361
|
+
* respresented by |characteristicId| in the service represented by |serviceId|
|
5362
|
+
* of the peripheral with |address|.
|
5363
|
+
*/
|
5364
|
+
'BluetoothEmulation.removeDescriptor': {
|
5365
|
+
paramsType: [Protocol.BluetoothEmulation.RemoveDescriptorRequest];
|
5366
|
+
returnType: void;
|
5367
|
+
};
|
5328
5368
|
}
|
5329
5369
|
}
|
5330
5370
|
|
@@ -1085,6 +1085,11 @@ export namespace ProtocolProxyApi {
|
|
1085
1085
|
* For example, a value of '1em' is evaluated according to the computed
|
1086
1086
|
* 'font-size' of the element and a value 'calc(1px + 2px)' will be
|
1087
1087
|
* resolved to '3px'.
|
1088
|
+
* If the `propertyName` was specified the `values` are resolved as if
|
1089
|
+
* they were property's declaration. If a value cannot be parsed according
|
1090
|
+
* to the provided property syntax, the value is parsed using combined
|
1091
|
+
* syntax as if null `propertyName` was provided. If the value cannot be
|
1092
|
+
* resolved even then, return the provided value without any changes.
|
1088
1093
|
*/
|
1089
1094
|
resolveValues(params: Protocol.CSS.ResolveValuesRequest): Promise<Protocol.CSS.ResolveValuesResponse>;
|
1090
1095
|
|
@@ -4535,15 +4540,42 @@ export namespace ProtocolProxyApi {
|
|
4535
4540
|
simulateGATTOperationResponse(params: Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest): Promise<void>;
|
4536
4541
|
|
4537
4542
|
/**
|
4538
|
-
* Adds a service with |
|
4543
|
+
* Adds a service with |serviceUuid| to the peripheral with |address|.
|
4539
4544
|
*/
|
4540
4545
|
addService(params: Protocol.BluetoothEmulation.AddServiceRequest): Promise<Protocol.BluetoothEmulation.AddServiceResponse>;
|
4541
4546
|
|
4542
4547
|
/**
|
4543
|
-
* Removes the service respresented by |
|
4548
|
+
* Removes the service respresented by |serviceId| from the peripheral with
|
4549
|
+
* |address|.
|
4544
4550
|
*/
|
4545
4551
|
removeService(params: Protocol.BluetoothEmulation.RemoveServiceRequest): Promise<void>;
|
4546
4552
|
|
4553
|
+
/**
|
4554
|
+
* Adds a characteristic with |characteristicUuid| and |properties| to the
|
4555
|
+
* service represented by |serviceId| in the peripheral with |address|.
|
4556
|
+
*/
|
4557
|
+
addCharacteristic(params: Protocol.BluetoothEmulation.AddCharacteristicRequest): Promise<Protocol.BluetoothEmulation.AddCharacteristicResponse>;
|
4558
|
+
|
4559
|
+
/**
|
4560
|
+
* Removes the characteristic respresented by |characteristicId| from the
|
4561
|
+
* service respresented by |serviceId| in the peripheral with |address|.
|
4562
|
+
*/
|
4563
|
+
removeCharacteristic(params: Protocol.BluetoothEmulation.RemoveCharacteristicRequest): Promise<void>;
|
4564
|
+
|
4565
|
+
/**
|
4566
|
+
* Adds a descriptor with |descriptorUuid| to the characteristic respresented
|
4567
|
+
* by |characteristicId| in the service represented by |serviceId| of the
|
4568
|
+
* peripheral with |address|.
|
4569
|
+
*/
|
4570
|
+
addDescriptor(params: Protocol.BluetoothEmulation.AddDescriptorRequest): Promise<Protocol.BluetoothEmulation.AddDescriptorResponse>;
|
4571
|
+
|
4572
|
+
/**
|
4573
|
+
* Removes the descriptor with |descriptorId| from the characteristic
|
4574
|
+
* respresented by |characteristicId| in the service represented by |serviceId|
|
4575
|
+
* of the peripheral with |address|.
|
4576
|
+
*/
|
4577
|
+
removeDescriptor(params: Protocol.BluetoothEmulation.RemoveDescriptorRequest): Promise<void>;
|
4578
|
+
|
4547
4579
|
/**
|
4548
4580
|
* Event for when a GATT operation of |type| to the peripheral with |address|
|
4549
4581
|
* happened.
|
@@ -1153,6 +1153,11 @@ export namespace ProtocolTestsProxyApi {
|
|
1153
1153
|
* For example, a value of '1em' is evaluated according to the computed
|
1154
1154
|
* 'font-size' of the element and a value 'calc(1px + 2px)' will be
|
1155
1155
|
* resolved to '3px'.
|
1156
|
+
* If the `propertyName` was specified the `values` are resolved as if
|
1157
|
+
* they were property's declaration. If a value cannot be parsed according
|
1158
|
+
* to the provided property syntax, the value is parsed using combined
|
1159
|
+
* syntax as if null `propertyName` was provided. If the value cannot be
|
1160
|
+
* resolved even then, return the provided value without any changes.
|
1156
1161
|
*/
|
1157
1162
|
resolveValues(params: Protocol.CSS.ResolveValuesRequest): Promise<{id: number, result: Protocol.CSS.ResolveValuesResponse, sessionId: string}>;
|
1158
1163
|
|
@@ -4939,15 +4944,42 @@ export namespace ProtocolTestsProxyApi {
|
|
4939
4944
|
simulateGATTOperationResponse(params: Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4940
4945
|
|
4941
4946
|
/**
|
4942
|
-
* Adds a service with |
|
4947
|
+
* Adds a service with |serviceUuid| to the peripheral with |address|.
|
4943
4948
|
*/
|
4944
4949
|
addService(params: Protocol.BluetoothEmulation.AddServiceRequest): Promise<{id: number, result: Protocol.BluetoothEmulation.AddServiceResponse, sessionId: string}>;
|
4945
4950
|
|
4946
4951
|
/**
|
4947
|
-
* Removes the service respresented by |
|
4952
|
+
* Removes the service respresented by |serviceId| from the peripheral with
|
4953
|
+
* |address|.
|
4948
4954
|
*/
|
4949
4955
|
removeService(params: Protocol.BluetoothEmulation.RemoveServiceRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4950
4956
|
|
4957
|
+
/**
|
4958
|
+
* Adds a characteristic with |characteristicUuid| and |properties| to the
|
4959
|
+
* service represented by |serviceId| in the peripheral with |address|.
|
4960
|
+
*/
|
4961
|
+
addCharacteristic(params: Protocol.BluetoothEmulation.AddCharacteristicRequest): Promise<{id: number, result: Protocol.BluetoothEmulation.AddCharacteristicResponse, sessionId: string}>;
|
4962
|
+
|
4963
|
+
/**
|
4964
|
+
* Removes the characteristic respresented by |characteristicId| from the
|
4965
|
+
* service respresented by |serviceId| in the peripheral with |address|.
|
4966
|
+
*/
|
4967
|
+
removeCharacteristic(params: Protocol.BluetoothEmulation.RemoveCharacteristicRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4968
|
+
|
4969
|
+
/**
|
4970
|
+
* Adds a descriptor with |descriptorUuid| to the characteristic respresented
|
4971
|
+
* by |characteristicId| in the service represented by |serviceId| of the
|
4972
|
+
* peripheral with |address|.
|
4973
|
+
*/
|
4974
|
+
addDescriptor(params: Protocol.BluetoothEmulation.AddDescriptorRequest): Promise<{id: number, result: Protocol.BluetoothEmulation.AddDescriptorResponse, sessionId: string}>;
|
4975
|
+
|
4976
|
+
/**
|
4977
|
+
* Removes the descriptor with |descriptorId| from the characteristic
|
4978
|
+
* respresented by |characteristicId| in the service represented by |serviceId|
|
4979
|
+
* of the peripheral with |address|.
|
4980
|
+
*/
|
4981
|
+
removeDescriptor(params: Protocol.BluetoothEmulation.RemoveDescriptorRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4982
|
+
|
4951
4983
|
/**
|
4952
4984
|
* Event for when a GATT operation of |type| to the peripheral with |address|
|
4953
4985
|
* happened.
|
package/types/protocol.d.ts
CHANGED
@@ -3652,7 +3652,7 @@ export namespace Protocol {
|
|
3652
3652
|
* third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
|
3653
3653
|
* all cases except for success.
|
3654
3654
|
*/
|
3655
|
-
export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'IdpNotPotentiallyTrustworthy' | 'DisabledInSettings' | 'DisabledInFlags' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp' | 'MissingTransientUserActivation' | 'ReplacedByActiveMode' | 'InvalidFieldsSpecified' | 'RelyingPartyOriginIsOpaque' | 'TypeNotMatching' | 'UiDismissedNoEmbargo' | 'CorsError');
|
3655
|
+
export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'IdpNotPotentiallyTrustworthy' | 'DisabledInSettings' | 'DisabledInFlags' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp' | 'MissingTransientUserActivation' | 'ReplacedByActiveMode' | 'InvalidFieldsSpecified' | 'RelyingPartyOriginIsOpaque' | 'TypeNotMatching' | 'UiDismissedNoEmbargo' | 'CorsError' | 'SuppressedBySegmentationPlatform');
|
3656
3656
|
|
3657
3657
|
export interface FederatedAuthUserInfoRequestIssueDetails {
|
3658
3658
|
federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
|
@@ -19536,6 +19536,21 @@ export namespace Protocol {
|
|
19536
19536
|
scanRecord: ScanRecord;
|
19537
19537
|
}
|
19538
19538
|
|
19539
|
+
/**
|
19540
|
+
* Describes the properties of a characteristic. This follows Bluetooth Core
|
19541
|
+
* Specification BT 4.2 Vol 3 Part G 3.3.1. Characteristic Properties.
|
19542
|
+
*/
|
19543
|
+
export interface CharacteristicProperties {
|
19544
|
+
broadcast?: boolean;
|
19545
|
+
read?: boolean;
|
19546
|
+
writeWithoutResponse?: boolean;
|
19547
|
+
write?: boolean;
|
19548
|
+
notify?: boolean;
|
19549
|
+
indicate?: boolean;
|
19550
|
+
authenticatedSignedWrites?: boolean;
|
19551
|
+
extendedProperties?: boolean;
|
19552
|
+
}
|
19553
|
+
|
19539
19554
|
export interface EnableRequest {
|
19540
19555
|
/**
|
19541
19556
|
* State of the simulated central.
|
@@ -19580,12 +19595,53 @@ export namespace Protocol {
|
|
19580
19595
|
/**
|
19581
19596
|
* An identifier that uniquely represents this service.
|
19582
19597
|
*/
|
19583
|
-
|
19598
|
+
serviceId: string;
|
19584
19599
|
}
|
19585
19600
|
|
19586
19601
|
export interface RemoveServiceRequest {
|
19587
19602
|
address: string;
|
19588
|
-
|
19603
|
+
serviceId: string;
|
19604
|
+
}
|
19605
|
+
|
19606
|
+
export interface AddCharacteristicRequest {
|
19607
|
+
address: string;
|
19608
|
+
serviceId: string;
|
19609
|
+
characteristicUuid: string;
|
19610
|
+
properties: CharacteristicProperties;
|
19611
|
+
}
|
19612
|
+
|
19613
|
+
export interface AddCharacteristicResponse {
|
19614
|
+
/**
|
19615
|
+
* An identifier that uniquely represents this characteristic.
|
19616
|
+
*/
|
19617
|
+
characteristicId: string;
|
19618
|
+
}
|
19619
|
+
|
19620
|
+
export interface RemoveCharacteristicRequest {
|
19621
|
+
address: string;
|
19622
|
+
serviceId: string;
|
19623
|
+
characteristicId: string;
|
19624
|
+
}
|
19625
|
+
|
19626
|
+
export interface AddDescriptorRequest {
|
19627
|
+
address: string;
|
19628
|
+
serviceId: string;
|
19629
|
+
characteristicId: string;
|
19630
|
+
descriptorUuid: string;
|
19631
|
+
}
|
19632
|
+
|
19633
|
+
export interface AddDescriptorResponse {
|
19634
|
+
/**
|
19635
|
+
* An identifier that uniquely represents this descriptor.
|
19636
|
+
*/
|
19637
|
+
descriptorId: string;
|
19638
|
+
}
|
19639
|
+
|
19640
|
+
export interface RemoveDescriptorRequest {
|
19641
|
+
address: string;
|
19642
|
+
serviceId: string;
|
19643
|
+
characteristicId: string;
|
19644
|
+
descriptorId: string;
|
19589
19645
|
}
|
19590
19646
|
|
19591
19647
|
/**
|