devtools-protocol 0.0.1262051 → 0.0.1262535
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.
@@ -407,7 +407,7 @@
|
|
407
407
|
},
|
408
408
|
{
|
409
409
|
"name": "frameId",
|
410
|
-
"description": "The frame for whose document the AX tree should be retrieved.\nIf
|
410
|
+
"description": "The frame for whose document the AX tree should be retrieved.\nIf omitted, the root frame is used.",
|
411
411
|
"optional": true,
|
412
412
|
"$ref": "Page.FrameId"
|
413
413
|
}
|
@@ -503,7 +503,7 @@
|
|
503
503
|
},
|
504
504
|
{
|
505
505
|
"name": "queryAXTree",
|
506
|
-
"description": "Query a DOM node's accessibility subtree for accessible name and role.\nThis command computes the name and role for all nodes in the subtree, including those that are\nignored for accessibility, and returns those that
|
506
|
+
"description": "Query a DOM node's accessibility subtree for accessible name and role.\nThis command computes the name and role for all nodes in the subtree, including those that are\nignored for accessibility, and returns those that match the specified name and role. If no DOM\nnode is specified, or the DOM node does not exist, the command returns an error. If neither\n`accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.",
|
507
507
|
"experimental": true,
|
508
508
|
"parameters": [
|
509
509
|
{
|
@@ -2176,7 +2176,7 @@
|
|
2176
2176
|
"properties": [
|
2177
2177
|
{
|
2178
2178
|
"name": "addressFields",
|
2179
|
-
"description": "A two dimension array containing the
|
2179
|
+
"description": "A two dimension array containing the representation of values from an address profile.",
|
2180
2180
|
"type": "array",
|
2181
2181
|
"items": {
|
2182
2182
|
"$ref": "AddressFields"
|
@@ -2750,7 +2750,7 @@
|
|
2750
2750
|
"parameters": [
|
2751
2751
|
{
|
2752
2752
|
"name": "behavior",
|
2753
|
-
"description": "Whether to allow all or deny all download requests, or use default Chrome behavior if\navailable (otherwise deny). |allowAndName| allows download and names files according to\ntheir
|
2753
|
+
"description": "Whether to allow all or deny all download requests, or use default Chrome behavior if\navailable (otherwise deny). |allowAndName| allows download and names files according to\ntheir download guids.",
|
2754
2754
|
"type": "string",
|
2755
2755
|
"enum": [
|
2756
2756
|
"deny",
|
@@ -3265,7 +3265,7 @@
|
|
3265
3265
|
},
|
3266
3266
|
{
|
3267
3267
|
"name": "sourceURL",
|
3268
|
-
"description": "Stylesheet resource URL. Empty if this is a constructed stylesheet created using\nnew CSSStyleSheet() (but non-empty if this is a constructed
|
3268
|
+
"description": "Stylesheet resource URL. Empty if this is a constructed stylesheet created using\nnew CSSStyleSheet() (but non-empty if this is a constructed stylesheet imported\nas a CSS module script).",
|
3269
3269
|
"type": "string"
|
3270
3270
|
},
|
3271
3271
|
{
|
@@ -6001,7 +6001,7 @@
|
|
6001
6001
|
"parameters": [
|
6002
6002
|
{
|
6003
6003
|
"name": "nodeId",
|
6004
|
-
"description": "Id of the node to retrieve
|
6004
|
+
"description": "Id of the node to retrieve attributes for.",
|
6005
6005
|
"$ref": "NodeId"
|
6006
6006
|
}
|
6007
6007
|
],
|
@@ -8690,7 +8690,7 @@
|
|
8690
8690
|
},
|
8691
8691
|
{
|
8692
8692
|
"id": "UserAgentBrandVersion",
|
8693
|
-
"description": "Used to specify User Agent
|
8693
|
+
"description": "Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints",
|
8694
8694
|
"experimental": true,
|
8695
8695
|
"type": "object",
|
8696
8696
|
"properties": [
|
@@ -8706,7 +8706,7 @@
|
|
8706
8706
|
},
|
8707
8707
|
{
|
8708
8708
|
"id": "UserAgentMetadata",
|
8709
|
-
"description": "Used to specify User Agent
|
8709
|
+
"description": "Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints\nMissing optional values will be filled in by the target with what it would normally use.",
|
8710
8710
|
"experimental": true,
|
8711
8711
|
"type": "object",
|
8712
8712
|
"properties": [
|
@@ -9205,7 +9205,7 @@
|
|
9205
9205
|
},
|
9206
9206
|
{
|
9207
9207
|
"name": "setSensorOverrideReadings",
|
9208
|
-
"description": "Updates the sensor readings reported by a sensor type previously
|
9208
|
+
"description": "Updates the sensor readings reported by a sensor type previously overridden\nby setSensorOverrideEnabled.",
|
9209
9209
|
"experimental": true,
|
9210
9210
|
"parameters": [
|
9211
9211
|
{
|
@@ -9346,7 +9346,7 @@
|
|
9346
9346
|
"parameters": [
|
9347
9347
|
{
|
9348
9348
|
"name": "timezoneId",
|
9349
|
-
"description": "The timezone identifier.
|
9349
|
+
"description": "The timezone identifier. List of supported timezones:\nhttps://source.chromium.org/chromium/chromium/deps/icu.git/+/faee8bc70570192d82d2978a71e2a615788597d1:source/data/misc/metaZones.txt\nIf empty, disables the override and restores default host system timezone.",
|
9350
9350
|
"type": "string"
|
9351
9351
|
}
|
9352
9352
|
]
|
@@ -9396,7 +9396,7 @@
|
|
9396
9396
|
},
|
9397
9397
|
{
|
9398
9398
|
"name": "setUserAgentOverride",
|
9399
|
-
"description": "Allows overriding user agent with the given string.",
|
9399
|
+
"description": "Allows overriding user agent with the given string.\n`userAgentMetadata` must be set for Client Hint headers to be sent.",
|
9400
9400
|
"parameters": [
|
9401
9401
|
{
|
9402
9402
|
"name": "userAgent",
|
@@ -9574,7 +9574,7 @@
|
|
9574
9574
|
},
|
9575
9575
|
{
|
9576
9576
|
"name": "offset",
|
9577
|
-
"description": "Seek to the specified offset before reading (if not
|
9577
|
+
"description": "Seek to the specified offset before reading (if not specified, proceed with offset\nfollowing the last read). Some types of streams may only support sequential reads.",
|
9578
9578
|
"optional": true,
|
9579
9579
|
"type": "integer"
|
9580
9580
|
},
|
@@ -10458,7 +10458,7 @@
|
|
10458
10458
|
},
|
10459
10459
|
{
|
10460
10460
|
"name": "imeSetComposition",
|
10461
|
-
"description": "This method sets the current candidate text for
|
10461
|
+
"description": "This method sets the current candidate text for IME.\nUse imeCommitComposition to commit the final text.\nUse imeSetComposition with empty string as text to cancel composition.",
|
10462
10462
|
"experimental": true,
|
10463
10463
|
"parameters": [
|
10464
10464
|
{
|
@@ -11330,7 +11330,7 @@
|
|
11330
11330
|
"parameters": [
|
11331
11331
|
{
|
11332
11332
|
"name": "layers",
|
11333
|
-
"description": "Layer tree, absent if not in the
|
11333
|
+
"description": "Layer tree, absent if not in the compositing mode.",
|
11334
11334
|
"optional": true,
|
11335
11335
|
"type": "array",
|
11336
11336
|
"items": {
|
@@ -12060,7 +12060,7 @@
|
|
12060
12060
|
},
|
12061
12061
|
{
|
12062
12062
|
"name": "isSameSite",
|
12063
|
-
"description": "True if this resource request is considered to be the 'same site' as the\nrequest
|
12063
|
+
"description": "True if this resource request is considered to be the 'same site' as the\nrequest corresponding to the main frame.",
|
12064
12064
|
"experimental": true,
|
12065
12065
|
"optional": true,
|
12066
12066
|
"type": "boolean"
|
@@ -12479,7 +12479,7 @@
|
|
12479
12479
|
},
|
12480
12480
|
{
|
12481
12481
|
"name": "serviceWorkerRouterInfo",
|
12482
|
-
"description": "
|
12482
|
+
"description": "Information about how Service Worker Static Router was used.",
|
12483
12483
|
"experimental": true,
|
12484
12484
|
"optional": true,
|
12485
12485
|
"$ref": "ServiceWorkerRouterInfo"
|
@@ -13283,7 +13283,7 @@
|
|
13283
13283
|
},
|
13284
13284
|
{
|
13285
13285
|
"name": "errors",
|
13286
|
-
"description": "Errors occurred while handling the signed
|
13286
|
+
"description": "Errors occurred while handling the signed exchange.",
|
13287
13287
|
"optional": true,
|
13288
13288
|
"type": "array",
|
13289
13289
|
"items": {
|
@@ -14423,7 +14423,7 @@
|
|
14423
14423
|
},
|
14424
14424
|
{
|
14425
14425
|
"name": "errorText",
|
14426
|
-
"description": "
|
14426
|
+
"description": "Error message. List of network errors: https://cs.chromium.org/chromium/src/net/base/net_error_list.h",
|
14427
14427
|
"type": "string"
|
14428
14428
|
},
|
14429
14429
|
{
|
@@ -15002,7 +15002,7 @@
|
|
15002
15002
|
},
|
15003
15003
|
{
|
15004
15004
|
"name": "cookiePartitionKeyOpaque",
|
15005
|
-
"description": "True if partitioned cookies are enabled, but the partition key is not
|
15005
|
+
"description": "True if partitioned cookies are enabled, but the partition key is not serializable to string.",
|
15006
15006
|
"optional": true,
|
15007
15007
|
"type": "boolean"
|
15008
15008
|
},
|
@@ -15215,7 +15215,7 @@
|
|
15215
15215
|
"properties": [
|
15216
15216
|
{
|
15217
15217
|
"name": "parentOutlineColor",
|
15218
|
-
"description": "the color to outline the
|
15218
|
+
"description": "the color to outline the given element in.",
|
15219
15219
|
"$ref": "DOM.RGBA"
|
15220
15220
|
},
|
15221
15221
|
{
|
@@ -15731,7 +15731,7 @@
|
|
15731
15731
|
},
|
15732
15732
|
{
|
15733
15733
|
"name": "selectedPlatform",
|
15734
|
-
"description": "
|
15734
|
+
"description": "Selected platforms to show the overlay.",
|
15735
15735
|
"type": "string"
|
15736
15736
|
},
|
15737
15737
|
{
|
@@ -15923,7 +15923,7 @@
|
|
15923
15923
|
},
|
15924
15924
|
{
|
15925
15925
|
"name": "highlightFrame",
|
15926
|
-
"description": "Highlights owner element of the frame with given id.\nDeprecated: Doesn't work
|
15926
|
+
"description": "Highlights owner element of the frame with given id.\nDeprecated: Doesn't work reliably and cannot be fixed due to process\nseparation (the owner node might be in a different process). Determine\nthe owner node in the client and use highlightNode.",
|
15927
15927
|
"deprecated": true,
|
15928
15928
|
"parameters": [
|
15929
15929
|
{
|
@@ -17006,7 +17006,7 @@
|
|
17006
17006
|
},
|
17007
17007
|
{
|
17008
17008
|
"name": "critical",
|
17009
|
-
"description": "If
|
17009
|
+
"description": "If critical, this is a non-recoverable parse error.",
|
17010
17010
|
"type": "integer"
|
17011
17011
|
},
|
17012
17012
|
{
|
@@ -17330,7 +17330,7 @@
|
|
17330
17330
|
},
|
17331
17331
|
{
|
17332
17332
|
"id": "AutoResponseMode",
|
17333
|
-
"description": "Enum of possible auto-
|
17333
|
+
"description": "Enum of possible auto-response for permission / prompt dialogs.",
|
17334
17334
|
"experimental": true,
|
17335
17335
|
"type": "string",
|
17336
17336
|
"enum": [
|
@@ -17421,7 +17421,6 @@
|
|
17421
17421
|
"SubresourceHasCacheControlNoCache",
|
17422
17422
|
"ContainsPlugins",
|
17423
17423
|
"DocumentLoaded",
|
17424
|
-
"DedicatedWorkerOrWorklet",
|
17425
17424
|
"OutstandingNetworkRequestOthers",
|
17426
17425
|
"RequestedMIDIPermission",
|
17427
17426
|
"RequestedAudioCapturePermission",
|
@@ -18698,7 +18697,7 @@
|
|
18698
18697
|
},
|
18699
18698
|
{
|
18700
18699
|
"name": "produceCompilationCache",
|
18701
|
-
"description": "Requests backend to produce compilation cache for the specified scripts.\n`scripts` are
|
18700
|
+
"description": "Requests backend to produce compilation cache for the specified scripts.\n`scripts` are appended to the list of scripts for which the cache\nwould be produced. The list may be reset during page navigation.\nWhen script with a matching URL is encountered, the cache is optionally\nproduced upon backend discretion, based on internal heuristics.\nSee also: `Page.compilationCacheProduced`.",
|
18702
18701
|
"experimental": true,
|
18703
18702
|
"parameters": [
|
18704
18703
|
{
|
@@ -19106,7 +19105,7 @@
|
|
19106
19105
|
},
|
19107
19106
|
{
|
19108
19107
|
"name": "hasBrowserHandler",
|
19109
|
-
"description": "True
|
19108
|
+
"description": "True if browser is capable showing or acting on the given dialog. When browser has no\ndialog handler for given target, calling alert while Page domain is engaged will stall\nthe page execution. Execution can be resumed via calling Page.handleJavaScriptDialog.",
|
19110
19109
|
"type": "boolean"
|
19111
19110
|
},
|
19112
19111
|
{
|
@@ -19148,7 +19147,7 @@
|
|
19148
19147
|
"parameters": [
|
19149
19148
|
{
|
19150
19149
|
"name": "loaderId",
|
19151
|
-
"description": "The loader id for the associated
|
19150
|
+
"description": "The loader id for the associated navigation.",
|
19152
19151
|
"$ref": "Network.LoaderId"
|
19153
19152
|
},
|
19154
19153
|
{
|
@@ -19478,7 +19477,7 @@
|
|
19478
19477
|
},
|
19479
19478
|
{
|
19480
19479
|
"name": "type",
|
19481
|
-
"description": "The event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype\nThis determines which of the optional \"details\"
|
19480
|
+
"description": "The event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype\nThis determines which of the optional \"details\" fields is present.",
|
19482
19481
|
"type": "string"
|
19483
19482
|
},
|
19484
19483
|
{
|
@@ -19640,7 +19639,7 @@
|
|
19640
19639
|
},
|
19641
19640
|
{
|
19642
19641
|
"name": "certificateHasWeakSignature",
|
19643
|
-
"description": "True if the certificate uses a weak signature
|
19642
|
+
"description": "True if the certificate uses a weak signature algorithm.",
|
19644
19643
|
"type": "boolean"
|
19645
19644
|
},
|
19646
19645
|
{
|
@@ -21847,7 +21846,7 @@
|
|
21847
21846
|
},
|
21848
21847
|
{
|
21849
21848
|
"name": "params",
|
21850
|
-
"description": "The sub-parameters
|
21849
|
+
"description": "The sub-parameters wrapped by `params` are all optional and their\npresence/absence depends on `type`.",
|
21851
21850
|
"$ref": "SharedStorageAccessParams"
|
21852
21851
|
}
|
21853
21852
|
]
|
@@ -22241,6 +22240,7 @@
|
|
22241
22240
|
},
|
22242
22241
|
{
|
22243
22242
|
"name": "title",
|
22243
|
+
"description": "List of types: https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/devtools_agent_host_impl.cc?ss=chromium&q=f:devtools%20-f:out%20%22::kTypeTab%5B%5D%22",
|
22244
22244
|
"type": "string"
|
22245
22245
|
},
|
22246
22246
|
{
|
@@ -22294,7 +22294,7 @@
|
|
22294
22294
|
"properties": [
|
22295
22295
|
{
|
22296
22296
|
"name": "exclude",
|
22297
|
-
"description": "If set, causes exclusion of
|
22297
|
+
"description": "If set, causes exclusion of matching targets from the list.",
|
22298
22298
|
"optional": true,
|
22299
22299
|
"type": "boolean"
|
22300
22300
|
},
|
@@ -22397,7 +22397,7 @@
|
|
22397
22397
|
},
|
22398
22398
|
{
|
22399
22399
|
"name": "exposeDevToolsProtocol",
|
22400
|
-
"description": "Inject object to the target's main frame that provides a communication\nchannel with browser target.\n\nInjected object will be available as `window[bindingName]`.\n\nThe object has the
|
22400
|
+
"description": "Inject object to the target's main frame that provides a communication\nchannel with browser target.\n\nInjected object will be available as `window[bindingName]`.\n\nThe object has the following API:\n- `binding.send(json)` - a method to send messages over the remote debugging protocol\n- `binding.onmessage = json => handleMessage(json)` - a callback that will be called for the protocol notifications and command responses.",
|
22401
22401
|
"experimental": true,
|
22402
22402
|
"parameters": [
|
22403
22403
|
{
|
@@ -24877,7 +24877,7 @@
|
|
24877
24877
|
},
|
24878
24878
|
{
|
24879
24879
|
"name": "errorType",
|
24880
|
-
"description": "Error information\n`errorMessage` is null
|
24880
|
+
"description": "Error information\n`errorMessage` is null if `errorType` is null.",
|
24881
24881
|
"optional": true,
|
24882
24882
|
"$ref": "RuleSetErrorType"
|
24883
24883
|
},
|
@@ -24942,7 +24942,7 @@
|
|
24942
24942
|
},
|
24943
24943
|
{
|
24944
24944
|
"id": "PreloadingAttemptSource",
|
24945
|
-
"description": "Lists sources for a preloading attempt, specifically the ids of rule sets\nthat had a speculation rule that triggered the attempt, and the\nBackendNodeIds of <a href> or <area href> elements that triggered the\nattempt (in the case of attempts triggered by a document rule). It is\npossible for
|
24945
|
+
"description": "Lists sources for a preloading attempt, specifically the ids of rule sets\nthat had a speculation rule that triggered the attempt, and the\nBackendNodeIds of <a href> or <area href> elements that triggered the\nattempt (in the case of attempts triggered by a document rule). It is\npossible for multiple rule sets and links to trigger a single attempt.",
|
24946
24946
|
"type": "object",
|
24947
24947
|
"properties": [
|
24948
24948
|
{
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -217,7 +217,7 @@ experimental domain Accessibility
|
|
217
217
|
# If omitted, the full tree is returned.
|
218
218
|
optional integer depth
|
219
219
|
# The frame for whose document the AX tree should be retrieved.
|
220
|
-
# If
|
220
|
+
# If omitted, the root frame is used.
|
221
221
|
optional Page.FrameId frameId
|
222
222
|
returns
|
223
223
|
array of AXNode nodes
|
@@ -258,7 +258,7 @@ experimental domain Accessibility
|
|
258
258
|
|
259
259
|
# Query a DOM node's accessibility subtree for accessible name and role.
|
260
260
|
# This command computes the name and role for all nodes in the subtree, including those that are
|
261
|
-
# ignored for accessibility, and returns those that
|
261
|
+
# ignored for accessibility, and returns those that match the specified name and role. If no DOM
|
262
262
|
# node is specified, or the DOM node does not exist, the command returns an error. If neither
|
263
263
|
# `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
|
264
264
|
experimental command queryAXTree
|
@@ -1087,7 +1087,7 @@ experimental domain Autofill
|
|
1087
1087
|
# Munich 81456
|
1088
1088
|
type AddressUI extends object
|
1089
1089
|
properties
|
1090
|
-
# A two dimension array containing the
|
1090
|
+
# A two dimension array containing the representation of values from an address profile.
|
1091
1091
|
array of AddressFields addressFields
|
1092
1092
|
|
1093
1093
|
# Specified whether a filled field was done so by using the html autocomplete attribute or autofill heuristics.
|
@@ -1339,7 +1339,7 @@ domain Browser
|
|
1339
1339
|
parameters
|
1340
1340
|
# Whether to allow all or deny all download requests, or use default Chrome behavior if
|
1341
1341
|
# available (otherwise deny). |allowAndName| allows download and names files according to
|
1342
|
-
# their
|
1342
|
+
# their download guids.
|
1343
1343
|
enum behavior
|
1344
1344
|
deny
|
1345
1345
|
allow
|
@@ -1606,7 +1606,7 @@ experimental domain CSS
|
|
1606
1606
|
# Owner frame identifier.
|
1607
1607
|
Page.FrameId frameId
|
1608
1608
|
# Stylesheet resource URL. Empty if this is a constructed stylesheet created using
|
1609
|
-
# new CSSStyleSheet() (but non-empty if this is a constructed
|
1609
|
+
# new CSSStyleSheet() (but non-empty if this is a constructed stylesheet imported
|
1610
1610
|
# as a CSS module script).
|
1611
1611
|
string sourceURL
|
1612
1612
|
# URL of source map associated with the stylesheet (if any).
|
@@ -2818,7 +2818,7 @@ domain DOM
|
|
2818
2818
|
# Returns attributes for the specified node.
|
2819
2819
|
command getAttributes
|
2820
2820
|
parameters
|
2821
|
-
# Id of the node to retrieve
|
2821
|
+
# Id of the node to retrieve attributes for.
|
2822
2822
|
NodeId nodeId
|
2823
2823
|
returns
|
2824
2824
|
# An interleaved array of node attribute names and values.
|
@@ -3986,13 +3986,13 @@ domain Emulation
|
|
3986
3986
|
pause
|
3987
3987
|
pauseIfNetworkFetchesPending
|
3988
3988
|
|
3989
|
-
# Used to specify User Agent
|
3989
|
+
# Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints
|
3990
3990
|
experimental type UserAgentBrandVersion extends object
|
3991
3991
|
properties
|
3992
3992
|
string brand
|
3993
3993
|
string version
|
3994
3994
|
|
3995
|
-
# Used to specify User Agent
|
3995
|
+
# Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints
|
3996
3996
|
# Missing optional values will be filled in by the target with what it would normally use.
|
3997
3997
|
experimental type UserAgentMetadata extends object
|
3998
3998
|
properties
|
@@ -4201,7 +4201,7 @@ domain Emulation
|
|
4201
4201
|
SensorType type
|
4202
4202
|
optional SensorMetadata metadata
|
4203
4203
|
|
4204
|
-
# Updates the sensor readings reported by a sensor type previously
|
4204
|
+
# Updates the sensor readings reported by a sensor type previously overridden
|
4205
4205
|
# by setSensorOverrideEnabled.
|
4206
4206
|
experimental command setSensorOverrideReadings
|
4207
4207
|
parameters
|
@@ -4272,8 +4272,9 @@ domain Emulation
|
|
4272
4272
|
# Overrides default host system timezone with the specified one.
|
4273
4273
|
command setTimezoneOverride
|
4274
4274
|
parameters
|
4275
|
-
# The timezone identifier.
|
4276
|
-
#
|
4275
|
+
# The timezone identifier. List of supported timezones:
|
4276
|
+
# https://source.chromium.org/chromium/chromium/deps/icu.git/+/faee8bc70570192d82d2978a71e2a615788597d1:source/data/misc/metaZones.txt
|
4277
|
+
# If empty, disables the override and restores default host system timezone.
|
4277
4278
|
string timezoneId
|
4278
4279
|
|
4279
4280
|
# Resizes the frame/viewport of the page. Note that this does not affect the frame's container
|
@@ -4306,6 +4307,7 @@ domain Emulation
|
|
4306
4307
|
integer hardwareConcurrency
|
4307
4308
|
|
4308
4309
|
# Allows overriding user agent with the given string.
|
4310
|
+
# `userAgentMetadata` must be set for Client Hint headers to be sent.
|
4309
4311
|
command setUserAgentOverride
|
4310
4312
|
parameters
|
4311
4313
|
# User agent to use.
|
@@ -4392,7 +4394,7 @@ domain IO
|
|
4392
4394
|
parameters
|
4393
4395
|
# Handle of the stream to read.
|
4394
4396
|
StreamHandle handle
|
4395
|
-
# Seek to the specified offset before reading (if not
|
4397
|
+
# Seek to the specified offset before reading (if not specified, proceed with offset
|
4396
4398
|
# following the last read). Some types of streams may only support sequential reads.
|
4397
4399
|
optional integer offset
|
4398
4400
|
# Maximum number of bytes to read (left upon the agent discretion if not specified).
|
@@ -4776,7 +4778,7 @@ domain Input
|
|
4776
4778
|
# The text to insert.
|
4777
4779
|
string text
|
4778
4780
|
|
4779
|
-
# This method sets the current candidate text for
|
4781
|
+
# This method sets the current candidate text for IME.
|
4780
4782
|
# Use imeCommitComposition to commit the final text.
|
4781
4783
|
# Use imeSetComposition with empty string as text to cancel composition.
|
4782
4784
|
experimental command imeSetComposition
|
@@ -5156,7 +5158,7 @@ experimental domain LayerTree
|
|
5156
5158
|
|
5157
5159
|
event layerTreeDidChange
|
5158
5160
|
parameters
|
5159
|
-
# Layer tree, absent if not in the
|
5161
|
+
# Layer tree, absent if not in the compositing mode.
|
5160
5162
|
optional array of Layer layers
|
5161
5163
|
|
5162
5164
|
# Provides access to log entries.
|
@@ -5533,7 +5535,7 @@ domain Network
|
|
5533
5535
|
# passed by the developer (e.g. via "fetch") as understood by the backend.
|
5534
5536
|
experimental optional TrustTokenParams trustTokenParams
|
5535
5537
|
# True if this resource request is considered to be the 'same site' as the
|
5536
|
-
# request
|
5538
|
+
# request corresponding to the main frame.
|
5537
5539
|
experimental optional boolean isSameSite
|
5538
5540
|
|
5539
5541
|
# Details of a signed certificate timestamp (SCT).
|
@@ -5785,7 +5787,7 @@ domain Network
|
|
5785
5787
|
optional boolean fromServiceWorker
|
5786
5788
|
# Specifies that the request was served from the prefetch cache.
|
5787
5789
|
optional boolean fromPrefetchCache
|
5788
|
-
#
|
5790
|
+
# Information about how Service Worker Static Router was used.
|
5789
5791
|
experimental optional ServiceWorkerRouterInfo serviceWorkerRouterInfo
|
5790
5792
|
# Total number of bytes received for this request so far.
|
5791
5793
|
number encodedDataLength
|
@@ -5921,7 +5923,7 @@ domain Network
|
|
5921
5923
|
# The cookie had the "Secure" attribute but was not received over a secure connection.
|
5922
5924
|
SecureOnly
|
5923
5925
|
# The cookie had the "SameSite=Strict" attribute but came from a cross-origin response.
|
5924
|
-
# This includes navigation requests
|
5926
|
+
# This includes navigation requests initiated by other origins.
|
5925
5927
|
SameSiteStrict
|
5926
5928
|
# The cookie had the "SameSite=Lax" attribute but came from a cross-origin response.
|
5927
5929
|
SameSiteLax
|
@@ -5955,7 +5957,7 @@ domain Network
|
|
5955
5957
|
UnknownError
|
5956
5958
|
# The cookie had the "SameSite=Strict" attribute but came from a response
|
5957
5959
|
# with the same registrable domain but a different scheme.
|
5958
|
-
# This includes navigation requests
|
5960
|
+
# This includes navigation requests initiated by other origins.
|
5959
5961
|
# This is the "Schemeful Same-Site" version of the blocked reason.
|
5960
5962
|
SchemefulSameSiteStrict
|
5961
5963
|
# The cookie had the "SameSite=Lax" attribute but came from a response
|
@@ -6017,7 +6019,7 @@ domain Network
|
|
6017
6019
|
UnknownError
|
6018
6020
|
# The cookie had the "SameSite=Strict" attribute but came from a response
|
6019
6021
|
# with the same registrable domain but a different scheme.
|
6020
|
-
# This includes navigation requests
|
6022
|
+
# This includes navigation requests initiated by other origins.
|
6021
6023
|
# This is the "Schemeful Same-Site" version of the blocked reason.
|
6022
6024
|
SchemefulSameSiteStrict
|
6023
6025
|
# The cookie had the "SameSite=Lax" attribute but came from a response
|
@@ -6244,7 +6246,7 @@ domain Network
|
|
6244
6246
|
optional SignedExchangeHeader header
|
6245
6247
|
# Security details for the signed exchange header.
|
6246
6248
|
optional SecurityDetails securityDetails
|
6247
|
-
# Errors occurred while handling the signed
|
6249
|
+
# Errors occurred while handling the signed exchange.
|
6248
6250
|
optional array of SignedExchangeError errors
|
6249
6251
|
|
6250
6252
|
# List of content encodings supported by the backend.
|
@@ -6597,7 +6599,7 @@ domain Network
|
|
6597
6599
|
MonotonicTime timestamp
|
6598
6600
|
# Resource type.
|
6599
6601
|
ResourceType type
|
6600
|
-
#
|
6602
|
+
# Error message. List of network errors: https://cs.chromium.org/chromium/src/net/base/net_error_list.h
|
6601
6603
|
string errorText
|
6602
6604
|
# True if loading was canceled.
|
6603
6605
|
optional boolean canceled
|
@@ -6898,7 +6900,7 @@ domain Network
|
|
6898
6900
|
# The cookie partition key that will be used to store partitioned cookies set in this response.
|
6899
6901
|
# Only sent when partitioned cookies are enabled.
|
6900
6902
|
optional string cookiePartitionKey
|
6901
|
-
# True if partitioned cookies are enabled, but the partition key is not
|
6903
|
+
# True if partitioned cookies are enabled, but the partition key is not serializable to string.
|
6902
6904
|
optional boolean cookiePartitionKeyOpaque
|
6903
6905
|
# A list of cookies which should have been blocked by 3PCD but are exempted and stored from
|
6904
6906
|
# the response with the corresponding reason.
|
@@ -7142,7 +7144,7 @@ experimental domain Overlay
|
|
7142
7144
|
# Configuration data for drawing the source order of an elements children.
|
7143
7145
|
type SourceOrderConfig extends object
|
7144
7146
|
properties
|
7145
|
-
# the color to outline the
|
7147
|
+
# the color to outline the given element in.
|
7146
7148
|
DOM.RGBA parentOutlineColor
|
7147
7149
|
# the color to outline the child elements in.
|
7148
7150
|
DOM.RGBA childOutlineColor
|
@@ -7342,7 +7344,7 @@ experimental domain Overlay
|
|
7342
7344
|
properties
|
7343
7345
|
# Whether the title bar CSS should be shown when emulating the Window Controls Overlay.
|
7344
7346
|
boolean showCSS
|
7345
|
-
#
|
7347
|
+
# Selected platforms to show the overlay.
|
7346
7348
|
string selectedPlatform
|
7347
7349
|
# The theme color defined in app manifest.
|
7348
7350
|
string themeColor
|
@@ -7430,8 +7432,8 @@ experimental domain Overlay
|
|
7430
7432
|
command hideHighlight
|
7431
7433
|
|
7432
7434
|
# Highlights owner element of the frame with given id.
|
7433
|
-
# Deprecated: Doesn't work
|
7434
|
-
#
|
7435
|
+
# Deprecated: Doesn't work reliably and cannot be fixed due to process
|
7436
|
+
# separation (the owner node might be in a different process). Determine
|
7435
7437
|
# the owner node in the client and use highlightNode.
|
7436
7438
|
deprecated command highlightFrame
|
7437
7439
|
parameters
|
@@ -7998,7 +8000,7 @@ domain Page
|
|
7998
8000
|
properties
|
7999
8001
|
# Error message.
|
8000
8002
|
string message
|
8001
|
-
# If
|
8003
|
+
# If critical, this is a non-recoverable parse error.
|
8002
8004
|
integer critical
|
8003
8005
|
# Error line.
|
8004
8006
|
integer line
|
@@ -8655,7 +8657,7 @@ domain Page
|
|
8655
8657
|
experimental command stopScreencast
|
8656
8658
|
|
8657
8659
|
# Requests backend to produce compilation cache for the specified scripts.
|
8658
|
-
# `scripts` are
|
8660
|
+
# `scripts` are appended to the list of scripts for which the cache
|
8659
8661
|
# would be produced. The list may be reset during page navigation.
|
8660
8662
|
# When script with a matching URL is encountered, the cache is optionally
|
8661
8663
|
# produced upon backend discretion, based on internal heuristics.
|
@@ -8675,7 +8677,7 @@ domain Page
|
|
8675
8677
|
# Clears seeded compilation cache.
|
8676
8678
|
experimental command clearCompilationCache
|
8677
8679
|
|
8678
|
-
# Enum of possible auto-
|
8680
|
+
# Enum of possible auto-response for permission / prompt dialogs.
|
8679
8681
|
experimental type AutoResponseMode extends string
|
8680
8682
|
enum
|
8681
8683
|
none
|
@@ -8870,7 +8872,7 @@ domain Page
|
|
8870
8872
|
string message
|
8871
8873
|
# Dialog type.
|
8872
8874
|
DialogType type
|
8873
|
-
# True
|
8875
|
+
# True if browser is capable showing or acting on the given dialog. When browser has no
|
8874
8876
|
# dialog handler for given target, calling alert while Page domain is engaged will stall
|
8875
8877
|
# the page execution. Execution can be resumed via calling Page.handleJavaScriptDialog.
|
8876
8878
|
boolean hasBrowserHandler
|
@@ -8956,7 +8958,6 @@ domain Page
|
|
8956
8958
|
SubresourceHasCacheControlNoCache
|
8957
8959
|
ContainsPlugins
|
8958
8960
|
DocumentLoaded
|
8959
|
-
DedicatedWorkerOrWorklet
|
8960
8961
|
OutstandingNetworkRequestOthers
|
8961
8962
|
RequestedMIDIPermission
|
8962
8963
|
RequestedAudioCapturePermission
|
@@ -9073,7 +9074,7 @@ domain Page
|
|
9073
9074
|
# when bfcache navigation fails.
|
9074
9075
|
experimental event backForwardCacheNotUsed
|
9075
9076
|
parameters
|
9076
|
-
# The loader id for the associated
|
9077
|
+
# The loader id for the associated navigation.
|
9077
9078
|
Network.LoaderId loaderId
|
9078
9079
|
# The frame id of the associated frame.
|
9079
9080
|
FrameId frameId
|
@@ -9230,7 +9231,7 @@ experimental domain PerformanceTimeline
|
|
9230
9231
|
# Identifies the frame that this event is related to. Empty for non-frame targets.
|
9231
9232
|
Page.FrameId frameId
|
9232
9233
|
# The event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype
|
9233
|
-
# This determines which of the optional "details"
|
9234
|
+
# This determines which of the optional "details" fields is present.
|
9234
9235
|
string type
|
9235
9236
|
# Name may be empty depending on the type.
|
9236
9237
|
string name
|
@@ -9306,7 +9307,7 @@ domain Security
|
|
9306
9307
|
Network.TimeSinceEpoch validTo
|
9307
9308
|
# The highest priority network error code, if the certificate has an error.
|
9308
9309
|
optional string certificateNetworkError
|
9309
|
-
# True if the certificate uses a weak signature
|
9310
|
+
# True if the certificate uses a weak signature algorithm.
|
9310
9311
|
boolean certificateHasWeakSignature
|
9311
9312
|
# True if the certificate has a SHA1 signature in the chain.
|
9312
9313
|
boolean certificateHasSha1Signature
|
@@ -10093,7 +10094,7 @@ experimental domain Storage
|
|
10093
10094
|
Page.FrameId mainFrameId
|
10094
10095
|
# Serialized origin for the context that invoked the Shared Storage API.
|
10095
10096
|
string ownerOrigin
|
10096
|
-
# The sub-parameters
|
10097
|
+
# The sub-parameters wrapped by `params` are all optional and their
|
10097
10098
|
# presence/absence depends on `type`.
|
10098
10099
|
SharedStorageAccessParams params
|
10099
10100
|
|
@@ -10449,6 +10450,7 @@ domain Target
|
|
10449
10450
|
properties
|
10450
10451
|
TargetID targetId
|
10451
10452
|
string type
|
10453
|
+
# List of types: https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/devtools_agent_host_impl.cc?ss=chromium&q=f:devtools%20-f:out%20%22::kTypeTab%5B%5D%22
|
10452
10454
|
string title
|
10453
10455
|
string url
|
10454
10456
|
# Whether the target has an attached client.
|
@@ -10467,7 +10469,7 @@ domain Target
|
|
10467
10469
|
# A filter used by target query/discovery/auto-attach operations.
|
10468
10470
|
experimental type FilterEntry extends object
|
10469
10471
|
properties
|
10470
|
-
# If set, causes exclusion of
|
10472
|
+
# If set, causes exclusion of matching targets from the list.
|
10471
10473
|
optional boolean exclude
|
10472
10474
|
# If not present, matches any type.
|
10473
10475
|
optional string type
|
@@ -10521,7 +10523,7 @@ domain Target
|
|
10521
10523
|
#
|
10522
10524
|
# Injected object will be available as `window[bindingName]`.
|
10523
10525
|
#
|
10524
|
-
# The object has the
|
10526
|
+
# The object has the following API:
|
10525
10527
|
# - `binding.send(json)` - a method to send messages over the remote debugging protocol
|
10526
10528
|
# - `binding.onmessage = json => handleMessage(json)` - a callback that will be called for the protocol notifications and command responses.
|
10527
10529
|
experimental command exposeDevToolsProtocol
|
@@ -11716,7 +11718,7 @@ experimental domain Preload
|
|
11716
11718
|
optional string url
|
11717
11719
|
optional Network.RequestId requestId
|
11718
11720
|
# Error information
|
11719
|
-
# `errorMessage` is null
|
11721
|
+
# `errorMessage` is null if `errorType` is null.
|
11720
11722
|
optional RuleSetErrorType errorType
|
11721
11723
|
# TODO(https://crbug.com/1425354): Replace this property with structured error.
|
11722
11724
|
deprecated optional string errorMessage
|
@@ -11758,7 +11760,7 @@ experimental domain Preload
|
|
11758
11760
|
# that had a speculation rule that triggered the attempt, and the
|
11759
11761
|
# BackendNodeIds of <a href> or <area href> elements that triggered the
|
11760
11762
|
# attempt (in the case of attempts triggered by a document rule). It is
|
11761
|
-
# possible for
|
11763
|
+
# possible for multiple rule sets and links to trigger a single attempt.
|
11762
11764
|
type PreloadingAttemptSource extends object
|
11763
11765
|
properties
|
11764
11766
|
PreloadingAttemptKey key
|
@@ -1375,7 +1375,7 @@ export namespace ProtocolMapping {
|
|
1375
1375
|
/**
|
1376
1376
|
* Query a DOM node's accessibility subtree for accessible name and role.
|
1377
1377
|
* This command computes the name and role for all nodes in the subtree, including those that are
|
1378
|
-
* ignored for accessibility, and returns those that
|
1378
|
+
* ignored for accessibility, and returns those that match the specified name and role. If no DOM
|
1379
1379
|
* node is specified, or the DOM node does not exist, the command returns an error. If neither
|
1380
1380
|
* `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
|
1381
1381
|
*/
|
@@ -2657,7 +2657,7 @@ export namespace ProtocolMapping {
|
|
2657
2657
|
returnType: void;
|
2658
2658
|
};
|
2659
2659
|
/**
|
2660
|
-
* Updates the sensor readings reported by a sensor type previously
|
2660
|
+
* Updates the sensor readings reported by a sensor type previously overridden
|
2661
2661
|
* by setSensorOverrideEnabled.
|
2662
2662
|
*/
|
2663
2663
|
'Emulation.setSensorOverrideReadings': {
|
@@ -2747,6 +2747,7 @@ export namespace ProtocolMapping {
|
|
2747
2747
|
};
|
2748
2748
|
/**
|
2749
2749
|
* Allows overriding user agent with the given string.
|
2750
|
+
* `userAgentMetadata` must be set for Client Hint headers to be sent.
|
2750
2751
|
*/
|
2751
2752
|
'Emulation.setUserAgentOverride': {
|
2752
2753
|
paramsType: [Protocol.Emulation.SetUserAgentOverrideRequest];
|
@@ -2890,7 +2891,7 @@ export namespace ProtocolMapping {
|
|
2890
2891
|
returnType: void;
|
2891
2892
|
};
|
2892
2893
|
/**
|
2893
|
-
* This method sets the current candidate text for
|
2894
|
+
* This method sets the current candidate text for IME.
|
2894
2895
|
* Use imeCommitComposition to commit the final text.
|
2895
2896
|
* Use imeSetComposition with empty string as text to cancel composition.
|
2896
2897
|
*/
|
@@ -3436,8 +3437,8 @@ export namespace ProtocolMapping {
|
|
3436
3437
|
};
|
3437
3438
|
/**
|
3438
3439
|
* Highlights owner element of the frame with given id.
|
3439
|
-
* Deprecated: Doesn't work
|
3440
|
-
*
|
3440
|
+
* Deprecated: Doesn't work reliably and cannot be fixed due to process
|
3441
|
+
* separation (the owner node might be in a different process). Determine
|
3441
3442
|
* the owner node in the client and use highlightNode.
|
3442
3443
|
*/
|
3443
3444
|
'Overlay.highlightFrame': {
|
@@ -3946,7 +3947,7 @@ export namespace ProtocolMapping {
|
|
3946
3947
|
};
|
3947
3948
|
/**
|
3948
3949
|
* Requests backend to produce compilation cache for the specified scripts.
|
3949
|
-
* `scripts` are
|
3950
|
+
* `scripts` are appended to the list of scripts for which the cache
|
3950
3951
|
* would be produced. The list may be reset during page navigation.
|
3951
3952
|
* When script with a matching URL is encountered, the cache is optionally
|
3952
3953
|
* produced upon backend discretion, based on internal heuristics.
|
@@ -4438,7 +4439,7 @@ export namespace ProtocolMapping {
|
|
4438
4439
|
*
|
4439
4440
|
* Injected object will be available as `window[bindingName]`.
|
4440
4441
|
*
|
4441
|
-
* The object has the
|
4442
|
+
* The object has the following API:
|
4442
4443
|
* - `binding.send(json)` - a method to send messages over the remote debugging protocol
|
4443
4444
|
* - `binding.onmessage = json => handleMessage(json)` - a callback that will be called for the protocol notifications and command responses.
|
4444
4445
|
*/
|
@@ -677,7 +677,7 @@ export namespace ProtocolProxyApi {
|
|
677
677
|
/**
|
678
678
|
* Query a DOM node's accessibility subtree for accessible name and role.
|
679
679
|
* This command computes the name and role for all nodes in the subtree, including those that are
|
680
|
-
* ignored for accessibility, and returns those that
|
680
|
+
* ignored for accessibility, and returns those that match the specified name and role. If no DOM
|
681
681
|
* node is specified, or the DOM node does not exist, the command returns an error. If neither
|
682
682
|
* `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
|
683
683
|
*/
|
@@ -1830,7 +1830,7 @@ export namespace ProtocolProxyApi {
|
|
1830
1830
|
setSensorOverrideEnabled(params: Protocol.Emulation.SetSensorOverrideEnabledRequest): Promise<void>;
|
1831
1831
|
|
1832
1832
|
/**
|
1833
|
-
* Updates the sensor readings reported by a sensor type previously
|
1833
|
+
* Updates the sensor readings reported by a sensor type previously overridden
|
1834
1834
|
* by setSensorOverrideEnabled.
|
1835
1835
|
*/
|
1836
1836
|
setSensorOverrideReadings(params: Protocol.Emulation.SetSensorOverrideReadingsRequest): Promise<void>;
|
@@ -1894,6 +1894,7 @@ export namespace ProtocolProxyApi {
|
|
1894
1894
|
|
1895
1895
|
/**
|
1896
1896
|
* Allows overriding user agent with the given string.
|
1897
|
+
* `userAgentMetadata` must be set for Client Hint headers to be sent.
|
1897
1898
|
*/
|
1898
1899
|
setUserAgentOverride(params: Protocol.Emulation.SetUserAgentOverrideRequest): Promise<void>;
|
1899
1900
|
|
@@ -2014,7 +2015,7 @@ export namespace ProtocolProxyApi {
|
|
2014
2015
|
insertText(params: Protocol.Input.InsertTextRequest): Promise<void>;
|
2015
2016
|
|
2016
2017
|
/**
|
2017
|
-
* This method sets the current candidate text for
|
2018
|
+
* This method sets the current candidate text for IME.
|
2018
2019
|
* Use imeCommitComposition to commit the final text.
|
2019
2020
|
* Use imeSetComposition with empty string as text to cancel composition.
|
2020
2021
|
*/
|
@@ -2613,8 +2614,8 @@ export namespace ProtocolProxyApi {
|
|
2613
2614
|
|
2614
2615
|
/**
|
2615
2616
|
* Highlights owner element of the frame with given id.
|
2616
|
-
* Deprecated: Doesn't work
|
2617
|
-
*
|
2617
|
+
* Deprecated: Doesn't work reliably and cannot be fixed due to process
|
2618
|
+
* separation (the owner node might be in a different process). Determine
|
2618
2619
|
* the owner node in the client and use highlightNode.
|
2619
2620
|
*/
|
2620
2621
|
highlightFrame(params: Protocol.Overlay.HighlightFrameRequest): Promise<void>;
|
@@ -2999,7 +3000,7 @@ export namespace ProtocolProxyApi {
|
|
2999
3000
|
|
3000
3001
|
/**
|
3001
3002
|
* Requests backend to produce compilation cache for the specified scripts.
|
3002
|
-
* `scripts` are
|
3003
|
+
* `scripts` are appended to the list of scripts for which the cache
|
3003
3004
|
* would be produced. The list may be reset during page navigation.
|
3004
3005
|
* When script with a matching URL is encountered, the cache is optionally
|
3005
3006
|
* produced upon backend discretion, based on internal heuristics.
|
@@ -3587,7 +3588,7 @@ export namespace ProtocolProxyApi {
|
|
3587
3588
|
*
|
3588
3589
|
* Injected object will be available as `window[bindingName]`.
|
3589
3590
|
*
|
3590
|
-
* The object has the
|
3591
|
+
* The object has the following API:
|
3591
3592
|
* - `binding.send(json)` - a method to send messages over the remote debugging protocol
|
3592
3593
|
* - `binding.onmessage = json => handleMessage(json)` - a callback that will be called for the protocol notifications and command responses.
|
3593
3594
|
*/
|
@@ -721,7 +721,7 @@ export namespace ProtocolTestsProxyApi {
|
|
721
721
|
/**
|
722
722
|
* Query a DOM node's accessibility subtree for accessible name and role.
|
723
723
|
* This command computes the name and role for all nodes in the subtree, including those that are
|
724
|
-
* ignored for accessibility, and returns those that
|
724
|
+
* ignored for accessibility, and returns those that match the specified name and role. If no DOM
|
725
725
|
* node is specified, or the DOM node does not exist, the command returns an error. If neither
|
726
726
|
* `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
|
727
727
|
*/
|
@@ -1950,7 +1950,7 @@ export namespace ProtocolTestsProxyApi {
|
|
1950
1950
|
setSensorOverrideEnabled(params: Protocol.Emulation.SetSensorOverrideEnabledRequest): Promise<void>;
|
1951
1951
|
|
1952
1952
|
/**
|
1953
|
-
* Updates the sensor readings reported by a sensor type previously
|
1953
|
+
* Updates the sensor readings reported by a sensor type previously overridden
|
1954
1954
|
* by setSensorOverrideEnabled.
|
1955
1955
|
*/
|
1956
1956
|
setSensorOverrideReadings(params: Protocol.Emulation.SetSensorOverrideReadingsRequest): Promise<void>;
|
@@ -2014,6 +2014,7 @@ export namespace ProtocolTestsProxyApi {
|
|
2014
2014
|
|
2015
2015
|
/**
|
2016
2016
|
* Allows overriding user agent with the given string.
|
2017
|
+
* `userAgentMetadata` must be set for Client Hint headers to be sent.
|
2017
2018
|
*/
|
2018
2019
|
setUserAgentOverride(params: Protocol.Emulation.SetUserAgentOverrideRequest): Promise<void>;
|
2019
2020
|
|
@@ -2136,7 +2137,7 @@ export namespace ProtocolTestsProxyApi {
|
|
2136
2137
|
insertText(params: Protocol.Input.InsertTextRequest): Promise<void>;
|
2137
2138
|
|
2138
2139
|
/**
|
2139
|
-
* This method sets the current candidate text for
|
2140
|
+
* This method sets the current candidate text for IME.
|
2140
2141
|
* Use imeCommitComposition to commit the final text.
|
2141
2142
|
* Use imeSetComposition with empty string as text to cancel composition.
|
2142
2143
|
*/
|
@@ -2809,8 +2810,8 @@ export namespace ProtocolTestsProxyApi {
|
|
2809
2810
|
|
2810
2811
|
/**
|
2811
2812
|
* Highlights owner element of the frame with given id.
|
2812
|
-
* Deprecated: Doesn't work
|
2813
|
-
*
|
2813
|
+
* Deprecated: Doesn't work reliably and cannot be fixed due to process
|
2814
|
+
* separation (the owner node might be in a different process). Determine
|
2814
2815
|
* the owner node in the client and use highlightNode.
|
2815
2816
|
*/
|
2816
2817
|
highlightFrame(params: Protocol.Overlay.HighlightFrameRequest): Promise<void>;
|
@@ -3203,7 +3204,7 @@ export namespace ProtocolTestsProxyApi {
|
|
3203
3204
|
|
3204
3205
|
/**
|
3205
3206
|
* Requests backend to produce compilation cache for the specified scripts.
|
3206
|
-
* `scripts` are
|
3207
|
+
* `scripts` are appended to the list of scripts for which the cache
|
3207
3208
|
* would be produced. The list may be reset during page navigation.
|
3208
3209
|
* When script with a matching URL is encountered, the cache is optionally
|
3209
3210
|
* produced upon backend discretion, based on internal heuristics.
|
@@ -3883,7 +3884,7 @@ export namespace ProtocolTestsProxyApi {
|
|
3883
3884
|
*
|
3884
3885
|
* Injected object will be available as `window[bindingName]`.
|
3885
3886
|
*
|
3886
|
-
* The object has the
|
3887
|
+
* The object has the following API:
|
3887
3888
|
* - `binding.send(json)` - a method to send messages over the remote debugging protocol
|
3888
3889
|
* - `binding.onmessage = json => handleMessage(json)` - a callback that will be called for the protocol notifications and command responses.
|
3889
3890
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -2870,7 +2870,7 @@ export namespace Protocol {
|
|
2870
2870
|
depth?: integer;
|
2871
2871
|
/**
|
2872
2872
|
* The frame for whose document the AX tree should be retrieved.
|
2873
|
-
* If
|
2873
|
+
* If omitted, the root frame is used.
|
2874
2874
|
*/
|
2875
2875
|
frameId?: Page.FrameId;
|
2876
2876
|
}
|
@@ -3808,7 +3808,7 @@ export namespace Protocol {
|
|
3808
3808
|
*/
|
3809
3809
|
export interface AddressUI {
|
3810
3810
|
/**
|
3811
|
-
* A two dimension array containing the
|
3811
|
+
* A two dimension array containing the representation of values from an address profile.
|
3812
3812
|
*/
|
3813
3813
|
addressFields: AddressFields[];
|
3814
3814
|
}
|
@@ -4144,7 +4144,7 @@ export namespace Protocol {
|
|
4144
4144
|
/**
|
4145
4145
|
* Whether to allow all or deny all download requests, or use default Chrome behavior if
|
4146
4146
|
* available (otherwise deny). |allowAndName| allows download and names files according to
|
4147
|
-
* their
|
4147
|
+
* their download guids. (SetDownloadBehaviorRequestBehavior enum)
|
4148
4148
|
*/
|
4149
4149
|
behavior: ('deny' | 'allow' | 'allowAndName' | 'default');
|
4150
4150
|
/**
|
@@ -4495,7 +4495,7 @@ export namespace Protocol {
|
|
4495
4495
|
frameId: Page.FrameId;
|
4496
4496
|
/**
|
4497
4497
|
* Stylesheet resource URL. Empty if this is a constructed stylesheet created using
|
4498
|
-
* new CSSStyleSheet() (but non-empty if this is a constructed
|
4498
|
+
* new CSSStyleSheet() (but non-empty if this is a constructed stylesheet imported
|
4499
4499
|
* as a CSS module script).
|
4500
4500
|
*/
|
4501
4501
|
sourceURL: string;
|
@@ -6274,7 +6274,7 @@ export namespace Protocol {
|
|
6274
6274
|
|
6275
6275
|
export interface GetAttributesRequest {
|
6276
6276
|
/**
|
6277
|
-
* Id of the node to retrieve
|
6277
|
+
* Id of the node to retrieve attributes for.
|
6278
6278
|
*/
|
6279
6279
|
nodeId: NodeId;
|
6280
6280
|
}
|
@@ -7991,7 +7991,7 @@ export namespace Protocol {
|
|
7991
7991
|
export type VirtualTimePolicy = ('advance' | 'pause' | 'pauseIfNetworkFetchesPending');
|
7992
7992
|
|
7993
7993
|
/**
|
7994
|
-
* Used to specify User Agent
|
7994
|
+
* Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints
|
7995
7995
|
*/
|
7996
7996
|
export interface UserAgentBrandVersion {
|
7997
7997
|
brand: string;
|
@@ -7999,7 +7999,7 @@ export namespace Protocol {
|
|
7999
7999
|
}
|
8000
8000
|
|
8001
8001
|
/**
|
8002
|
-
* Used to specify User Agent
|
8002
|
+
* Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints
|
8003
8003
|
* Missing optional values will be filled in by the target with what it would normally use.
|
8004
8004
|
*/
|
8005
8005
|
export interface UserAgentMetadata {
|
@@ -8332,8 +8332,9 @@ export namespace Protocol {
|
|
8332
8332
|
|
8333
8333
|
export interface SetTimezoneOverrideRequest {
|
8334
8334
|
/**
|
8335
|
-
* The timezone identifier.
|
8336
|
-
*
|
8335
|
+
* The timezone identifier. List of supported timezones:
|
8336
|
+
* https://source.chromium.org/chromium/chromium/deps/icu.git/+/faee8bc70570192d82d2978a71e2a615788597d1:source/data/misc/metaZones.txt
|
8337
|
+
* If empty, disables the override and restores default host system timezone.
|
8337
8338
|
*/
|
8338
8339
|
timezoneId: string;
|
8339
8340
|
}
|
@@ -8481,7 +8482,7 @@ export namespace Protocol {
|
|
8481
8482
|
*/
|
8482
8483
|
handle: StreamHandle;
|
8483
8484
|
/**
|
8484
|
-
* Seek to the specified offset before reading (if not
|
8485
|
+
* Seek to the specified offset before reading (if not specified, proceed with offset
|
8485
8486
|
* following the last read). Some types of streams may only support sequential reads.
|
8486
8487
|
*/
|
8487
8488
|
offset?: integer;
|
@@ -9690,7 +9691,7 @@ export namespace Protocol {
|
|
9690
9691
|
|
9691
9692
|
export interface LayerTreeDidChangeEvent {
|
9692
9693
|
/**
|
9693
|
-
* Layer tree, absent if not in the
|
9694
|
+
* Layer tree, absent if not in the compositing mode.
|
9694
9695
|
*/
|
9695
9696
|
layers?: Layer[];
|
9696
9697
|
}
|
@@ -10153,7 +10154,7 @@ export namespace Protocol {
|
|
10153
10154
|
trustTokenParams?: TrustTokenParams;
|
10154
10155
|
/**
|
10155
10156
|
* True if this resource request is considered to be the 'same site' as the
|
10156
|
-
* request
|
10157
|
+
* request corresponding to the main frame.
|
10157
10158
|
*/
|
10158
10159
|
isSameSite?: boolean;
|
10159
10160
|
}
|
@@ -10400,7 +10401,7 @@ export namespace Protocol {
|
|
10400
10401
|
*/
|
10401
10402
|
fromPrefetchCache?: boolean;
|
10402
10403
|
/**
|
10403
|
-
*
|
10404
|
+
* Information about how Service Worker Static Router was used.
|
10404
10405
|
*/
|
10405
10406
|
serviceWorkerRouterInfo?: ServiceWorkerRouterInfo;
|
10406
10407
|
/**
|
@@ -10965,7 +10966,7 @@ export namespace Protocol {
|
|
10965
10966
|
*/
|
10966
10967
|
securityDetails?: SecurityDetails;
|
10967
10968
|
/**
|
10968
|
-
* Errors occurred while handling the signed
|
10969
|
+
* Errors occurred while handling the signed exchange.
|
10969
10970
|
*/
|
10970
10971
|
errors?: SignedExchangeError[];
|
10971
10972
|
}
|
@@ -11622,7 +11623,7 @@ export namespace Protocol {
|
|
11622
11623
|
*/
|
11623
11624
|
type: ResourceType;
|
11624
11625
|
/**
|
11625
|
-
*
|
11626
|
+
* Error message. List of network errors: https://cs.chromium.org/chromium/src/net/base/net_error_list.h
|
11626
11627
|
*/
|
11627
11628
|
errorText: string;
|
11628
11629
|
/**
|
@@ -12103,7 +12104,7 @@ export namespace Protocol {
|
|
12103
12104
|
*/
|
12104
12105
|
cookiePartitionKey?: string;
|
12105
12106
|
/**
|
12106
|
-
* True if partitioned cookies are enabled, but the partition key is not
|
12107
|
+
* True if partitioned cookies are enabled, but the partition key is not serializable to string.
|
12107
12108
|
*/
|
12108
12109
|
cookiePartitionKeyOpaque?: boolean;
|
12109
12110
|
/**
|
@@ -12263,7 +12264,7 @@ export namespace Protocol {
|
|
12263
12264
|
*/
|
12264
12265
|
export interface SourceOrderConfig {
|
12265
12266
|
/**
|
12266
|
-
* the color to outline the
|
12267
|
+
* the color to outline the given element in.
|
12267
12268
|
*/
|
12268
12269
|
parentOutlineColor: DOM.RGBA;
|
12269
12270
|
/**
|
@@ -12615,7 +12616,7 @@ export namespace Protocol {
|
|
12615
12616
|
*/
|
12616
12617
|
showCSS: boolean;
|
12617
12618
|
/**
|
12618
|
-
*
|
12619
|
+
* Selected platforms to show the overlay.
|
12619
12620
|
*/
|
12620
12621
|
selectedPlatform: string;
|
12621
12622
|
/**
|
@@ -13316,7 +13317,7 @@ export namespace Protocol {
|
|
13316
13317
|
*/
|
13317
13318
|
message: string;
|
13318
13319
|
/**
|
13319
|
-
* If
|
13320
|
+
* If critical, this is a non-recoverable parse error.
|
13320
13321
|
*/
|
13321
13322
|
critical: integer;
|
13322
13323
|
/**
|
@@ -13537,7 +13538,7 @@ export namespace Protocol {
|
|
13537
13538
|
}
|
13538
13539
|
|
13539
13540
|
/**
|
13540
|
-
* Enum of possible auto-
|
13541
|
+
* Enum of possible auto-response for permission / prompt dialogs.
|
13541
13542
|
*/
|
13542
13543
|
export type AutoResponseMode = ('none' | 'autoAccept' | 'autoReject' | 'autoOptOut');
|
13543
13544
|
|
@@ -13549,7 +13550,7 @@ export namespace Protocol {
|
|
13549
13550
|
/**
|
13550
13551
|
* List of not restored reasons for back-forward cache.
|
13551
13552
|
*/
|
13552
|
-
export type BackForwardCacheNotRestoredReason = ('NotPrimaryMainFrame' | 'BackForwardCacheDisabled' | 'RelatedActiveContentsExist' | 'HTTPStatusNotOK' | 'SchemeNotHTTPOrHTTPS' | 'Loading' | 'WasGrantedMediaAccess' | 'DisableForRenderFrameHostCalled' | 'DomainNotAllowed' | 'HTTPMethodNotGET' | 'SubframeIsNavigating' | 'Timeout' | 'CacheLimit' | 'JavaScriptExecution' | 'RendererProcessKilled' | 'RendererProcessCrashed' | 'SchedulerTrackedFeatureUsed' | 'ConflictingBrowsingInstance' | 'CacheFlushed' | 'ServiceWorkerVersionActivation' | 'SessionRestored' | 'ServiceWorkerPostMessage' | 'EnteredBackForwardCacheBeforeServiceWorkerHostAdded' | 'RenderFrameHostReused_SameSite' | 'RenderFrameHostReused_CrossSite' | 'ServiceWorkerClaim' | 'IgnoreEventAndEvict' | 'HaveInnerContents' | 'TimeoutPuttingInCache' | 'BackForwardCacheDisabledByLowMemory' | 'BackForwardCacheDisabledByCommandLine' | 'NetworkRequestDatapipeDrainedAsBytesConsumer' | 'NetworkRequestRedirected' | 'NetworkRequestTimeout' | 'NetworkExceedsBufferLimit' | 'NavigationCancelledWhileRestoring' | 'NotMostRecentNavigationEntry' | 'BackForwardCacheDisabledForPrerender' | 'UserAgentOverrideDiffers' | 'ForegroundCacheLimit' | 'BrowsingInstanceNotSwapped' | 'BackForwardCacheDisabledForDelegate' | 'UnloadHandlerExistsInMainFrame' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'CacheControlNoStore' | 'CacheControlNoStoreCookieModified' | 'CacheControlNoStoreHTTPOnlyCookieModified' | 'NoResponseHead' | 'Unknown' | 'ActivationNavigationsDisallowedForBug1234857' | 'ErrorDocument' | 'FencedFramesEmbedder' | 'CookieDisabled' | 'HTTPAuthRequired' | 'CookieFlushed' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | '
|
13553
|
+
export type BackForwardCacheNotRestoredReason = ('NotPrimaryMainFrame' | 'BackForwardCacheDisabled' | 'RelatedActiveContentsExist' | 'HTTPStatusNotOK' | 'SchemeNotHTTPOrHTTPS' | 'Loading' | 'WasGrantedMediaAccess' | 'DisableForRenderFrameHostCalled' | 'DomainNotAllowed' | 'HTTPMethodNotGET' | 'SubframeIsNavigating' | 'Timeout' | 'CacheLimit' | 'JavaScriptExecution' | 'RendererProcessKilled' | 'RendererProcessCrashed' | 'SchedulerTrackedFeatureUsed' | 'ConflictingBrowsingInstance' | 'CacheFlushed' | 'ServiceWorkerVersionActivation' | 'SessionRestored' | 'ServiceWorkerPostMessage' | 'EnteredBackForwardCacheBeforeServiceWorkerHostAdded' | 'RenderFrameHostReused_SameSite' | 'RenderFrameHostReused_CrossSite' | 'ServiceWorkerClaim' | 'IgnoreEventAndEvict' | 'HaveInnerContents' | 'TimeoutPuttingInCache' | 'BackForwardCacheDisabledByLowMemory' | 'BackForwardCacheDisabledByCommandLine' | 'NetworkRequestDatapipeDrainedAsBytesConsumer' | 'NetworkRequestRedirected' | 'NetworkRequestTimeout' | 'NetworkExceedsBufferLimit' | 'NavigationCancelledWhileRestoring' | 'NotMostRecentNavigationEntry' | 'BackForwardCacheDisabledForPrerender' | 'UserAgentOverrideDiffers' | 'ForegroundCacheLimit' | 'BrowsingInstanceNotSwapped' | 'BackForwardCacheDisabledForDelegate' | 'UnloadHandlerExistsInMainFrame' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'CacheControlNoStore' | 'CacheControlNoStoreCookieModified' | 'CacheControlNoStoreHTTPOnlyCookieModified' | 'NoResponseHead' | 'Unknown' | 'ActivationNavigationsDisallowedForBug1234857' | 'ErrorDocument' | 'FencedFramesEmbedder' | 'CookieDisabled' | 'HTTPAuthRequired' | 'CookieFlushed' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'OutstandingNetworkRequestOthers' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'WebXR' | 'SharedWorker' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'Portal' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'IndexedDBEvent' | 'Dummy' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCSticky' | 'WebTransportSticky' | 'WebSocketSticky' | 'SmartCard' | 'LiveMediaStreamTrack' | 'UnloadHandler' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame');
|
13553
13554
|
|
13554
13555
|
/**
|
13555
13556
|
* Types of not restored reasons for back-forward cache.
|
@@ -14584,7 +14585,7 @@ export namespace Protocol {
|
|
14584
14585
|
*/
|
14585
14586
|
type: DialogType;
|
14586
14587
|
/**
|
14587
|
-
* True
|
14588
|
+
* True if browser is capable showing or acting on the given dialog. When browser has no
|
14588
14589
|
* dialog handler for given target, calling alert while Page domain is engaged will stall
|
14589
14590
|
* the page execution. Execution can be resumed via calling Page.handleJavaScriptDialog.
|
14590
14591
|
*/
|
@@ -14619,7 +14620,7 @@ export namespace Protocol {
|
|
14619
14620
|
*/
|
14620
14621
|
export interface BackForwardCacheNotUsedEvent {
|
14621
14622
|
/**
|
14622
|
-
* The loader id for the associated
|
14623
|
+
* The loader id for the associated navigation.
|
14623
14624
|
*/
|
14624
14625
|
loaderId: Network.LoaderId;
|
14625
14626
|
/**
|
@@ -14833,7 +14834,7 @@ export namespace Protocol {
|
|
14833
14834
|
frameId: Page.FrameId;
|
14834
14835
|
/**
|
14835
14836
|
* The event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype
|
14836
|
-
* This determines which of the optional "details"
|
14837
|
+
* This determines which of the optional "details" fields is present.
|
14837
14838
|
*/
|
14838
14839
|
type: string;
|
14839
14840
|
/**
|
@@ -14941,7 +14942,7 @@ export namespace Protocol {
|
|
14941
14942
|
*/
|
14942
14943
|
certificateNetworkError?: string;
|
14943
14944
|
/**
|
14944
|
-
* True if the certificate uses a weak signature
|
14945
|
+
* True if the certificate uses a weak signature algorithm.
|
14945
14946
|
*/
|
14946
14947
|
certificateHasWeakSignature: boolean;
|
14947
14948
|
/**
|
@@ -16043,7 +16044,7 @@ export namespace Protocol {
|
|
16043
16044
|
*/
|
16044
16045
|
ownerOrigin: string;
|
16045
16046
|
/**
|
16046
|
-
* The sub-parameters
|
16047
|
+
* The sub-parameters wrapped by `params` are all optional and their
|
16047
16048
|
* presence/absence depends on `type`.
|
16048
16049
|
*/
|
16049
16050
|
params: SharedStorageAccessParams;
|
@@ -16306,6 +16307,9 @@ export namespace Protocol {
|
|
16306
16307
|
export interface TargetInfo {
|
16307
16308
|
targetId: TargetID;
|
16308
16309
|
type: string;
|
16310
|
+
/**
|
16311
|
+
* List of types: https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/devtools_agent_host_impl.cc?ss=chromium&q=f:devtools%20-f:out%20%22::kTypeTab%5B%5D%22
|
16312
|
+
*/
|
16309
16313
|
title: string;
|
16310
16314
|
url: string;
|
16311
16315
|
/**
|
@@ -16337,7 +16341,7 @@ export namespace Protocol {
|
|
16337
16341
|
*/
|
16338
16342
|
export interface FilterEntry {
|
16339
16343
|
/**
|
16340
|
-
* If set, causes exclusion of
|
16344
|
+
* If set, causes exclusion of matching targets from the list.
|
16341
16345
|
*/
|
16342
16346
|
exclude?: boolean;
|
16343
16347
|
/**
|
@@ -17946,7 +17950,7 @@ export namespace Protocol {
|
|
17946
17950
|
requestId?: Network.RequestId;
|
17947
17951
|
/**
|
17948
17952
|
* Error information
|
17949
|
-
* `errorMessage` is null
|
17953
|
+
* `errorMessage` is null if `errorType` is null.
|
17950
17954
|
*/
|
17951
17955
|
errorType?: RuleSetErrorType;
|
17952
17956
|
/**
|
@@ -17990,7 +17994,7 @@ export namespace Protocol {
|
|
17990
17994
|
* that had a speculation rule that triggered the attempt, and the
|
17991
17995
|
* BackendNodeIds of <a href> or <area href> elements that triggered the
|
17992
17996
|
* attempt (in the case of attempts triggered by a document rule). It is
|
17993
|
-
* possible for
|
17997
|
+
* possible for multiple rule sets and links to trigger a single attempt.
|
17994
17998
|
*/
|
17995
17999
|
export interface PreloadingAttemptSource {
|
17996
18000
|
key: PreloadingAttemptKey;
|