devtools-protocol 0.0.1603894 → 0.0.1604597
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/json/browser_protocol.json +45 -0
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +1 -0
- package/pdl/domains/CrashReportContext.pdl +20 -0
- package/types/protocol-mapping.d.ts +7 -0
- package/types/protocol-proxy-api.d.ts +10 -0
- package/types/protocol-tests-proxy-api.d.ts +10 -0
- package/types/protocol.d.ts +23 -0
|
@@ -6924,6 +6924,51 @@
|
|
|
6924
6924
|
}
|
|
6925
6925
|
]
|
|
6926
6926
|
},
|
|
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
|
+
},
|
|
6927
6972
|
{
|
|
6928
6973
|
"domain": "DOM",
|
|
6929
6974
|
"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/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -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
|
|
@@ -2626,6 +2626,13 @@ export namespace ProtocolMapping {
|
|
|
2626
2626
|
paramsType: [Protocol.Cast.StopCastingRequest];
|
|
2627
2627
|
returnType: void;
|
|
2628
2628
|
};
|
|
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
|
+
};
|
|
2629
2636
|
/**
|
|
2630
2637
|
* Collects class names for the node with given id and all of it's child nodes.
|
|
2631
2638
|
* @experimental
|
|
@@ -46,6 +46,8 @@ export namespace ProtocolProxyApi {
|
|
|
46
46
|
|
|
47
47
|
Cast: CastApi;
|
|
48
48
|
|
|
49
|
+
CrashReportContext: CrashReportContextApi;
|
|
50
|
+
|
|
49
51
|
DOM: DOMApi;
|
|
50
52
|
|
|
51
53
|
DOMDebugger: DOMDebuggerApi;
|
|
@@ -1514,6 +1516,14 @@ export namespace ProtocolProxyApi {
|
|
|
1514
1516
|
|
|
1515
1517
|
}
|
|
1516
1518
|
|
|
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
|
+
|
|
1517
1527
|
export interface DOMApi {
|
|
1518
1528
|
/**
|
|
1519
1529
|
* Collects class names for the node with given id and all of it's child nodes.
|
|
@@ -46,6 +46,8 @@ export namespace ProtocolTestsProxyApi {
|
|
|
46
46
|
|
|
47
47
|
Cast: CastApi;
|
|
48
48
|
|
|
49
|
+
CrashReportContext: CrashReportContextApi;
|
|
50
|
+
|
|
49
51
|
DOM: DOMApi;
|
|
50
52
|
|
|
51
53
|
DOMDebugger: DOMDebuggerApi;
|
|
@@ -1604,6 +1606,14 @@ export namespace ProtocolTestsProxyApi {
|
|
|
1604
1606
|
|
|
1605
1607
|
}
|
|
1606
1608
|
|
|
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
|
+
|
|
1607
1617
|
export interface DOMApi {
|
|
1608
1618
|
/**
|
|
1609
1619
|
* Collects class names for the node with given id and all of it's child nodes.
|
package/types/protocol.d.ts
CHANGED
|
@@ -6846,6 +6846,29 @@ export namespace Protocol {
|
|
|
6846
6846
|
}
|
|
6847
6847
|
}
|
|
6848
6848
|
|
|
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
|
+
|
|
6849
6872
|
/**
|
|
6850
6873
|
* This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object
|
|
6851
6874
|
* that has an `id`. This `id` can be used to get additional information on the Node, resolve it into
|