Skip to content

Commit f7ffadd

Browse files
AlinaVarkkiDevtools-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/8701669400227174817 [email protected] Bug: none Change-Id: Id46012f5da0dbbe15eef3c9a2f49a9eded4a1565 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/7016987 Reviewed-by: Danil Somsikov <[email protected]> Commit-Queue: Alina Varkki <[email protected]> Reviewed-by: Alina Varkki <[email protected]> Owners-Override: Alina Varkki <[email protected]>
1 parent 16da0fb commit f7ffadd

File tree

15 files changed

+45
-76
lines changed

15 files changed

+45
-76
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': '679b33a98ae546ff521eee2ea28d8d5bf28872ba',
2525

2626
# Keeping track of the last time we rolled the browser protocol files.
27-
'chromium_browser_protocol_revision' : '21c0e9d79181fd991f782bb74b0eb1c8bce10209',
27+
'chromium_browser_protocol_revision' : '871199b5845026663e1efbe7e1dcc69c6ec1dfb7',
2828

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

front_end/core/sdk/PreloadingModel.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,8 @@ class PreloadingAttemptRegistry {
626626
return 0;
627627
case Protocol.Preload.SpeculationAction.Prerender:
628628
return 1;
629+
case Protocol.Preload.SpeculationAction.PrerenderUntilScript:
630+
return 2;
629631
}
630632
}
631633

