devtools-protocol 0.0.1439962 → 0.0.1441961
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
|
}
|
@@ -24629,6 +24629,13 @@
|
|
24629
24629
|
"experimental": true,
|
24630
24630
|
"optional": true,
|
24631
24631
|
"type": "boolean"
|
24632
|
+
},
|
24633
|
+
{
|
24634
|
+
"name": "hidden",
|
24635
|
+
"description": "Whether to create a hidden target. The hidden target is observable via protocol, but not\npresent in the tab UI strip. Cannot be created with `forTab: true`, `newWindow: true` or\n`background: false`. The life-time of the tab is limited to the life-time of the session.",
|
24636
|
+
"experimental": true,
|
24637
|
+
"optional": true,
|
24638
|
+
"type": "boolean"
|
24632
24639
|
}
|
24633
24640
|
],
|
24634
24641
|
"returns": [
|
@@ -28140,6 +28147,57 @@
|
|
28140
28147
|
"type": "string"
|
28141
28148
|
}
|
28142
28149
|
]
|
28150
|
+
},
|
28151
|
+
{
|
28152
|
+
"name": "addDescriptor",
|
28153
|
+
"description": "Adds a descriptor with |descriptorUuid| to the characteristic respresented\nby |characteristicId| in the service represented by |serviceId| of the\nperipheral with |address|.",
|
28154
|
+
"parameters": [
|
28155
|
+
{
|
28156
|
+
"name": "address",
|
28157
|
+
"type": "string"
|
28158
|
+
},
|
28159
|
+
{
|
28160
|
+
"name": "serviceId",
|
28161
|
+
"type": "string"
|
28162
|
+
},
|
28163
|
+
{
|
28164
|
+
"name": "characteristicId",
|
28165
|
+
"type": "string"
|
28166
|
+
},
|
28167
|
+
{
|
28168
|
+
"name": "descriptorUuid",
|
28169
|
+
"type": "string"
|
28170
|
+
}
|
28171
|
+
],
|
28172
|
+
"returns": [
|
28173
|
+
{
|
28174
|
+
"name": "descriptorId",
|
28175
|
+
"description": "An identifier that uniquely represents this descriptor.",
|
28176
|
+
"type": "string"
|
28177
|
+
}
|
28178
|
+
]
|
28179
|
+
},
|
28180
|
+
{
|
28181
|
+
"name": "removeDescriptor",
|
28182
|
+
"description": "Removes the descriptor with |descriptorId| from the characteristic\nrespresented by |characteristicId| in the service represented by |serviceId|\nof the peripheral with |address|.",
|
28183
|
+
"parameters": [
|
28184
|
+
{
|
28185
|
+
"name": "address",
|
28186
|
+
"type": "string"
|
28187
|
+
},
|
28188
|
+
{
|
28189
|
+
"name": "serviceId",
|
28190
|
+
"type": "string"
|
28191
|
+
},
|
28192
|
+
{
|
28193
|
+
"name": "characteristicId",
|
28194
|
+
"type": "string"
|
28195
|
+
},
|
28196
|
+
{
|
28197
|
+
"name": "descriptorId",
|
28198
|
+
"type": "string"
|
28199
|
+
}
|
28200
|
+
]
|
28143
28201
|
}
|
28144
28202
|
],
|
28145
28203
|
"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
|
|
@@ -11585,6 +11591,10 @@ domain Target
|
|
11585
11591
|
optional boolean background
|
11586
11592
|
# Whether to create the target of type "tab".
|
11587
11593
|
experimental optional boolean forTab
|
11594
|
+
# Whether to create a hidden target. The hidden target is observable via protocol, but not
|
11595
|
+
# present in the tab UI strip. Cannot be created with `forTab: true`, `newWindow: true` or
|
11596
|
+
# `background: false`. The life-time of the tab is limited to the life-time of the session.
|
11597
|
+
experimental optional boolean hidden
|
11588
11598
|
returns
|
11589
11599
|
# The id of the page opened.
|
11590
11600
|
TargetID targetId
|
@@ -13356,6 +13366,29 @@ experimental domain BluetoothEmulation
|
|
13356
13366
|
string serviceId
|
13357
13367
|
string characteristicId
|
13358
13368
|
|
13369
|
+
# Adds a descriptor with |descriptorUuid| to the characteristic respresented
|
13370
|
+
# by |characteristicId| in the service represented by |serviceId| of the
|
13371
|
+
# peripheral with |address|.
|
13372
|
+
command addDescriptor
|
13373
|
+
parameters
|
13374
|
+
string address
|
13375
|
+
string serviceId
|
13376
|
+
string characteristicId
|
13377
|
+
string descriptorUuid
|
13378
|
+
returns
|
13379
|
+
# An identifier that uniquely represents this descriptor.
|
13380
|
+
string descriptorId
|
13381
|
+
|
13382
|
+
# Removes the descriptor with |descriptorId| from the characteristic
|
13383
|
+
# respresented by |characteristicId| in the service represented by |serviceId|
|
13384
|
+
# of the peripheral with |address|.
|
13385
|
+
command removeDescriptor
|
13386
|
+
parameters
|
13387
|
+
string address
|
13388
|
+
string serviceId
|
13389
|
+
string characteristicId
|
13390
|
+
string descriptorId
|
13391
|
+
|
13359
13392
|
# Event for when a GATT operation of |type| to the peripheral with |address|
|
13360
13393
|
# happened.
|
13361
13394
|
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;
|
@@ -17622,6 +17622,12 @@ export namespace Protocol {
|
|
17622
17622
|
* Whether to create the target of type "tab".
|
17623
17623
|
*/
|
17624
17624
|
forTab?: boolean;
|
17625
|
+
/**
|
17626
|
+
* Whether to create a hidden target. The hidden target is observable via protocol, but not
|
17627
|
+
* present in the tab UI strip. Cannot be created with `forTab: true`, `newWindow: true` or
|
17628
|
+
* `background: false`. The life-time of the tab is limited to the life-time of the session.
|
17629
|
+
*/
|
17630
|
+
hidden?: boolean;
|
17625
17631
|
}
|
17626
17632
|
|
17627
17633
|
export interface CreateTargetResponse {
|
@@ -19623,6 +19629,27 @@ export namespace Protocol {
|
|
19623
19629
|
characteristicId: string;
|
19624
19630
|
}
|
19625
19631
|
|
19632
|
+
export interface AddDescriptorRequest {
|
19633
|
+
address: string;
|
19634
|
+
serviceId: string;
|
19635
|
+
characteristicId: string;
|
19636
|
+
descriptorUuid: string;
|
19637
|
+
}
|
19638
|
+
|
19639
|
+
export interface AddDescriptorResponse {
|
19640
|
+
/**
|
19641
|
+
* An identifier that uniquely represents this descriptor.
|
19642
|
+
*/
|
19643
|
+
descriptorId: string;
|
19644
|
+
}
|
19645
|
+
|
19646
|
+
export interface RemoveDescriptorRequest {
|
19647
|
+
address: string;
|
19648
|
+
serviceId: string;
|
19649
|
+
characteristicId: string;
|
19650
|
+
descriptorId: string;
|
19651
|
+
}
|
19652
|
+
|
19626
19653
|
/**
|
19627
19654
|
* Event for when a GATT operation of |type| to the peripheral with |address|
|
19628
19655
|
* happened.
|