Skip to content

Commit cd6a169

Browse files
committed
Roll protocol to r1577676
1 parent ab28501 commit cd6a169

File tree

9 files changed

+115
-42
lines changed

9 files changed

+115
-42
lines changed

changelog.md

Lines changed: 34 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,40 @@
11

22

3+
## Roll protocol to r1577676 — _2026-01-31T04:48:29.000Z_
4+
###### Diff: [`ab28501...02b69da`](https://github.com/ChromeDevTools/devtools-protocol/compare/ab28501...02b69da)
5+
6+
```diff
7+
@@ domains/Extensions.pdl:13 @@ experimental domain Extensions
8+
local
9+
sync
10+
managed
11+
+
12+
+ # Runs an extension default action.
13+
+ # Available if the client is connected using the --remote-debugging-pipe
14+
+ # flag and the --enable-unsafe-extension-debugging flag is set.
15+
+ command triggerAction
16+
+ parameters
17+
+ # Extension id.
18+
+ string id
19+
+ # A tab target ID to trigger the default extension action on.
20+
+ string targetId
21+
+
22+
# Installs an unpacked extension from the filesystem similar to
23+
# --load-extension CLI flags. Returns extension ID once the extension
24+
# has been installed. Available if the client is connected using the
25+
@@ -22,6 +33,8 @@ experimental domain Extensions
26+
parameters
27+
# Absolute file path.
28+
string path
29+
+ # Enable the extension in incognito
30+
+ optional boolean enableInIncognito
31+
returns
32+
# Extension id.
33+
string id
34+
```
35+
336
## Roll protocol to r1575685 — _2026-01-28T04:36:08.000Z_
4-
###### Diff: [`19078ce...b721951`](https://github.com/ChromeDevTools/devtools-protocol/compare/19078ce...b721951)
37+
###### Diff: [`19078ce...ab28501`](https://github.com/ChromeDevTools/devtools-protocol/compare/19078ce...ab28501)
538

