devtools-protocol 0.0.1262535 → 0.0.1263784
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.
@@ -8895,6 +8895,7 @@
|
|
8895
8895
|
{
|
8896
8896
|
"name": "canEmulate",
|
8897
8897
|
"description": "Tells whether emulation is supported.",
|
8898
|
+
"deprecated": true,
|
8898
8899
|
"returns": [
|
8899
8900
|
{
|
8900
8901
|
"name": "result",
|
@@ -19105,7 +19106,7 @@
|
|
19105
19106
|
},
|
19106
19107
|
{
|
19107
19108
|
"name": "hasBrowserHandler",
|
19108
|
-
"description": "True
|
19109
|
+
"description": "True iff 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.",
|
19109
19110
|
"type": "boolean"
|
19110
19111
|
},
|
19111
19112
|
{
|
@@ -22236,11 +22237,11 @@
|
|
22236
22237
|
},
|
22237
22238
|
{
|
22238
22239
|
"name": "type",
|
22240
|
+
"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",
|
22239
22241
|
"type": "string"
|
22240
22242
|
},
|
22241
22243
|
{
|
22242
22244
|
"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
22245
|
"type": "string"
|
22245
22246
|
},
|
22246
22247
|
{
|
@@ -24877,7 +24878,7 @@
|
|
24877
24878
|
},
|
24878
24879
|
{
|
24879
24880
|
"name": "errorType",
|
24880
|
-
"description": "Error information\n`errorMessage` is null
|
24881
|
+
"description": "Error information\n`errorMessage` is null iff `errorType` is null.",
|
24881
24882
|
"optional": true,
|
24882
24883
|
"$ref": "RuleSetErrorType"
|
24883
24884
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -4053,7 +4053,7 @@ domain Emulation
|
|
4053
4053
|
optional SensorReadingQuaternion quaternion
|
4054
4054
|
|
4055
4055
|
# Tells whether emulation is supported.
|
4056
|
-
command canEmulate
|
4056
|
+
deprecated command canEmulate
|
4057
4057
|
returns
|
4058
4058
|
# True if emulation is supported.
|
4059
4059
|
boolean result
|
@@ -4272,7 +4272,7 @@ domain Emulation
|
|
4272
4272
|
# Overrides default host system timezone with the specified one.
|
4273
4273
|
command setTimezoneOverride
|
4274
4274
|
parameters
|
4275
|
-
# The timezone identifier. List of supported timezones:
|
4275
|
+
# The timezone identifier. List of supported timezones:
|
4276
4276
|
# https://source.chromium.org/chromium/chromium/deps/icu.git/+/faee8bc70570192d82d2978a71e2a615788597d1:source/data/misc/metaZones.txt
|
4277
4277
|
# If empty, disables the override and restores default host system timezone.
|
4278
4278
|
string timezoneId
|
@@ -8872,7 +8872,7 @@ domain Page
|
|
8872
8872
|
string message
|
8873
8873
|
# Dialog type.
|
8874
8874
|
DialogType type
|
8875
|
-
# True
|
8875
|
+
# True iff browser is capable showing or acting on the given dialog. When browser has no
|
8876
8876
|
# dialog handler for given target, calling alert while Page domain is engaged will stall
|
8877
8877
|
# the page execution. Execution can be resumed via calling Page.handleJavaScriptDialog.
|
8878
8878
|
boolean hasBrowserHandler
|
@@ -10449,8 +10449,8 @@ domain Target
|
|
10449
10449
|
type TargetInfo extends object
|
10450
10450
|
properties
|
10451
10451
|
TargetID targetId
|
10452
|
-
string type
|
10453
10452
|
# 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
|
10453
|
+
string type
|
10454
10454
|
string title
|
10455
10455
|
string url
|
10456
10456
|
# Whether the target has an attached client.
|
@@ -11718,7 +11718,7 @@ experimental domain Preload
|
|
11718
11718
|
optional string url
|
11719
11719
|
optional Network.RequestId requestId
|
11720
11720
|
# Error information
|
11721
|
-
# `errorMessage` is null
|
11721
|
+
# `errorMessage` is null iff `errorType` is null.
|
11722
11722
|
optional RuleSetErrorType errorType
|
11723
11723
|
# TODO(https://crbug.com/1425354): Replace this property with structured error.
|
11724
11724
|
deprecated optional string errorMessage
|
package/types/protocol.d.ts
CHANGED
@@ -14585,7 +14585,7 @@ export namespace Protocol {
|
|
14585
14585
|
*/
|
14586
14586
|
type: DialogType;
|
14587
14587
|
/**
|
14588
|
-
* True
|
14588
|
+
* True iff browser is capable showing or acting on the given dialog. When browser has no
|
14589
14589
|
* dialog handler for given target, calling alert while Page domain is engaged will stall
|
14590
14590
|
* the page execution. Execution can be resumed via calling Page.handleJavaScriptDialog.
|
14591
14591
|
*/
|
@@ -16306,10 +16306,10 @@ export namespace Protocol {
|
|
16306
16306
|
|
16307
16307
|
export interface TargetInfo {
|
16308
16308
|
targetId: TargetID;
|
16309
|
-
type: string;
|
16310
16309
|
/**
|
16311
16310
|
* 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
16311
|
*/
|
16312
|
+
type: string;
|
16313
16313
|
title: string;
|
16314
16314
|
url: string;
|
16315
16315
|
/**
|
@@ -17950,7 +17950,7 @@ export namespace Protocol {
|
|
17950
17950
|
requestId?: Network.RequestId;
|
17951
17951
|
/**
|
17952
17952
|
* Error information
|
17953
|
-
* `errorMessage` is null
|
17953
|
+
* `errorMessage` is null iff `errorType` is null.
|
17954
17954
|
*/
|
17955
17955
|
errorType?: RuleSetErrorType;
|
17956
17956
|
/**
|