devtools-protocol 0.0.1453071 → 0.0.1454823
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
|
},
|
@@ -23341,6 +23372,17 @@
|
|
23341
23372
|
"excessiveReports"
|
23342
23373
|
]
|
23343
23374
|
},
|
23375
|
+
{
|
23376
|
+
"id": "AttributionReportingReportResult",
|
23377
|
+
"experimental": true,
|
23378
|
+
"type": "string",
|
23379
|
+
"enum": [
|
23380
|
+
"sent",
|
23381
|
+
"prohibited",
|
23382
|
+
"failedToAssemble",
|
23383
|
+
"expired"
|
23384
|
+
]
|
23385
|
+
},
|
23344
23386
|
{
|
23345
23387
|
"id": "RelatedWebsiteSet",
|
23346
23388
|
"description": "A single Related Website Set object.",
|
@@ -24232,6 +24274,40 @@
|
|
24232
24274
|
"$ref": "AttributionReportingAggregatableResult"
|
24233
24275
|
}
|
24234
24276
|
]
|
24277
|
+
},
|
24278
|
+
{
|
24279
|
+
"name": "attributionReportingReportSent",
|
24280
|
+
"experimental": true,
|
24281
|
+
"parameters": [
|
24282
|
+
{
|
24283
|
+
"name": "url",
|
24284
|
+
"type": "string"
|
24285
|
+
},
|
24286
|
+
{
|
24287
|
+
"name": "body",
|
24288
|
+
"type": "object"
|
24289
|
+
},
|
24290
|
+
{
|
24291
|
+
"name": "result",
|
24292
|
+
"$ref": "AttributionReportingReportResult"
|
24293
|
+
},
|
24294
|
+
{
|
24295
|
+
"name": "netError",
|
24296
|
+
"description": "If result is `sent`, populated with net/HTTP status.",
|
24297
|
+
"optional": true,
|
24298
|
+
"type": "integer"
|
24299
|
+
},
|
24300
|
+
{
|
24301
|
+
"name": "netErrorName",
|
24302
|
+
"optional": true,
|
24303
|
+
"type": "string"
|
24304
|
+
},
|
24305
|
+
{
|
24306
|
+
"name": "httpStatusCode",
|
24307
|
+
"optional": true,
|
24308
|
+
"type": "integer"
|
24309
|
+
}
|
24310
|
+
]
|
24235
24311
|
}
|
24236
24312
|
]
|
24237
24313
|
},
|
@@ -28138,6 +28214,15 @@
|
|
28138
28214
|
"unsubscribe-from-notifications"
|
28139
28215
|
]
|
28140
28216
|
},
|
28217
|
+
{
|
28218
|
+
"id": "DescriptorOperationType",
|
28219
|
+
"description": "Indicates the various types of descriptor operation.",
|
28220
|
+
"type": "string",
|
28221
|
+
"enum": [
|
28222
|
+
"read",
|
28223
|
+
"write"
|
28224
|
+
]
|
28225
|
+
},
|
28141
28226
|
{
|
28142
28227
|
"id": "ManufacturerData",
|
28143
28228
|
"description": "Stores the manufacturer data",
|
@@ -28374,6 +28459,29 @@
|
|
28374
28459
|
}
|
28375
28460
|
]
|
28376
28461
|
},
|
28462
|
+
{
|
28463
|
+
"name": "simulateDescriptorOperationResponse",
|
28464
|
+
"description": "Simulates the response from the descriptor with |descriptorId| for a\ndescriptor 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.",
|
28465
|
+
"parameters": [
|
28466
|
+
{
|
28467
|
+
"name": "descriptorId",
|
28468
|
+
"type": "string"
|
28469
|
+
},
|
28470
|
+
{
|
28471
|
+
"name": "type",
|
28472
|
+
"$ref": "DescriptorOperationType"
|
28473
|
+
},
|
28474
|
+
{
|
28475
|
+
"name": "code",
|
28476
|
+
"type": "integer"
|
28477
|
+
},
|
28478
|
+
{
|
28479
|
+
"name": "data",
|
28480
|
+
"optional": true,
|
28481
|
+
"type": "string"
|
28482
|
+
}
|
28483
|
+
]
|
28484
|
+
},
|
28377
28485
|
{
|
28378
28486
|
"name": "addService",
|
28379
28487
|
"description": "Adds a service with |serviceUuid| to the peripheral with |address|.",
|
@@ -28470,6 +28578,16 @@
|
|
28470
28578
|
"type": "string"
|
28471
28579
|
}
|
28472
28580
|
]
|
28581
|
+
},
|
28582
|
+
{
|
28583
|
+
"name": "simulateGATTDisconnection",
|
28584
|
+
"description": "Simulates a GATT disconnection from the peripheral with |address|.",
|
28585
|
+
"parameters": [
|
28586
|
+
{
|
28587
|
+
"name": "address",
|
28588
|
+
"type": "string"
|
28589
|
+
}
|
28590
|
+
]
|
28473
28591
|
}
|
28474
28592
|
],
|
28475
28593
|
"events": [
|
@@ -28510,6 +28628,25 @@
|
|
28510
28628
|
"$ref": "CharacteristicWriteType"
|
28511
28629
|
}
|
28512
28630
|
]
|
28631
|
+
},
|
28632
|
+
{
|
28633
|
+
"name": "descriptorOperationReceived",
|
28634
|
+
"description": "Event for when a descriptor operation of |type| to the descriptor\nrespresented by |descriptorId| happened. |data| is expected to exist when\n|type| is write.",
|
28635
|
+
"parameters": [
|
28636
|
+
{
|
28637
|
+
"name": "descriptorId",
|
28638
|
+
"type": "string"
|
28639
|
+
},
|
28640
|
+
{
|
28641
|
+
"name": "type",
|
28642
|
+
"$ref": "CharacteristicOperationType"
|
28643
|
+
},
|
28644
|
+
{
|
28645
|
+
"name": "data",
|
28646
|
+
"optional": true,
|
28647
|
+
"type": "string"
|
28648
|
+
}
|
28649
|
+
]
|
28513
28650
|
}
|
28514
28651
|
]
|
28515
28652
|
}
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -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.
|
@@ -11365,6 +11380,28 @@ experimental domain Storage
|
|
11365
11380
|
AttributionReportingEventLevelResult eventLevel
|
11366
11381
|
AttributionReportingAggregatableResult aggregatable
|
11367
11382
|
|
11383
|
+
experimental type AttributionReportingReportResult extends string
|
11384
|
+
enum
|
11385
|
+
# A network request was attempted for the report.
|
11386
|
+
sent
|
11387
|
+
# No request was attempted because of browser policy.
|
11388
|
+
prohibited
|
11389
|
+
# No request was attempted because of an error in report assembly,
|
11390
|
+
# e.g. the aggregation service was unavailable.
|
11391
|
+
failedToAssemble
|
11392
|
+
# No request was attempted because the report's expiry passed.
|
11393
|
+
expired
|
11394
|
+
|
11395
|
+
experimental event attributionReportingReportSent
|
11396
|
+
parameters
|
11397
|
+
string url
|
11398
|
+
object body
|
11399
|
+
AttributionReportingReportResult result
|
11400
|
+
# If result is `sent`, populated with net/HTTP status.
|
11401
|
+
optional integer netError
|
11402
|
+
optional string netErrorName
|
11403
|
+
optional integer httpStatusCode
|
11404
|
+
|
11368
11405
|
# A single Related Website Set object.
|
11369
11406
|
experimental type RelatedWebsiteSet extends object
|
11370
11407
|
properties
|
@@ -13370,6 +13407,12 @@ experimental domain BluetoothEmulation
|
|
13370
13407
|
subscribe-to-notifications
|
13371
13408
|
unsubscribe-from-notifications
|
13372
13409
|
|
13410
|
+
# Indicates the various types of descriptor operation.
|
13411
|
+
type DescriptorOperationType extends string
|
13412
|
+
enum
|
13413
|
+
read
|
13414
|
+
write
|
13415
|
+
|
13373
13416
|
# Stores the manufacturer data
|
13374
13417
|
type ManufacturerData extends object
|
13375
13418
|
properties
|
@@ -13466,6 +13509,18 @@ experimental domain BluetoothEmulation
|
|
13466
13509
|
integer code
|
13467
13510
|
optional binary data
|
13468
13511
|
|
13512
|
+
# Simulates the response from the descriptor with |descriptorId| for a
|
13513
|
+
# descriptor operation of |type|. The |code| value follows the Error
|
13514
|
+
# Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
|
13515
|
+
# The |data| is expected to exist when simulating a successful read operation
|
13516
|
+
# response.
|
13517
|
+
command simulateDescriptorOperationResponse
|
13518
|
+
parameters
|
13519
|
+
string descriptorId
|
13520
|
+
DescriptorOperationType type
|
13521
|
+
integer code
|
13522
|
+
optional binary data
|
13523
|
+
|
13469
13524
|
# Adds a service with |serviceUuid| to the peripheral with |address|.
|
13470
13525
|
command addService
|
13471
13526
|
parameters
|
@@ -13512,6 +13567,11 @@ experimental domain BluetoothEmulation
|
|
13512
13567
|
parameters
|
13513
13568
|
string descriptorId
|
13514
13569
|
|
13570
|
+
# Simulates a GATT disconnection from the peripheral with |address|.
|
13571
|
+
command simulateGATTDisconnection
|
13572
|
+
parameters
|
13573
|
+
string address
|
13574
|
+
|
13515
13575
|
# Event for when a GATT operation of |type| to the peripheral with |address|
|
13516
13576
|
# happened.
|
13517
13577
|
event gattOperationReceived
|
@@ -13528,3 +13588,12 @@ experimental domain BluetoothEmulation
|
|
13528
13588
|
CharacteristicOperationType type
|
13529
13589
|
optional binary data
|
13530
13590
|
optional CharacteristicWriteType writeType
|
13591
|
+
|
13592
|
+
# Event for when a descriptor operation of |type| to the descriptor
|
13593
|
+
# respresented by |descriptorId| happened. |data| is expected to exist when
|
13594
|
+
# |type| is write.
|
13595
|
+
event descriptorOperationReceived
|
13596
|
+
parameters
|
13597
|
+
string descriptorId
|
13598
|
+
CharacteristicOperationType type
|
13599
|
+
optional binary data
|
@@ -645,6 +645,7 @@ export namespace ProtocolMapping {
|
|
645
645
|
'Storage.storageBucketDeleted': [Protocol.Storage.StorageBucketDeletedEvent];
|
646
646
|
'Storage.attributionReportingSourceRegistered': [Protocol.Storage.AttributionReportingSourceRegisteredEvent];
|
647
647
|
'Storage.attributionReportingTriggerRegistered': [Protocol.Storage.AttributionReportingTriggerRegisteredEvent];
|
648
|
+
'Storage.attributionReportingReportSent': [Protocol.Storage.AttributionReportingReportSentEvent];
|
648
649
|
/**
|
649
650
|
* Issued when attached to target because of auto-attach or `attachToTarget` command.
|
650
651
|
*/
|
@@ -847,6 +848,12 @@ export namespace ProtocolMapping {
|
|
847
848
|
* expected to exist when |type| is write.
|
848
849
|
*/
|
849
850
|
'BluetoothEmulation.characteristicOperationReceived': [Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent];
|
851
|
+
/**
|
852
|
+
* Event for when a descriptor operation of |type| to the descriptor
|
853
|
+
* respresented by |descriptorId| happened. |data| is expected to exist when
|
854
|
+
* |type| is write.
|
855
|
+
*/
|
856
|
+
'BluetoothEmulation.descriptorOperationReceived': [Protocol.BluetoothEmulation.DescriptorOperationReceivedEvent];
|
850
857
|
}
|
851
858
|
|
852
859
|
export interface Commands {
|
@@ -5365,6 +5372,17 @@ export namespace ProtocolMapping {
|
|
5365
5372
|
paramsType: [Protocol.BluetoothEmulation.SimulateCharacteristicOperationResponseRequest];
|
5366
5373
|
returnType: void;
|
5367
5374
|
};
|
5375
|
+
/**
|
5376
|
+
* Simulates the response from the descriptor with |descriptorId| for a
|
5377
|
+
* descriptor operation of |type|. The |code| value follows the Error
|
5378
|
+
* Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
|
5379
|
+
* The |data| is expected to exist when simulating a successful read operation
|
5380
|
+
* response.
|
5381
|
+
*/
|
5382
|
+
'BluetoothEmulation.simulateDescriptorOperationResponse': {
|
5383
|
+
paramsType: [Protocol.BluetoothEmulation.SimulateDescriptorOperationResponseRequest];
|
5384
|
+
returnType: void;
|
5385
|
+
};
|
5368
5386
|
/**
|
5369
5387
|
* Adds a service with |serviceUuid| to the peripheral with |address|.
|
5370
5388
|
*/
|
@@ -5410,6 +5428,13 @@ export namespace ProtocolMapping {
|
|
5410
5428
|
paramsType: [Protocol.BluetoothEmulation.RemoveDescriptorRequest];
|
5411
5429
|
returnType: void;
|
5412
5430
|
};
|
5431
|
+
/**
|
5432
|
+
* Simulates a GATT disconnection from the peripheral with |address|.
|
5433
|
+
*/
|
5434
|
+
'BluetoothEmulation.simulateGATTDisconnection': {
|
5435
|
+
paramsType: [Protocol.BluetoothEmulation.SimulateGATTDisconnectionRequest];
|
5436
|
+
returnType: void;
|
5437
|
+
};
|
5413
5438
|
}
|
5414
5439
|
}
|
5415
5440
|
|
@@ -3832,6 +3832,8 @@ export namespace ProtocolProxyApi {
|
|
3832
3832
|
|
3833
3833
|
on(event: 'attributionReportingTriggerRegistered', listener: (params: Protocol.Storage.AttributionReportingTriggerRegisteredEvent) => void): void;
|
3834
3834
|
|
3835
|
+
on(event: 'attributionReportingReportSent', listener: (params: Protocol.Storage.AttributionReportingReportSentEvent) => void): void;
|
3836
|
+
|
3835
3837
|
}
|
3836
3838
|
|
3837
3839
|
export interface SystemInfoApi {
|
@@ -4579,6 +4581,15 @@ export namespace ProtocolProxyApi {
|
|
4579
4581
|
*/
|
4580
4582
|
simulateCharacteristicOperationResponse(params: Protocol.BluetoothEmulation.SimulateCharacteristicOperationResponseRequest): Promise<void>;
|
4581
4583
|
|
4584
|
+
/**
|
4585
|
+
* Simulates the response from the descriptor with |descriptorId| for a
|
4586
|
+
* descriptor operation of |type|. The |code| value follows the Error
|
4587
|
+
* Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
|
4588
|
+
* The |data| is expected to exist when simulating a successful read operation
|
4589
|
+
* response.
|
4590
|
+
*/
|
4591
|
+
simulateDescriptorOperationResponse(params: Protocol.BluetoothEmulation.SimulateDescriptorOperationResponseRequest): Promise<void>;
|
4592
|
+
|
4582
4593
|
/**
|
4583
4594
|
* Adds a service with |serviceUuid| to the peripheral with |address|.
|
4584
4595
|
*/
|
@@ -4612,6 +4623,11 @@ export namespace ProtocolProxyApi {
|
|
4612
4623
|
*/
|
4613
4624
|
removeDescriptor(params: Protocol.BluetoothEmulation.RemoveDescriptorRequest): Promise<void>;
|
4614
4625
|
|
4626
|
+
/**
|
4627
|
+
* Simulates a GATT disconnection from the peripheral with |address|.
|
4628
|
+
*/
|
4629
|
+
simulateGATTDisconnection(params: Protocol.BluetoothEmulation.SimulateGATTDisconnectionRequest): Promise<void>;
|
4630
|
+
|
4615
4631
|
/**
|
4616
4632
|
* Event for when a GATT operation of |type| to the peripheral with |address|
|
4617
4633
|
* happened.
|
@@ -4625,6 +4641,13 @@ export namespace ProtocolProxyApi {
|
|
4625
4641
|
*/
|
4626
4642
|
on(event: 'characteristicOperationReceived', listener: (params: Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent) => void): void;
|
4627
4643
|
|
4644
|
+
/**
|
4645
|
+
* Event for when a descriptor operation of |type| to the descriptor
|
4646
|
+
* respresented by |descriptorId| happened. |data| is expected to exist when
|
4647
|
+
* |type| is write.
|
4648
|
+
*/
|
4649
|
+
on(event: 'descriptorOperationReceived', listener: (params: Protocol.BluetoothEmulation.DescriptorOperationReceivedEvent) => void): void;
|
4650
|
+
|
4628
4651
|
}
|
4629
4652
|
}
|
4630
4653
|
|
@@ -4154,6 +4154,10 @@ export namespace ProtocolTestsProxyApi {
|
|
4154
4154
|
offAttributionReportingTriggerRegistered(listener: (event: { params: Protocol.Storage.AttributionReportingTriggerRegisteredEvent }) => void): void;
|
4155
4155
|
onceAttributionReportingTriggerRegistered(eventMatcher?: (event: { params: Protocol.Storage.AttributionReportingTriggerRegisteredEvent }) => boolean): Promise<{ params: Protocol.Storage.AttributionReportingTriggerRegisteredEvent }>;
|
4156
4156
|
|
4157
|
+
onAttributionReportingReportSent(listener: (event: { params: Protocol.Storage.AttributionReportingReportSentEvent }) => void): void;
|
4158
|
+
offAttributionReportingReportSent(listener: (event: { params: Protocol.Storage.AttributionReportingReportSentEvent }) => void): void;
|
4159
|
+
onceAttributionReportingReportSent(eventMatcher?: (event: { params: Protocol.Storage.AttributionReportingReportSentEvent }) => boolean): Promise<{ params: Protocol.Storage.AttributionReportingReportSentEvent }>;
|
4160
|
+
|
4157
4161
|
}
|
4158
4162
|
|
4159
4163
|
export interface SystemInfoApi {
|
@@ -4989,6 +4993,15 @@ export namespace ProtocolTestsProxyApi {
|
|
4989
4993
|
*/
|
4990
4994
|
simulateCharacteristicOperationResponse(params: Protocol.BluetoothEmulation.SimulateCharacteristicOperationResponseRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4991
4995
|
|
4996
|
+
/**
|
4997
|
+
* Simulates the response from the descriptor with |descriptorId| for a
|
4998
|
+
* descriptor operation of |type|. The |code| value follows the Error
|
4999
|
+
* Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
|
5000
|
+
* The |data| is expected to exist when simulating a successful read operation
|
5001
|
+
* response.
|
5002
|
+
*/
|
5003
|
+
simulateDescriptorOperationResponse(params: Protocol.BluetoothEmulation.SimulateDescriptorOperationResponseRequest): Promise<{id: number, result: void, sessionId: string}>;
|
5004
|
+
|
4992
5005
|
/**
|
4993
5006
|
* Adds a service with |serviceUuid| to the peripheral with |address|.
|
4994
5007
|
*/
|
@@ -5022,6 +5035,11 @@ export namespace ProtocolTestsProxyApi {
|
|
5022
5035
|
*/
|
5023
5036
|
removeDescriptor(params: Protocol.BluetoothEmulation.RemoveDescriptorRequest): Promise<{id: number, result: void, sessionId: string}>;
|
5024
5037
|
|
5038
|
+
/**
|
5039
|
+
* Simulates a GATT disconnection from the peripheral with |address|.
|
5040
|
+
*/
|
5041
|
+
simulateGATTDisconnection(params: Protocol.BluetoothEmulation.SimulateGATTDisconnectionRequest): Promise<{id: number, result: void, sessionId: string}>;
|
5042
|
+
|
5025
5043
|
/**
|
5026
5044
|
* Event for when a GATT operation of |type| to the peripheral with |address|
|
5027
5045
|
* happened.
|
@@ -5039,6 +5057,15 @@ export namespace ProtocolTestsProxyApi {
|
|
5039
5057
|
offCharacteristicOperationReceived(listener: (event: { params: Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent }) => void): void;
|
5040
5058
|
onceCharacteristicOperationReceived(eventMatcher?: (event: { params: Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent }) => boolean): Promise<{ params: Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent }>;
|
5041
5059
|
|
5060
|
+
/**
|
5061
|
+
* Event for when a descriptor operation of |type| to the descriptor
|
5062
|
+
* respresented by |descriptorId| happened. |data| is expected to exist when
|
5063
|
+
* |type| is write.
|
5064
|
+
*/
|
5065
|
+
onDescriptorOperationReceived(listener: (event: { params: Protocol.BluetoothEmulation.DescriptorOperationReceivedEvent }) => void): void;
|
5066
|
+
offDescriptorOperationReceived(listener: (event: { params: Protocol.BluetoothEmulation.DescriptorOperationReceivedEvent }) => void): void;
|
5067
|
+
onceDescriptorOperationReceived(eventMatcher?: (event: { params: Protocol.BluetoothEmulation.DescriptorOperationReceivedEvent }) => boolean): Promise<{ params: Protocol.BluetoothEmulation.DescriptorOperationReceivedEvent }>;
|
5068
|
+
|
5042
5069
|
}
|
5043
5070
|
}
|
5044
5071
|
|
package/types/protocol.d.ts
CHANGED
@@ -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
|
/**
|
@@ -16811,6 +16826,8 @@ export namespace Protocol {
|
|
16811
16826
|
|
16812
16827
|
export type AttributionReportingAggregatableResult = ('success' | 'internalError' | 'noCapacityForAttributionDestination' | 'noMatchingSources' | 'excessiveAttributions' | 'excessiveReportingOrigins' | 'noHistograms' | 'insufficientBudget' | 'insufficientNamedBudget' | 'noMatchingSourceFilterData' | 'notRegistered' | 'prohibitedByBrowserPolicy' | 'deduplicated' | 'reportWindowPassed' | 'excessiveReports');
|
16813
16828
|
|
16829
|
+
export type AttributionReportingReportResult = ('sent' | 'prohibited' | 'failedToAssemble' | 'expired');
|
16830
|
+
|
16814
16831
|
/**
|
16815
16832
|
* A single Related Website Set object.
|
16816
16833
|
*/
|
@@ -17330,6 +17347,18 @@ export namespace Protocol {
|
|
17330
17347
|
eventLevel: AttributionReportingEventLevelResult;
|
17331
17348
|
aggregatable: AttributionReportingAggregatableResult;
|
17332
17349
|
}
|
17350
|
+
|
17351
|
+
export interface AttributionReportingReportSentEvent {
|
17352
|
+
url: string;
|
17353
|
+
body: any;
|
17354
|
+
result: AttributionReportingReportResult;
|
17355
|
+
/**
|
17356
|
+
* If result is `sent`, populated with net/HTTP status.
|
17357
|
+
*/
|
17358
|
+
netError?: integer;
|
17359
|
+
netErrorName?: string;
|
17360
|
+
httpStatusCode?: integer;
|
17361
|
+
}
|
17333
17362
|
}
|
17334
17363
|
|
17335
17364
|
/**
|
@@ -19649,6 +19678,11 @@ export namespace Protocol {
|
|
19649
19678
|
*/
|
19650
19679
|
export type CharacteristicOperationType = ('read' | 'write' | 'subscribe-to-notifications' | 'unsubscribe-from-notifications');
|
19651
19680
|
|
19681
|
+
/**
|
19682
|
+
* Indicates the various types of descriptor operation.
|
19683
|
+
*/
|
19684
|
+
export type DescriptorOperationType = ('read' | 'write');
|
19685
|
+
|
19652
19686
|
/**
|
19653
19687
|
* Stores the manufacturer data
|
19654
19688
|
*/
|
@@ -19752,6 +19786,13 @@ export namespace Protocol {
|
|
19752
19786
|
data?: string;
|
19753
19787
|
}
|
19754
19788
|
|
19789
|
+
export interface SimulateDescriptorOperationResponseRequest {
|
19790
|
+
descriptorId: string;
|
19791
|
+
type: DescriptorOperationType;
|
19792
|
+
code: integer;
|
19793
|
+
data?: string;
|
19794
|
+
}
|
19795
|
+
|
19755
19796
|
export interface AddServiceRequest {
|
19756
19797
|
address: string;
|
19757
19798
|
serviceUuid: string;
|
@@ -19801,6 +19842,10 @@ export namespace Protocol {
|
|
19801
19842
|
descriptorId: string;
|
19802
19843
|
}
|
19803
19844
|
|
19845
|
+
export interface SimulateGATTDisconnectionRequest {
|
19846
|
+
address: string;
|
19847
|
+
}
|
19848
|
+
|
19804
19849
|
/**
|
19805
19850
|
* Event for when a GATT operation of |type| to the peripheral with |address|
|
19806
19851
|
* happened.
|
@@ -19821,6 +19866,17 @@ export namespace Protocol {
|
|
19821
19866
|
data?: string;
|
19822
19867
|
writeType?: CharacteristicWriteType;
|
19823
19868
|
}
|
19869
|
+
|
19870
|
+
/**
|
19871
|
+
* Event for when a descriptor operation of |type| to the descriptor
|
19872
|
+
* respresented by |descriptorId| happened. |data| is expected to exist when
|
19873
|
+
* |type| is write.
|
19874
|
+
*/
|
19875
|
+
export interface DescriptorOperationReceivedEvent {
|
19876
|
+
descriptorId: string;
|
19877
|
+
type: CharacteristicOperationType;
|
19878
|
+
data?: string;
|
19879
|
+
}
|
19824
19880
|
}
|
19825
19881
|
}
|
19826
19882
|
|