639
```diff
740
@@ browser_protocol.pdl:48 @@ include domains/PerformanceTimeline.pdl
@@ -42295,42 +42328,4 @@ index 0dbdc01d..7a3c772c 100644
4229542328

4229642329
# CSS rule representation.
4229742330
type CSSRule extends object
42298-
```
42299-
42300-
## Roll protocol to r1130274 — _2023-04-14T04:26:53.000Z_
42301-
###### Diff: [`adde591...ad86c64`](https://github.com/ChromeDevTools/devtools-protocol/compare/adde591...ad86c64)
42302-
42303-
```diff
42304-
@@ browser_protocol.pdl:775 @@ experimental domain Audits
42305-
# One of the deprecation names from third_party/blink/renderer/core/frame/deprecation/deprecation.json5
42306-
string type
42307-
42308-
+ # This issue warns about sites in the redirect chain of a finished navigation
42309-
+ # that may be flagged as trackers and have their state cleared if they don't
42310-
+ # receive a user interaction. Note that in this context 'site' means eTLD+1.
42311-
+ # For example, if the URL `https://example.test:80/bounce` was in the
42312-
+ # redirect chain, the site reported would be `example.test`.
42313-
+ type BounceTrackingIssueDetails extends object
42314-
+ properties
42315-
+ array of string trackingSites
42316-
+
42317-
type ClientHintIssueReason extends string
42318-
enum
42319-
# Items in the accept-ch meta tag allow list must be valid origins.
42320-
@@ -851,6 +860,7 @@ experimental domain Audits
42321-
DeprecationIssue
42322-
ClientHintIssue
42323-
FederatedAuthRequestIssue
42324-
+ BounceTrackingIssue
42325-
42326-
# This struct holds a list of optional fields with additional information
42327-
# specific to the kind of issue. When adding a new issue code, please also
42328-
@@ -873,6 +883,7 @@ experimental domain Audits
42329-
optional DeprecationIssueDetails deprecationIssueDetails
42330-
optional ClientHintIssueDetails clientHintIssueDetails
42331-
optional FederatedAuthRequestIssueDetails federatedAuthRequestIssueDetails
42332-
+ optional BounceTrackingIssueDetails bounceTrackingIssueDetails
42333-
42334-
# A unique id for a DevTools inspector issue. Allows other entities (e.g.
42335-
# exceptions, CDP message, console messages, etc.) to reference an issue.
4233642331
```

json/browser_protocol.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11589,6 +11589,22 @@
1158911589
}
1159011590
],
1159111591
"commands": [
11592+
{
11593+
"name": "triggerAction",
11594+
"description": "Runs an extension default action.\nAvailable if the client is connected using the --remote-debugging-pipe\nflag and the --enable-unsafe-extension-debugging flag is set.",
11595+
"parameters": [
11596+
{
11597+
"name": "id",
11598+
"description": "Extension id.",
11599+
"type": "string"
11600+
},
11601+
{
11602+
"name": "targetId",
11603+
"description": "A tab target ID to trigger the default extension action on.",
11604+
"type": "string"
11605+
}
11606+
]
11607+
},
1159211608
{
1159311609
"name": "loadUnpacked",
1159411610
"description": "Installs an unpacked extension from the filesystem similar to\n--load-extension CLI flags. Returns extension ID once the extension\nhas been installed. Available if the client is connected using the\n--remote-debugging-pipe flag and the --enable-unsafe-extension-debugging\nflag is set.",
@@ -11597,6 +11613,12 @@
1159711613
"name": "path",
1159811614
"description": "Absolute file path.",
1159911615
"type": "string"
11616+
},
11617+
{
11618+
"name": "enableInIncognito",
11619+
"description": "Enable the extension in incognito",
11620+
"optional": true,
11621+
"type": "boolean"
1160011622
}
1160111623
],
1160211624
"returns": [
@@ -26207,6 +26229,10 @@
2620726229
{
2620826230
"name": "requestId",
2620926231
"type": "string"
26232+
},
26233+
{
26234+
"name": "handle",
26235+
"type": "integer"
2621026236
}
2621126237
]
2621226238
},

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devtools-protocol",
3-
"version": "0.0.1575685",
3+
"version": "0.0.1577676",
44
"description": "The Chrome DevTools Protocol JSON",
55
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
66
"author": "The Chromium Authors",

pdl/domains/Extensions.pdl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,17 @@ experimental domain Extensions
1313
local
1414
sync
1515
managed
16+
17+
# Runs an extension default action.
18+
# Available if the client is connected using the --remote-debugging-pipe
19+
# flag and the --enable-unsafe-extension-debugging flag is set.
20+
command triggerAction
21+
parameters
22+
# Extension id.
23+
string id
24+
# A tab target ID to trigger the default extension action on.
25+
string targetId
26+
1627
# Installs an unpacked extension from the filesystem similar to
1728
# --load-extension CLI flags. Returns extension ID once the extension
1829
# has been installed. Available if the client is connected using the
@@ -22,6 +33,8 @@ experimental domain Extensions
2233
parameters
2334
# Absolute file path.
2435
string path
36+
# Enable the extension in incognito
37+
optional boolean enableInIncognito
2538
returns
2639
# Extension id.
2740
string id

types/protocol-mapping.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3598,6 +3598,15 @@ export namespace ProtocolMapping {
35983598
paramsType: [];
35993599
returnType: void;
36003600
};
3601+
/**
3602+
* Runs an extension default action.
3603+
* Available if the client is connected using the --remote-debugging-pipe
3604+
* flag and the --enable-unsafe-extension-debugging flag is set.
3605+
*/
3606+
'Extensions.triggerAction': {
3607+
paramsType: [Protocol.Extensions.TriggerActionRequest];
3608+
returnType: void;
3609+
};
36013610
/**
36023611
* Installs an unpacked extension from the filesystem similar to
36033612
* --load-extension CLI flags. Returns extension ID once the extension

types/protocol-proxy-api.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2410,6 +2410,13 @@ export namespace ProtocolProxyApi {
24102410
}
24112411

24122412
export interface ExtensionsApi {
2413+
/**
2414+
* Runs an extension default action.
2415+
* Available if the client is connected using the --remote-debugging-pipe
2416+
* flag and the --enable-unsafe-extension-debugging flag is set.
2417+
*/
2418+
triggerAction(params: Protocol.Extensions.TriggerActionRequest): Promise<void>;
2419+
24132420
/**
24142421
* Installs an unpacked extension from the filesystem similar to
24152422
* --load-extension CLI flags. Returns extension ID once the extension

types/protocol-tests-proxy-api.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2548,6 +2548,13 @@ export namespace ProtocolTestsProxyApi {
25482548
}
25492549

25502550
export interface ExtensionsApi {
2551+
/**
2552+
* Runs an extension default action.
2553+
* Available if the client is connected using the --remote-debugging-pipe
2554+
* flag and the --enable-unsafe-extension-debugging flag is set.
2555+
*/
2556+
triggerAction(params: Protocol.Extensions.TriggerActionRequest): Promise<{id: number, result: void, sessionId: string}>;
2557+
25512558
/**
25522559
* Installs an unpacked extension from the filesystem similar to
25532560
* --load-extension CLI flags. Returns extension ID once the extension

types/protocol.d.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9798,11 +9798,26 @@ export namespace Protocol {
97989798
*/
97999799
export type StorageArea = ('session' | 'local' | 'sync' | 'managed');
98009800

9801+
export interface TriggerActionRequest {
9802+
/**
9803+
* Extension id.
9804+
*/
9805+
id: string;
9806+
/**
9807+
* A tab target ID to trigger the default extension action on.
9808+
*/
9809+
targetId: string;
9810+
}
9811+
98019812
export interface LoadUnpackedRequest {
98029813
/**
98039814
* Absolute file path.
98049815
*/
98059816
path: string;
9817+
/**
9818+
* Enable the extension in incognito
9819+
*/
9820+
enableInIncognito?: boolean;
98069821
}
98079822

98089823
export interface LoadUnpackedResponse {
@@ -19165,6 +19180,7 @@ export namespace Protocol {
1916519180

1916619181
export interface ReportBeginTransactionResultRequest {
1916719182
requestId: string;
19183+
handle: integer;
1916819184
}
1916919185

1917019186
export interface ReportPlainResultRequest {

0 commit comments

Comments
 (0)