Skip to content

Commit 127acfa

Browse files
devtools-ci-autoroll-builderDevtools-frontend LUCI CQ
authored andcommitted
Roll browser-protocol
This roll requires a manual review. See http://go/reviewed-rolls for guidance. In case of failures or errors, reach out to someone from config/owner/COMMON_OWNERS. Roll created at https://cr-buildbucket.appspot.com/build/8718735599457705201 [email protected] Bug: none Change-Id: Id322d6d1af8987e8c5a1b7832c660bb1175fc3b4 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6422275 Commit-Queue: Simon Zünd <[email protected]> Bot-Commit: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com> Reviewed-by: Simon Zünd <[email protected]>
1 parent d03a01e commit 127acfa

File tree

8 files changed

+161
-15
lines changed

8 files changed

+161
-15
lines changed

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ vars = {
2424
'inspector_protocol_revision': '940abfc668be2591483f7132145593c6a047f3cf',
2525

2626
# Keeping track of the last time we rollerd the browser protocol files.
27-
'chromium_browser_protocol_revision' : '32c2d192626e2ad581e0dd726036a8c387005047',
27+
'chromium_browser_protocol_revision' : '953f32dd50f59a51ed0a953445fbcc7da7b03695',
2828

2929
'clang_format_url': 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git',
3030
'clang_format_revision': '37f6e68a107df43b7d7e044fd36a13cbae3413f2',

front_end/generated/InspectorBackendCommands.js

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/generated/protocol-mapping.d.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,6 +1312,11 @@ export namespace ProtocolMapping {
13121312
* For example, a value of '1em' is evaluated according to the computed
13131313
* 'font-size' of the element and a value 'calc(1px + 2px)' will be
13141314
* resolved to '3px'.
1315+
* If the `propertyName` was specified the `values` are resolved as if
1316+
* they were property's declaration. If a value cannot be parsed according
1317+
* to the provided property syntax, the value is parsed using combined
1318+
* syntax as if null `propertyName` was provided. If the value cannot be
1319+
* resolved even then, return the provided value without any changes.
13151320
*/
13161321
'CSS.resolveValues': {
13171322
paramsType: [Protocol.CSS.ResolveValuesRequest];
@@ -4774,6 +4779,24 @@ export namespace ProtocolMapping {
47744779
paramsType: [Protocol.BluetoothEmulation.RemoveCharacteristicRequest];
47754780
returnType: void;
47764781
};
4782+
/**
4783+
* Adds a descriptor with |descriptorUuid| to the characteristic respresented
4784+
* by |characteristicId| in the service represented by |serviceId| of the
4785+
* peripheral with |address|.
4786+
*/
4787+
'BluetoothEmulation.addDescriptor': {
4788+
paramsType: [Protocol.BluetoothEmulation.AddDescriptorRequest];
4789+
returnType: Protocol.BluetoothEmulation.AddDescriptorResponse;
4790+
};
4791+
/**
4792+
* Removes the descriptor with |descriptorId| from the characteristic
4793+
* respresented by |characteristicId| in the service represented by |serviceId|
4794+
* of the peripheral with |address|.
4795+
*/
4796+
'BluetoothEmulation.removeDescriptor': {
4797+
paramsType: [Protocol.BluetoothEmulation.RemoveDescriptorRequest];
4798+
returnType: void;
4799+
};
47774800
/**
47784801
* Continues execution until specific location is reached.
47794802
*/

front_end/generated/protocol-proxy-api.d.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,11 @@ declare namespace ProtocolProxyApi {
683683
* For example, a value of '1em' is evaluated according to the computed
684684
* 'font-size' of the element and a value 'calc(1px + 2px)' will be
685685
* resolved to '3px'.
686+
* If the `propertyName` was specified the `values` are resolved as if
687+
* they were property's declaration. If a value cannot be parsed according
688+
* to the provided property syntax, the value is parsed using combined
689+
* syntax as if null `propertyName` was provided. If the value cannot be
690+
* resolved even then, return the provided value without any changes.
686691
*/
687692
invoke_resolveValues(params: Protocol.CSS.ResolveValuesRequest): Promise<Protocol.CSS.ResolveValuesResponse>;
688693

@@ -4241,6 +4246,20 @@ declare namespace ProtocolProxyApi {
42414246
*/
42424247
invoke_removeCharacteristic(params: Protocol.BluetoothEmulation.RemoveCharacteristicRequest): Promise<Protocol.ProtocolResponseWithError>;
42434248

4249+
/**
4250+
* Adds a descriptor with |descriptorUuid| to the characteristic respresented
4251+
* by |characteristicId| in the service represented by |serviceId| of the
4252+
* peripheral with |address|.
4253+
*/
4254+
invoke_addDescriptor(params: Protocol.BluetoothEmulation.AddDescriptorRequest): Promise<Protocol.BluetoothEmulation.AddDescriptorResponse>;
4255+
4256+
/**
4257+
* Removes the descriptor with |descriptorId| from the characteristic
4258+
* respresented by |characteristicId| in the service represented by |serviceId|
4259+
* of the peripheral with |address|.
4260+
*/
4261+
invoke_removeDescriptor(params: Protocol.BluetoothEmulation.RemoveDescriptorRequest): Promise<Protocol.ProtocolResponseWithError>;
4262+
42444263
}
42454264
export interface BluetoothEmulationDispatcher {
42464265
/**

front_end/generated/protocol.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,6 +1275,7 @@ export namespace Audits {
12751275
TypeNotMatching = 'TypeNotMatching',
12761276
UiDismissedNoEmbargo = 'UiDismissedNoEmbargo',
12771277
CorsError = 'CorsError',
1278+
SuppressedBySegmentationPlatform = 'SuppressedBySegmentationPlatform',
12781279
}
12791280

12801281
export interface FederatedAuthUserInfoRequestIssueDetails {
@@ -18447,6 +18448,27 @@ export namespace BluetoothEmulation {
1844718448
characteristicId: string;
1844818449
}
1844918450

18451+
export interface AddDescriptorRequest {
18452+
address: string;
18453+
serviceId: string;
18454+
characteristicId: string;
18455+
descriptorUuid: string;
18456+
}
18457+
18458+
export interface AddDescriptorResponse extends ProtocolResponseWithError {
18459+
/**
18460+
* An identifier that uniquely represents this descriptor.
18461+
*/
18462+
descriptorId: string;
18463+
}
18464+
18465+
export interface RemoveDescriptorRequest {
18466+
address: string;
18467+
serviceId: string;
18468+
characteristicId: string;
18469+
descriptorId: string;
18470+
}
18471+
1845018472
/**
1845118473
* Event for when a GATT operation of |type| to the peripheral with |address|
1845218474
* happened.

front_end/models/javascript_metadata/NativeFunctions.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3824,7 +3824,7 @@ export const NativeFunctions = [
38243824
{
38253825
name: "removeItem",
38263826
signatures: [["index"]],
3827-
receivers: ["SVGLengthList","SVGNumberList","SVGPointList","SVGStringList","SVGTransformList"]
3827+
receivers: ["SVGLengthList","SVGNumberList","SVGPointList","SVGStringList","SVGTransformList","SpeechRecognitionPhraseList"]
38283828
},
38293829
{
38303830
name: "removeItem",
@@ -8513,6 +8513,10 @@ export const NativeFunctions = [
85138513
name: "SpeechRecognitionEvent",
85148514
signatures: [["type","?initDict"]]
85158515
},
8516+
{
8517+
name: "SpeechRecognitionPhraseList",
8518+
signatures: [["phrases"]]
8519+
},
85168520
{
85178521
name: "addItem",
85188522
signatures: [["item"]]
@@ -8521,10 +8525,6 @@ export const NativeFunctions = [
85218525
name: "SpeechRecognitionPhrase",
85228526
signatures: [["phrase","?boost"]]
85238527
},
8524-
{
8525-
name: "updateContext",
8526-
signatures: [["context"]]
8527-
},
85288528
{
85298529
name: "availableOnDevice",
85308530
signatures: [["lang"]]

third_party/blink/public/devtools_protocol/browser_protocol.json

Lines changed: 55 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1875,7 +1875,8 @@
18751875
"RelyingPartyOriginIsOpaque",
18761876
"TypeNotMatching",
18771877
"UiDismissedNoEmbargo",
1878-
"CorsError"
1878+
"CorsError",
1879+
"SuppressedBySegmentationPlatform"
18791880
]
18801881
},
18811882
{
@@ -5046,7 +5047,8 @@
50465047
},
50475048
{
50485049
"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,
50505052
"parameters": [
50515053
{
50525054
"name": "values",
@@ -5070,14 +5072,12 @@
50705072
{
50715073
"name": "pseudoType",
50725074
"description": "Pseudo element type, only works for pseudo elements that generate\nelements in the tree, such as ::before and ::after.",
5073-
"experimental": true,
50745075
"optional": true,
50755076
"$ref": "DOM.PseudoType"
50765077
},
50775078
{
50785079
"name": "pseudoIdentifier",
50795080
"description": "Pseudo element custom ident.",
5080-
"experimental": true,
50815081
"optional": true,
50825082
"type": "string"
50835083
}
@@ -28140,6 +28140,57 @@
2814028140
"type": "string"
2814128141
}
2814228142
]
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+
]
2814328194
}
2814428195
],
2814528196
"events": [

third_party/blink/public/devtools_protocol/browser_protocol.pdl

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,7 @@ experimental domain Audits
983983
TypeNotMatching
984984
UiDismissedNoEmbargo
985985
CorsError
986+
SuppressedBySegmentationPlatform
986987

987988
type FederatedAuthUserInfoRequestIssueDetails extends object
988989
properties
@@ -2436,7 +2437,12 @@ experimental domain CSS
24362437
# For example, a value of '1em' is evaluated according to the computed
24372438
# 'font-size' of the element and a value 'calc(1px + 2px)' will be
24382439
# resolved to '3px'.
2439-
command resolveValues
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
24402446
parameters
24412447
# Substitution functions (var()/env()/attr()) and cascade-dependent
24422448
# keywords (revert/revert-layer) do not work.
@@ -2447,9 +2453,9 @@ experimental domain CSS
24472453
optional string propertyName
24482454
# Pseudo element type, only works for pseudo elements that generate
24492455
# elements in the tree, such as ::before and ::after.
2450-
experimental optional DOM.PseudoType pseudoType
2456+
optional DOM.PseudoType pseudoType
24512457
# Pseudo element custom ident.
2452-
experimental optional string pseudoIdentifier
2458+
optional string pseudoIdentifier
24532459
returns
24542460
array of string results
24552461

@@ -13356,6 +13362,29 @@ experimental domain BluetoothEmulation
1335613362
string serviceId
1335713363
string characteristicId
1335813364

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+
1335913388
# Event for when a GATT operation of |type| to the peripheral with |address|
1336013389
# happened.
1336113390
event gattOperationReceived

0 commit comments

Comments
 (0)