devtools-protocol 0.0.1439962 → 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
|
}
|
@@ -28140,6 +28140,57 @@
|
|
28140
28140
|
"type": "string"
|
28141
28141
|
}
|
28142
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",
|
28191
|
+
"type": "string"
|
28192
|
+
}
|
28193
|
+
]
|
28143
28194
|
}
|
28144
28195
|
],
|
28145
28196
|
"events": [
|
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
|
|
@@ -13356,6 +13362,29 @@ experimental domain BluetoothEmulation
|
|
13356
13362
|
string serviceId
|
13357
13363
|
string characteristicId
|
13358
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
|
13387
|
+
|
13359
13388
|
# Event for when a GATT operation of |type| to the peripheral with |address|
|
13360
13389
|
# happened.
|
13361
13390
|
event gattOperationReceived
|
@@ -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];
|
@@ -5342,6 +5347,24 @@ export namespace ProtocolMapping {
|
|
5342
5347
|
paramsType: [Protocol.BluetoothEmulation.RemoveCharacteristicRequest];
|
5343
5348
|
returnType: void;
|
5344
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
|
+
};
|
5345
5368
|
}
|
5346
5369
|
}
|
5347
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
|
|
@@ -4557,6 +4562,20 @@ export namespace ProtocolProxyApi {
|
|
4557
4562
|
*/
|
4558
4563
|
removeCharacteristic(params: Protocol.BluetoothEmulation.RemoveCharacteristicRequest): Promise<void>;
|
4559
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
|
+
|
4560
4579
|
/**
|
4561
4580
|
* Event for when a GATT operation of |type| to the peripheral with |address|
|
4562
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
|
|
@@ -4961,6 +4966,20 @@ export namespace ProtocolTestsProxyApi {
|
|
4961
4966
|
*/
|
4962
4967
|
removeCharacteristic(params: Protocol.BluetoothEmulation.RemoveCharacteristicRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4963
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
|
+
|
4964
4983
|
/**
|
4965
4984
|
* Event for when a GATT operation of |type| to the peripheral with |address|
|
4966
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;
|
@@ -19623,6 +19623,27 @@ export namespace Protocol {
|
|
19623
19623
|
characteristicId: string;
|
19624
19624
|
}
|
19625
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;
|
19645
|
+
}
|
19646
|
+
|
19626
19647
|
/**
|
19627
19648
|
* Event for when a GATT operation of |type| to the peripheral with |address|
|
19628
19649
|
* happened.
|