@@ -736,6 +738,7 @@ class PreloadingAttemptRegistry {
736738
};
737739
break;
738740
case Protocol.Preload.SpeculationAction.Prerender:
741+
case Protocol.Preload.SpeculationAction.PrerenderUntilScript:
739742
attempt = {
740743
action: Protocol.Preload.SpeculationAction.Prerender,
741744
key,

front_end/generated/InspectorBackendCommands.js

Lines changed: 4 additions & 4 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: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,6 @@ export const generatedProperties = [
733733
"text-wrap-mode",
734734
"text-wrap-style",
735735
"timeline-scope",
736-
"timeline-trigger-behavior",
737736
"timeline-trigger-exit-range-end",
738737
"timeline-trigger-exit-range-start",
739738
"timeline-trigger-name",
@@ -4432,23 +4431,13 @@ export const generatedProperties = [
44324431
"longhands": [
44334432
"timeline-trigger-name",
44344433
"timeline-trigger-source",
4435-
"timeline-trigger-behavior",
44364434
"timeline-trigger-range-start",
44374435
"timeline-trigger-range-end",
44384436
"timeline-trigger-exit-range-start",
44394437
"timeline-trigger-exit-range-end"
44404438
],
44414439
"name": "timeline-trigger"
44424440
},
4443-
{
4444-
"keywords": [
4445-
"once",
4446-
"repeat",
4447-
"alternate",
4448-
"state"
4449-
],
4450-
"name": "timeline-trigger-behavior"
4451-
},
44524441
{
44534442
"name": "timeline-trigger-exit-range-end"
44544443
},
@@ -6846,14 +6835,6 @@ export const generatedPropertyValues = {
68466835
"stable"
68476836
]
68486837
},
6849-
"timeline-trigger-behavior": {
6850-
"values": [
6851-
"once",
6852-
"repeat",
6853-
"alternate",
6854-
"state"
6855-
]
6856-
},
68576838
"timeline-trigger-source": {
68586839
"values": [
68596840
"none",

front_end/generated/protocol-mapping.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ export namespace ProtocolMapping {
12311231
returnType: void;
12321232
};
12331233
/**
1234-
* Set permission settings for given requesting and embedding origins.
1234+
* Set permission settings for given embedding and embedded origins.
12351235
*/
12361236
'Browser.setPermission': {
12371237
paramsType: [Protocol.Browser.SetPermissionRequest];

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ declare namespace ProtocolProxyApi {
591591

592592
export interface BrowserApi {
593593
/**
594-
* Set permission settings for given requesting and embedding origins.
594+
* Set permission settings for given embedding and embedded origins.
595595
*/
596596
invoke_setPermission(params: Protocol.Browser.SetPermissionRequest): Promise<Protocol.ProtocolResponseWithError>;
597597

front_end/generated/protocol.ts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2289,15 +2289,15 @@ export namespace Browser {
22892289
*/
22902290
setting: PermissionSetting;
22912291
/**
2292-
* Requesting origin the permission applies to, all origins if not specified.
2292+
* Embedding origin the permission applies to, all origins if not specified.
22932293
*/
22942294
origin?: string;
22952295
/**
2296-
* Embedding origin the permission applies to. It is ignored unless the requesting origin is
2297-
* present and valid. If the requesting origin is provided but the embedding origin isn't, the
2298-
* requesting origin is used as the embedding origin.
2296+
* Embedded origin the permission applies to. It is ignored unless the embedding origin is
2297+
* present and valid. If the embedding origin is provided but the embedded origin isn't, the
2298+
* embedding origin is used as the embedded origin.
22992299
*/
2300-
embeddingOrigin?: string;
2300+
embeddedOrigin?: string;
23012301
/**
23022302
* Context to override. When omitted, default browser context is used.
23032303
*/
@@ -11012,8 +11012,8 @@ export namespace Network {
1101211012
export interface NetworkConditions {
1101311013
/**
1101411014
* Only matching requests will be affected by these conditions. Patterns use the URLPattern constructor string
11015-
* syntax (https://urlpattern.spec.whatwg.org/). If the pattern is empty, all requests are matched (including p2p
11016-
* connections).
11015+
* syntax (https://urlpattern.spec.whatwg.org/) and must be absolute. If the pattern is empty, all requests are
11016+
* matched (including p2p connections).
1101711017
*/
1101811018
urlPattern: string;
1101911019
/**
@@ -11608,7 +11608,7 @@ export namespace Network {
1160811608
export interface SetBlockedURLsRequest {
1160911609
/**
1161011610
* URL patterns to block. Patterns use the URLPattern constructor string syntax
11611-
* (https://urlpattern.spec.whatwg.org/). Example: `*://*:*\/*.css`.
11611+
* (https://urlpattern.spec.whatwg.org/) and must be absolute. Example: `*://*:*\/*.css`.
1161211612
*/
1161311613
urlPatterns?: string[];
1161411614
/**
@@ -16126,6 +16126,7 @@ export namespace Preload {
1612616126
export const enum SpeculationAction {
1612716127
Prefetch = 'Prefetch',
1612816128
Prerender = 'Prerender',
16129+
PrerenderUntilScript = 'PrerenderUntilScript',
1612916130
}
1613016131

1613116132
/**

front_end/models/javascript_metadata/NativeFunctions.js

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ export const NativeFunctions = [
986986
{
987987
name: "from",
988988
signatures: [["value"]],
989-
receivers: ["Observable"]
989+
receivers: ["Observable","Origin"]
990990
},
991991
{
992992
name: "drawArraysInstancedANGLE",
@@ -5356,19 +5356,14 @@ export const NativeFunctions = [
53565356
},
53575357
{
53585358
name: "createImageBitmap",
5359-
signatures: [["image","?options"],["image","sx","sy","sw","sh","?options"]],
5359+
signatures: [["image","?options"],["imageBitmap","?options"],["image","sx","sy","sw","sh","?options"],["imageBitmap","sx","sy","sw","sh","?options"]],
53605360
receivers: ["Window","WorkerGlobalScope"]
53615361
},
53625362
{
53635363
name: "createImageBitmap",
5364-
signatures: [["image","?options"],["imageBitmap","?options"],["image","sx","sy","sw","sh","?options"],["imageBitmap","sx","sy","sw","sh","?options"]],
5364+
signatures: [["image","?options"],["image","sx","sy","sw","sh","?options"]],
53655365
receivers: ["Window"]
53665366
},
5367-
{
5368-
name: "createImageBitmap",
5369-
signatures: [["imageBitmap","?options"],["imageBitmap","sx","sy","sw","sh","?options"]],
5370-
receivers: ["WorkerGlobalScope"]
5371-
},
53725367
{
53735368
name: "fetch",
53745369
signatures: [["input","?init"]],

front_end/panels/application/preloading/components/PreloadingString.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,8 @@ export function capitalizedAction(action: Protocol.Preload.SpeculationAction): C
736736
return i18n.i18n.lockedString('Prefetch');
737737
case Protocol.Preload.SpeculationAction.Prerender:
738738
return i18n.i18n.lockedString('Prerender');
739+
case Protocol.Preload.SpeculationAction.PrerenderUntilScript:
740+
return i18n.i18n.lockedString('PrerenderUntilScript');
739741
}
740742
}
741743

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: 21c0e9d79181fd991f782bb74b0eb1c8bce10209
4+
Revision: 871199b5845026663e1efbe7e1dcc69c6ec1dfb7
55
Update Mechanism: Manual (https://crbug.com/428069060)
66
License: BSD-3-Clause
77
License File: LICENSE

0 commit comments

Comments
 (0)