Skip to content

Commit c16c0e7

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/8703300142281739105 [email protected] Bug: none Change-Id: I9936d23f683a5b5c3fbf2f6e22ffbbaea0c2321e Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6966692 Commit-Queue: Nikolay Vitkov <[email protected]> Reviewed-by: Nikolay Vitkov <[email protected]> Bot-Commit: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
1 parent 6fd1ef5 commit c16c0e7

File tree

14 files changed

+437
-40
lines changed

14 files changed

+437
-40
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': '1ac1ec6d0c61c081cc73793e491b987beecccde1',
2525

2626
# Keeping track of the last time we rolled the browser protocol files.
27-
'chromium_browser_protocol_revision' : 'a53252f55270b0a53536cabc8402ef6457ee9ab9',
27+
'chromium_browser_protocol_revision' : '4f6641ccf734dca86f4994f2eb09775a34d441b1',
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: 11 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/generated/SupportedCSSProperties.js

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ export const generatedProperties = [
473473
"font-family",
474474
"font-feature-settings",
475475
"font-kerning",
476+
"font-language-override",
476477
"font-optical-sizing",
477478
"font-palette",
478479
"font-size",
@@ -517,8 +518,8 @@ export const generatedProperties = [
517518
"inset-block-start",
518519
"inset-inline-end",
519520
"inset-inline-start",
520-
"interest-hide-delay",
521-
"interest-show-delay",
521+
"interest-delay-end",
522+
"interest-delay-start",
522523
"interpolate-size",
523524
"isolation",
524525
"item-tolerance",
@@ -2264,7 +2265,8 @@ export const generatedProperties = [
22642265
"font-size-adjust",
22652266
"font-kerning",
22662267
"font-feature-settings",
2267-
"font-variation-settings"
2268+
"font-variation-settings",
2269+
"font-language-override"
22682270
],
22692271
"name": "font"
22702272
},
@@ -2291,6 +2293,13 @@ export const generatedProperties = [
22912293
],
22922294
"name": "font-kerning"
22932295
},
2296+
{
2297+
"inherited": true,
2298+
"keywords": [
2299+
"normal"
2300+
],
2301+
"name": "font-language-override"
2302+
},
22942303
{
22952304
"inherited": true,
22962305
"keywords": [
@@ -2752,16 +2761,16 @@ export const generatedProperties = [
27522761
},
27532762
{
27542763
"longhands": [
2755-
"interest-show-delay",
2756-
"interest-hide-delay"
2764+
"interest-delay-start",
2765+
"interest-delay-end"
27572766
],
27582767
"name": "interest-delay"
27592768
},
27602769
{
2761-
"name": "interest-hide-delay"
2770+
"name": "interest-delay-end"
27622771
},
27632772
{
2764-
"name": "interest-show-delay"
2773+
"name": "interest-delay-start"
27652774
},
27662775
{
27672776
"inherited": true,
@@ -5660,6 +5669,11 @@ export const generatedPropertyValues = {
56605669
"none"
56615670
]
56625671
},
5672+
"font-language-override": {
5673+
"values": [
5674+
"normal"
5675+
]
5676+
},
56635677
"font-optical-sizing": {
56645678
"values": [
56655679
"auto",

front_end/generated/protocol-mapping.d.ts

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3340,12 +3340,27 @@ export namespace ProtocolMapping {
33403340
returnType: void;
33413341
};
33423342
/**
3343-
* Activates emulation of network conditions.
3343+
* Activates emulation of network conditions. This command is deprecated in favor of the emulateNetworkConditionsByRule
3344+
* and overrideNetworkState commands, which can be used together to the same effect.
33443345
*/
33453346
'Network.emulateNetworkConditions': {
33463347
paramsType: [Protocol.Network.EmulateNetworkConditionsRequest];
33473348
returnType: void;
33483349
};
3350+
/**
3351+
* Activates emulation of network conditions for individual requests using URL match patterns.
3352+
*/
3353+
'Network.emulateNetworkConditionsByRule': {
3354+
paramsType: [Protocol.Network.EmulateNetworkConditionsByRuleRequest];
3355+
returnType: Protocol.Network.EmulateNetworkConditionsByRuleResponse;
3356+
};
3357+
/**
3358+
* Override the state of navigator.onLine and navigator.connection.
3359+
*/
3360+
'Network.overrideNetworkState': {
3361+
paramsType: [Protocol.Network.OverrideNetworkStateRequest];
3362+
returnType: void;
3363+
};
33493364
/**
33503365
* Enables network tracking, network events will now be delivered to the client.
33513366
*/
@@ -4265,6 +4280,19 @@ export namespace ProtocolMapping {
42654280
paramsType: [Protocol.Page.SetPrerenderingAllowedRequest];
42664281
returnType: void;
42674282
};
4283+
/**
4284+
* Enable/disable prewarming triggers manually.
4285+
*
4286+
* This command manages DSE Prewarming triggers. While a client is connected,
4287+
* prewarming triggers are disabled by default. This command can change this
4288+
* default behavior to allow the triggers, or to disallow them again.
4289+
* See https://chromestatus.com/feature/6266608741908480 for more details on
4290+
* the DSE Prewarming feature.
4291+
*/
4292+
'Page.setPrewarmingAllowed': {
4293+
paramsType: [Protocol.Page.SetPrewarmingAllowedRequest];
4294+
returnType: void;
4295+
};
42684296
/**
42694297
* Disable collecting and reporting metrics.
42704298
*/

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

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2514,10 +2514,22 @@ declare namespace ProtocolProxyApi {
25142514
invoke_disable(): Promise<Protocol.ProtocolResponseWithError>;
25152515

25162516
/**
2517-
* Activates emulation of network conditions.
2517+
* Activates emulation of network conditions. This command is deprecated in favor of the emulateNetworkConditionsByRule
2518+
* and overrideNetworkState commands, which can be used together to the same effect.
2519+
* @deprecated
25182520
*/
25192521
invoke_emulateNetworkConditions(params: Protocol.Network.EmulateNetworkConditionsRequest): Promise<Protocol.ProtocolResponseWithError>;
25202522

2523+
/**
2524+
* Activates emulation of network conditions for individual requests using URL match patterns.
2525+
*/
2526+
invoke_emulateNetworkConditionsByRule(params: Protocol.Network.EmulateNetworkConditionsByRuleRequest): Promise<Protocol.Network.EmulateNetworkConditionsByRuleResponse>;
2527+
2528+
/**
2529+
* Override the state of navigator.onLine and navigator.connection.
2530+
*/
2531+
invoke_overrideNetworkState(params: Protocol.Network.OverrideNetworkStateRequest): Promise<Protocol.ProtocolResponseWithError>;
2532+
25212533
/**
25222534
* Enables network tracking, network events will now be delivered to the client.
25232535
*/
@@ -3480,6 +3492,17 @@ declare namespace ProtocolProxyApi {
34803492
*/
34813493
invoke_setPrerenderingAllowed(params: Protocol.Page.SetPrerenderingAllowedRequest): Promise<Protocol.ProtocolResponseWithError>;
34823494

3495+
/**
3496+
* Enable/disable prewarming triggers manually.
3497+
*
3498+
* This command manages DSE Prewarming triggers. While a client is connected,
3499+
* prewarming triggers are disabled by default. This command can change this
3500+
* default behavior to allow the triggers, or to disallow them again.
3501+
* See https://chromestatus.com/feature/6266608741908480 for more details on
3502+
* the DSE Prewarming feature.
3503+
*/
3504+
invoke_setPrewarmingAllowed(params: Protocol.Page.SetPrewarmingAllowedRequest): Promise<Protocol.ProtocolResponseWithError>;
3505+
34833506
}
34843507
export interface PageDispatcher {
34853508
domContentEventFired(params: Protocol.Page.DomContentEventFiredEvent): void;

front_end/generated/protocol.ts

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,8 +1082,10 @@ export namespace Audits {
10821082
WriteErrorInsufficientResources = 'WriteErrorInsufficientResources',
10831083
WriteErrorInvalidMatchField = 'WriteErrorInvalidMatchField',
10841084
WriteErrorInvalidStructuredHeader = 'WriteErrorInvalidStructuredHeader',
1085+
WriteErrorInvalidTTLField = 'WriteErrorInvalidTTLField',
10851086
WriteErrorNavigationRequest = 'WriteErrorNavigationRequest',
10861087
WriteErrorNoMatchField = 'WriteErrorNoMatchField',
1088+
WriteErrorNonIntegerTTLField = 'WriteErrorNonIntegerTTLField',
10871089
WriteErrorNonListMatchDestField = 'WriteErrorNonListMatchDestField',
10881090
WriteErrorNonSecureContext = 'WriteErrorNonSecureContext',
10891091
WriteErrorNonStringIdField = 'WriteErrorNonStringIdField',
@@ -9962,6 +9964,10 @@ export namespace Network {
99629964
* request corresponding to the main frame.
99639965
*/
99649966
isSameSite?: boolean;
9967+
/**
9968+
* True when the resource request is ad-related.
9969+
*/
9970+
isAdRelated?: boolean;
99659971
}
99669972

99679973
/**
@@ -10999,6 +11005,43 @@ export namespace Network {
1099911005
Zstd = 'zstd',
1100011006
}
1100111007

11008+
export interface NetworkConditions {
11009+
/**
11010+
* Only matching requests will be affected by these conditions. Patterns use the URLPattern constructor string
11011+
* syntax (https://urlpattern.spec.whatwg.org/). If the pattern is empty, all requests are matched (including p2p
11012+
* connections).
11013+
*/
11014+
urlPattern: string;
11015+
/**
11016+
* Minimum latency from request sent to response headers received (ms).
11017+
*/
11018+
latency: number;
11019+
/**
11020+
* Maximal aggregated download throughput (bytes/sec). -1 disables download throttling.
11021+
*/
11022+
downloadThroughput: number;
11023+
/**
11024+
* Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling.
11025+
*/
11026+
uploadThroughput: number;
11027+
/**
11028+
* Connection type if known.
11029+
*/
11030+
connectionType?: ConnectionType;
11031+
/**
11032+
* WebRTC packet loss (percent, 0-100). 0 disables packet loss emulation, 100 drops all the packets.
11033+
*/
11034+
packetLoss?: number;
11035+
/**
11036+
* WebRTC packet queue length (packet). 0 removes any queue length limitations.
11037+
*/
11038+
packetQueueLength?: integer;
11039+
/**
11040+
* WebRTC packetReordering feature.
11041+
*/
11042+
packetReordering?: boolean;
11043+
}
11044+
1100211045
export const enum DirectSocketDnsQueryType {
1100311046
Ipv4 = 'ipv4',
1100411047
Ipv6 = 'ipv6',
@@ -11364,6 +11407,50 @@ export namespace Network {
1136411407
packetReordering?: boolean;
1136511408
}
1136611409

11410+
export interface EmulateNetworkConditionsByRuleRequest {
11411+
/**
11412+
* True to emulate internet disconnection.
11413+
*/
11414+
offline: boolean;
11415+
/**
11416+
* Configure conditions for matching requests. If multiple entries match a request, the first entry wins. Global
11417+
* conditions can be configured by leaving the urlPattern for the conditions empty. These global conditions are
11418+
* also applied for throttling of p2p connections.
11419+
*/
11420+
matchedNetworkConditions: NetworkConditions[];
11421+
}
11422+
11423+
export interface EmulateNetworkConditionsByRuleResponse extends ProtocolResponseWithError {
11424+
/**
11425+
* An id for each entry in matchedNetworkConditions. The id will be included in the requestWillBeSentExtraInfo for
11426+
* requests affected by a rule.
11427+
*/
11428+
ruleIds: string[];
11429+
}
11430+
11431+
export interface OverrideNetworkStateRequest {
11432+
/**
11433+
* True to emulate internet disconnection.
11434+
*/
11435+
offline: boolean;
11436+
/**
11437+
* Minimum latency from request sent to response headers received (ms).
11438+
*/
11439+
latency: number;
11440+
/**
11441+
* Maximal aggregated download throughput (bytes/sec). -1 disables download throttling.
11442+
*/
11443+
downloadThroughput: number;
11444+
/**
11445+
* Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling.
11446+
*/
11447+
uploadThroughput: number;
11448+
/**
11449+
* Connection type if known.
11450+
*/
11451+
connectionType?: ConnectionType;
11452+
}
11453+
1136711454
export interface EnableRequest {
1136811455
/**
1136911456
* Buffer size in bytes to use when preserving network payloads (XHRs, etc).
@@ -12358,6 +12445,11 @@ export namespace Network {
1235812445
* Whether the site has partitioned cookies stored in a partition different than the current one.
1235912446
*/
1236012447
siteHasCookieInOtherPartition?: boolean;
12448+
/**
12449+
* The network conditions id if this request was affected by network conditions configured via
12450+
* emulateNetworkConditionsByRule.
12451+
*/
12452+
appliedNetworkConditionsId?: string;
1236112453
}
1236212454

1236312455
/**
@@ -15350,6 +15442,10 @@ export namespace Page {
1535015442
isAllowed: boolean;
1535115443
}
1535215444

15445+
export interface SetPrewarmingAllowedRequest {
15446+
isAllowed: boolean;
15447+
}
15448+
1535315449
export interface DomContentEventFiredEvent {
1535415450
timestamp: Network.MonotonicTime;
1535515451
}
@@ -20896,6 +20992,7 @@ export namespace Runtime {
2089620992
Dataview = 'dataview',
2089720993
Webassemblymemory = 'webassemblymemory',
2089820994
Wasmvalue = 'wasmvalue',
20995+
Trustedtype = 'trustedtype',
2089920996
}
2090020997

2090120998
/**
@@ -20989,6 +21086,7 @@ export namespace Runtime {
2098921086
Dataview = 'dataview',
2099021087
Webassemblymemory = 'webassemblymemory',
2099121088
Wasmvalue = 'wasmvalue',
21089+
Trustedtype = 'trustedtype',
2099221090
}
2099321091

2099421092
/**
@@ -21053,6 +21151,7 @@ export namespace Runtime {
2105321151
Dataview = 'dataview',
2105421152
Webassemblymemory = 'webassemblymemory',
2105521153
Wasmvalue = 'wasmvalue',
21154+
Trustedtype = 'trustedtype',
2105621155
}
2105721156

2105821157
export interface PropertyPreview {

front_end/models/javascript_metadata/NativeFunctions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8470,7 +8470,7 @@ export const NativeFunctions = [
84708470
},
84718471
{
84728472
name: "submitPrintJob",
8473-
signatures: [["job_name","document","attributes"]]
8473+
signatures: [["job_name","document_data","attributes"]]
84748474
},
84758475
{
84768476
name: "PushEvent",

front_end/third_party/chromium/README.chromium

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Name: Dependencies sourced from the upstream `chromium` repository
22
URL: https://source.chromium.org/chromium/chromium/src/+/main:components/variations/proto/devtools/
33
Version: N/A
4-
Revision: a53252f55270b0a53536cabc8402ef6457ee9ab9
4+
Revision: 4f6641ccf734dca86f4994f2eb09775a34d441b1
55
Update Mechanism: Manual (https://crbug.com/428069060)
66
License: BSD-3-Clause
77
License File: LICENSE

0 commit comments

Comments
 (0)