Skip to content

Commit 1abe750

Browse files
committed
Roll protocol to r1604597
1 parent 94a770f commit 1abe750

10 files changed

Lines changed: 160 additions & 26 deletions

changelog.md

Lines changed: 41 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,47 @@
11

22

3+
## Roll protocol to r1604597 — _2026-03-25T05:02:28.000Z_
4+
###### Diff: [`94a770f...405b454`](https://github.com/ChromeDevTools/devtools-protocol/compare/94a770f...405b454)
5+
6+
```diff
7+
@@ browser_protocol.pdl:18 @@ include domains/Browser.pdl
8+
include domains/CSS.pdl
9+
include domains/CacheStorage.pdl
10+
include domains/Cast.pdl
11+
+include domains/CrashReportContext.pdl
12+
include domains/DOM.pdl
13+
include domains/DOMDebugger.pdl
14+
include domains/DOMSnapshot.pdl
15+
diff --git a/pdl/domains/CrashReportContext.pdl b/pdl/domains/CrashReportContext.pdl
16+
new file mode 100644
17+
index 00000000..27b3702f
18+
--- /dev/null
19+
+++ b/pdl/domains/CrashReportContext.pdl
20+
@@ -0,0 +1,20 @@
21+
+# Copyright 2026 The Chromium Authors
22+
+# Use of this source code is governed by a BSD-style license that can be
23+
+# found in the LICENSE file.
24+
+
25+
+# This domain exposes the current state of the CrashReportContext API.
26+
+experimental domain CrashReportContext
27+
+ depends on Page
28+
+
29+
+ # Key-value pair in CrashReportContext.
30+
+ type CrashReportContextEntry extends object
31+
+ properties
32+
+ string key
33+
+ string value
34+
+ # The ID of the frame where the key-value pair was set.
35+
+ Page.FrameId frameId
36+
+
37+
+ # Returns all entries in the CrashReportContext across all frames in the page.
38+
+ command getEntries
39+
+ returns
40+
+ array of CrashReportContextEntry entries
41+
```
42+
343
## Roll protocol to r1603894 — _2026-03-24T05:02:01.000Z_
4-
###### Diff: [`169ca38...b44d11f`](https://github.com/ChromeDevTools/devtools-protocol/compare/169ca38...b44d11f)
44+
###### Diff: [`169ca38...94a770f`](https://github.com/ChromeDevTools/devtools-protocol/compare/169ca38...94a770f)
545

646
```diff
747
@@ domains/WebMCP.pdl:11 @@ experimental domain WebMCP
@@ -42757,26 +42797,4 @@ index 7a3c772c..ed622630 100644
4275742797
optional integer quality
4275842798
# Optimize image encoding for speed, not for resulting size (defaults to false)
4275942799
optional boolean optimizeForSpeed
42760-
```
42761-
42762-
## Roll protocol to r1151065 — _2023-05-31T04:26:30.000Z_
42763-
###### Diff: [`44ad3c8...11fd654`](https://github.com/ChromeDevTools/devtools-protocol/compare/44ad3c8...11fd654)
42764-
42765-
```diff
42766-
@@ browser_protocol.pdl:818 @@ experimental domain Audits
42767-
Canceled
42768-
RpPageNotVisible
42769-
SilentMediationFailure
42770-
+ ThirdPartyCookiesBlocked
42771-
42772-
# This issue tracks client hints related issues. It's used to deprecate old
42773-
# features, encourage the use of new ones, and provide general guidance.
42774-
@@ -8462,6 +8463,7 @@ domain Page
42775-
ActivationNavigationsDisallowedForBug1234857
42776-
ErrorDocument
42777-
FencedFramesEmbedder
42778-
+ CookieDisabled
42779-
#Blocklisted features
42780-
WebSocket
42781-
WebTransport
4278242800
```

json/browser_protocol.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6924,6 +6924,51 @@
69246924
}
69256925
]
69266926
},
6927+
{
6928+
"domain": "CrashReportContext",
6929+
"description": "This domain exposes the current state of the CrashReportContext API.",
6930+
"experimental": true,
6931+
"dependencies": [
6932+
"Page"
6933+
],
6934+
"types": [
6935+
{
6936+
"id": "CrashReportContextEntry",
6937+
"description": "Key-value pair in CrashReportContext.",
6938+
"type": "object",
6939+
"properties": [
6940+
{
6941+
"name": "key",
6942+
"type": "string"
6943+
},
6944+
{
6945+
"name": "value",
6946+
"type": "string"
6947+
},
6948+
{
6949+
"name": "frameId",
6950+
"description": "The ID of the frame where the key-value pair was set.",
6951+
"$ref": "Page.FrameId"
6952+
}
6953+
]
6954+
}
6955+
],
6956+
"commands": [
6957+
{
6958+
"name": "getEntries",
6959+
"description": "Returns all entries in the CrashReportContext across all frames in the page.",
6960+
"returns": [
6961+
{
6962+
"name": "entries",
6963+
"type": "array",
6964+
"items": {
6965+
"$ref": "CrashReportContextEntry"
6966+
}
6967+
}
6968+
]
6969+
}
6970+
]
6971+
},
69276972
{
69286973
"domain": "DOM",
69296974
"description": "This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object\nthat has an `id`. This `id` can be used to get additional information on the Node, resolve it into\nthe JavaScript object wrapper, etc. It is important that client receives DOM events only for the\nnodes that are known to the client. Backend keeps track of the nodes that were sent to the client\nand never sends the same node twice. It is client's responsibility to collect information about\nthe nodes that were sent to the client. Note that `iframe` owner elements will return\ncorresponding document elements as their child nodes.",

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.1603894",
3+
"version": "0.0.1604597",
44
"description": "The Chrome DevTools Protocol JSON",
55
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
66
"author": "The Chromium Authors",

pdl/browser_protocol.pdl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ include domains/Browser.pdl
1818
include domains/CSS.pdl
1919
include domains/CacheStorage.pdl
2020
include domains/Cast.pdl
21+
include domains/CrashReportContext.pdl
2122
include domains/DOM.pdl
2223
include domains/DOMDebugger.pdl
2324
include domains/DOMSnapshot.pdl

pdl/domains/CrashReportContext.pdl

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright 2026 The Chromium Authors
2+
# Use of this source code is governed by a BSD-style license that can be
3+
# found in the LICENSE file.
4+
5+
# This domain exposes the current state of the CrashReportContext API.
6+
experimental domain CrashReportContext
7+
depends on Page
8+
9+
# Key-value pair in CrashReportContext.
10+
type CrashReportContextEntry extends object
11+
properties
12+
string key
13+
string value
14+
# The ID of the frame where the key-value pair was set.
15+
Page.FrameId frameId
16+
17+
# Returns all entries in the CrashReportContext across all frames in the page.
18+
command getEntries
19+
returns
20+
array of CrashReportContextEntry entries

types/protocol-mapping.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2626,6 +2626,13 @@ export namespace ProtocolMapping {
26262626
paramsType: [Protocol.Cast.StopCastingRequest];
26272627
returnType: void;
26282628
};
2629+
/**
2630+
* Returns all entries in the CrashReportContext across all frames in the page.
2631+
*/
2632+
'CrashReportContext.getEntries': {
2633+
paramsType: [];
2634+
returnType: Protocol.CrashReportContext.GetEntriesResponse;
2635+
};
26292636
/**
26302637
* Collects class names for the node with given id and all of it's child nodes.
26312638
* @experimental

types/protocol-proxy-api.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ export namespace ProtocolProxyApi {
4646

4747
Cast: CastApi;
4848

49+
CrashReportContext: CrashReportContextApi;
50+
4951
DOM: DOMApi;
5052

5153
DOMDebugger: DOMDebuggerApi;
@@ -1514,6 +1516,14 @@ export namespace ProtocolProxyApi {
15141516

15151517
}
15161518

1519+
export interface CrashReportContextApi {
1520+
/**
1521+
* Returns all entries in the CrashReportContext across all frames in the page.
1522+
*/
1523+
getEntries(): Promise<Protocol.CrashReportContext.GetEntriesResponse>;
1524+
1525+
}
1526+
15171527
export interface DOMApi {
15181528
/**
15191529
* Collects class names for the node with given id and all of it's child nodes.

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ export namespace ProtocolTestsProxyApi {
4646

4747
Cast: CastApi;
4848

49+
CrashReportContext: CrashReportContextApi;
50+
4951
DOM: DOMApi;
5052

5153
DOMDebugger: DOMDebuggerApi;
@@ -1604,6 +1606,14 @@ export namespace ProtocolTestsProxyApi {
16041606

16051607
}
16061608

1609+
export interface CrashReportContextApi {
1610+
/**
1611+
* Returns all entries in the CrashReportContext across all frames in the page.
1612+
*/
1613+
getEntries(): Promise<{id: number, result: Protocol.CrashReportContext.GetEntriesResponse, sessionId: string}>;
1614+
1615+
}
1616+
16071617
export interface DOMApi {
16081618
/**
16091619
* Collects class names for the node with given id and all of it's child nodes.

types/protocol.d.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6846,6 +6846,29 @@ export namespace Protocol {
68466846
}
68476847
}
68486848

6849+
/**
6850+
* This domain exposes the current state of the CrashReportContext API.
6851+
* @experimental
6852+
*/
6853+
export namespace CrashReportContext {
6854+
6855+
/**
6856+
* Key-value pair in CrashReportContext.
6857+
*/
6858+
export interface CrashReportContextEntry {
6859+
key: string;
6860+
value: string;
6861+
/**
6862+
* The ID of the frame where the key-value pair was set.
6863+
*/
6864+
frameId: Page.FrameId;
6865+
}
6866+
6867+
export interface GetEntriesResponse {
6868+
entries: CrashReportContextEntry[];
6869+
}
6870+
}
6871+
68496872
/**
68506873
* This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object
68516874
* that has an `id`. This `id` can be used to get additional information on the Node, resolve it into

0 commit comments

Comments
 (0)