devtools-protocol 0.0.1170846 → 0.0.1173320
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 +10 -10
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +12 -12
- package/types/protocol.d.ts +12 -12
@@ -106,7 +106,7 @@
|
|
106
106
|
},
|
107
107
|
{
|
108
108
|
"name": "nativeSource",
|
109
|
-
"description": "The native markup source for this value, e.g. a
|
109
|
+
"description": "The native markup source for this value, e.g. a `<label>` element.",
|
110
110
|
"optional": true,
|
111
111
|
"$ref": "AXValueNativeSourceType"
|
112
112
|
},
|
@@ -3085,7 +3085,7 @@
|
|
3085
3085
|
},
|
3086
3086
|
{
|
3087
3087
|
"name": "isMutable",
|
3088
|
-
"description": "Whether this stylesheet is mutable. Inline stylesheets become mutable\nafter they have been modified via CSSOM API.\n
|
3088
|
+
"description": "Whether this stylesheet is mutable. Inline stylesheets become mutable\nafter they have been modified via CSSOM API.\n`<link>` element's stylesheets become mutable only if DevTools modifies them.\nConstructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation.",
|
3089
3089
|
"type": "boolean"
|
3090
3090
|
},
|
3091
3091
|
{
|
@@ -4972,7 +4972,7 @@
|
|
4972
4972
|
},
|
4973
4973
|
{
|
4974
4974
|
"domain": "DOM",
|
4975
|
-
"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
|
4975
|
+
"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.",
|
4976
4976
|
"dependencies": [
|
4977
4977
|
"Runtime"
|
4978
4978
|
],
|
@@ -8979,7 +8979,7 @@
|
|
8979
8979
|
"types": [
|
8980
8980
|
{
|
8981
8981
|
"id": "StreamHandle",
|
8982
|
-
"description": "This is either obtained from another method or specified as `blob
|
8982
|
+
"description": "This is either obtained from another method or specified as `blob:<uuid>` where\n`<uuid>` is an UUID of a Blob.",
|
8983
8983
|
"type": "string"
|
8984
8984
|
}
|
8985
8985
|
],
|
@@ -12566,7 +12566,7 @@
|
|
12566
12566
|
},
|
12567
12567
|
{
|
12568
12568
|
"name": "headerIntegrity",
|
12569
|
-
"description": "Signed exchange header integrity hash in the form of
|
12569
|
+
"description": "Signed exchange header integrity hash in the form of `sha256-<base64-hash-value>`.",
|
12570
12570
|
"type": "string"
|
12571
12571
|
}
|
12572
12572
|
]
|
@@ -18067,7 +18067,7 @@
|
|
18067
18067
|
},
|
18068
18068
|
{
|
18069
18069
|
"name": "backendNodeId",
|
18070
|
-
"description": "Input node id. Only present for file choosers opened via an
|
18070
|
+
"description": "Input node id. Only present for file choosers opened via an `<input type=\"file\">` element.",
|
18071
18071
|
"experimental": true,
|
18072
18072
|
"optional": true,
|
18073
18073
|
"$ref": "DOM.BackendNodeId"
|
@@ -23570,12 +23570,12 @@
|
|
23570
23570
|
},
|
23571
23571
|
{
|
23572
23572
|
"name": "sourceText",
|
23573
|
-
"description": "Source text of JSON representing the rule set. If it comes from\n
|
23573
|
+
"description": "Source text of JSON representing the rule set. If it comes from\n`<script>` tag, it is the textContent of the node. Note that it is\na JSON for valid case.\n\nSee also:\n- https://wicg.github.io/nav-speculation/speculation-rules.html\n- https://github.com/WICG/nav-speculation/blob/main/triggers.md",
|
23574
23574
|
"type": "string"
|
23575
23575
|
},
|
23576
23576
|
{
|
23577
23577
|
"name": "backendNodeId",
|
23578
|
-
"description": "A speculation rule set is either added through an inline\n
|
23578
|
+
"description": "A speculation rule set is either added through an inline\n`<script>` tag or through an external resource via the\n'Speculation-Rules' HTTP header. For the first case, we include\nthe BackendNodeId of the relevant `<script>` tag. For the second\ncase, we include the external URL where the rule set was loaded\nfrom, and also RequestId if Network domain is enabled.\n\nSee also:\n- https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-script\n- https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-header",
|
23579
23579
|
"optional": true,
|
23580
23580
|
"$ref": "DOM.BackendNodeId"
|
23581
23581
|
},
|
@@ -23712,7 +23712,6 @@
|
|
23712
23712
|
"AudioOutputDeviceRequested",
|
23713
23713
|
"MixedContent",
|
23714
23714
|
"TriggerBackgrounded",
|
23715
|
-
"EmbedderTriggeredAndCrossOriginRedirected",
|
23716
23715
|
"MemoryLimitExceeded",
|
23717
23716
|
"FailToGetMemoryUsage",
|
23718
23717
|
"DataSaverEnabled",
|
@@ -23746,7 +23745,8 @@
|
|
23746
23745
|
"MemoryPressureAfterTriggered",
|
23747
23746
|
"PrerenderingDisabledByDevTools",
|
23748
23747
|
"ResourceLoadBlockedByClient",
|
23749
|
-
"SpeculationRuleRemoved"
|
23748
|
+
"SpeculationRuleRemoved",
|
23749
|
+
"ActivatedWithAuxiliaryBrowsingContexts"
|
23750
23750
|
]
|
23751
23751
|
},
|
23752
23752
|
{
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -72,7 +72,7 @@ experimental domain Accessibility
|
|
72
72
|
optional AXValue attributeValue
|
73
73
|
# Whether this source is superseded by a higher priority source.
|
74
74
|
optional boolean superseded
|
75
|
-
# The native markup source for this value, e.g. a
|
75
|
+
# The native markup source for this value, e.g. a `<label>` element.
|
76
76
|
optional AXValueNativeSourceType nativeSource
|
77
77
|
# The value, such as a node or node list, of the native source.
|
78
78
|
optional AXValue nativeSourceValue
|
@@ -1503,7 +1503,7 @@ experimental domain CSS
|
|
1503
1503
|
boolean isInline
|
1504
1504
|
# Whether this stylesheet is mutable. Inline stylesheets become mutable
|
1505
1505
|
# after they have been modified via CSSOM API.
|
1506
|
-
#
|
1506
|
+
# `<link>` element's stylesheets become mutable only if DevTools modifies them.
|
1507
1507
|
# Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation.
|
1508
1508
|
boolean isMutable
|
1509
1509
|
# True if this stylesheet is created through new CSSStyleSheet() or imported as a
|
@@ -2326,8 +2326,8 @@ experimental domain Cast
|
|
2326
2326
|
# the JavaScript object wrapper, etc. It is important that client receives DOM events only for the
|
2327
2327
|
# nodes that are known to the client. Backend keeps track of the nodes that were sent to the client
|
2328
2328
|
# and never sends the same node twice. It is client's responsibility to collect information about
|
2329
|
-
# the nodes that were sent to the client
|
2330
|
-
# corresponding document elements as their child nodes
|
2329
|
+
# the nodes that were sent to the client. Note that `iframe` owner elements will return
|
2330
|
+
# corresponding document elements as their child nodes.
|
2331
2331
|
domain DOM
|
2332
2332
|
depends on Runtime
|
2333
2333
|
|
@@ -4107,8 +4107,8 @@ experimental domain HeadlessExperimental
|
|
4107
4107
|
# Input/Output operations for streams produced by DevTools.
|
4108
4108
|
domain IO
|
4109
4109
|
|
4110
|
-
# This is either obtained from another method or specified as `blob
|
4111
|
-
#
|
4110
|
+
# This is either obtained from another method or specified as `blob:<uuid>` where
|
4111
|
+
# `<uuid>` is an UUID of a Blob.
|
4112
4112
|
type StreamHandle extends string
|
4113
4113
|
|
4114
4114
|
# Close the stream, discard any temporary backing storage.
|
@@ -5880,7 +5880,7 @@ domain Network
|
|
5880
5880
|
Headers responseHeaders
|
5881
5881
|
# Signed exchange response signature.
|
5882
5882
|
array of SignedExchangeSignature signatures
|
5883
|
-
# Signed exchange header integrity hash in the form of
|
5883
|
+
# Signed exchange header integrity hash in the form of `sha256-<base64-hash-value>`.
|
5884
5884
|
string headerIntegrity
|
5885
5885
|
|
5886
5886
|
# Field type for a signed exchange related error.
|
@@ -8359,7 +8359,7 @@ domain Page
|
|
8359
8359
|
enum mode
|
8360
8360
|
selectSingle
|
8361
8361
|
selectMultiple
|
8362
|
-
# Input node id. Only present for file choosers opened via an
|
8362
|
+
# Input node id. Only present for file choosers opened via an `<input type="file">` element.
|
8363
8363
|
experimental optional DOM.BackendNodeId backendNodeId
|
8364
8364
|
|
8365
8365
|
# Fired when frame has been attached to its parent.
|
@@ -11096,7 +11096,7 @@ experimental domain Preload
|
|
11096
11096
|
# Identifies a document which the rule set is associated with.
|
11097
11097
|
Network.LoaderId loaderId
|
11098
11098
|
# Source text of JSON representing the rule set. If it comes from
|
11099
|
-
#
|
11099
|
+
# `<script>` tag, it is the textContent of the node. Note that it is
|
11100
11100
|
# a JSON for valid case.
|
11101
11101
|
#
|
11102
11102
|
# See also:
|
@@ -11104,9 +11104,9 @@ experimental domain Preload
|
|
11104
11104
|
# - https://github.com/WICG/nav-speculation/blob/main/triggers.md
|
11105
11105
|
string sourceText
|
11106
11106
|
# A speculation rule set is either added through an inline
|
11107
|
-
#
|
11107
|
+
# `<script>` tag or through an external resource via the
|
11108
11108
|
# 'Speculation-Rules' HTTP header. For the first case, we include
|
11109
|
-
# the BackendNodeId of the relevant
|
11109
|
+
# the BackendNodeId of the relevant `<script>` tag. For the second
|
11110
11110
|
# case, we include the external URL where the rule set was loaded
|
11111
11111
|
# from, and also RequestId if Network domain is enabled.
|
11112
11112
|
#
|
@@ -11210,7 +11210,6 @@ experimental domain Preload
|
|
11210
11210
|
AudioOutputDeviceRequested
|
11211
11211
|
MixedContent
|
11212
11212
|
TriggerBackgrounded
|
11213
|
-
EmbedderTriggeredAndCrossOriginRedirected
|
11214
11213
|
MemoryLimitExceeded
|
11215
11214
|
# Prerenders can be cancelled when Chrome uses excessive memory. This is
|
11216
11215
|
# recorded when it fails to get the memory usage.
|
@@ -11247,6 +11246,7 @@ experimental domain Preload
|
|
11247
11246
|
PrerenderingDisabledByDevTools
|
11248
11247
|
ResourceLoadBlockedByClient
|
11249
11248
|
SpeculationRuleRemoved
|
11249
|
+
ActivatedWithAuxiliaryBrowsingContexts
|
11250
11250
|
|
11251
11251
|
# Fired when a prerender attempt is completed.
|
11252
11252
|
event prerenderAttemptCompleted
|
package/types/protocol.d.ts
CHANGED
@@ -2721,7 +2721,7 @@ export namespace Protocol {
|
|
2721
2721
|
*/
|
2722
2722
|
superseded?: boolean;
|
2723
2723
|
/**
|
2724
|
-
* The native markup source for this value, e.g. a
|
2724
|
+
* The native markup source for this value, e.g. a `<label>` element.
|
2725
2725
|
*/
|
2726
2726
|
nativeSource?: AXValueNativeSourceType;
|
2727
2727
|
/**
|
@@ -4398,7 +4398,7 @@ export namespace Protocol {
|
|
4398
4398
|
/**
|
4399
4399
|
* Whether this stylesheet is mutable. Inline stylesheets become mutable
|
4400
4400
|
* after they have been modified via CSSOM API.
|
4401
|
-
*
|
4401
|
+
* `<link>` element's stylesheets become mutable only if DevTools modifies them.
|
4402
4402
|
* Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation.
|
4403
4403
|
*/
|
4404
4404
|
isMutable: boolean;
|
@@ -5616,8 +5616,8 @@ export namespace Protocol {
|
|
5616
5616
|
* the JavaScript object wrapper, etc. It is important that client receives DOM events only for the
|
5617
5617
|
* nodes that are known to the client. Backend keeps track of the nodes that were sent to the client
|
5618
5618
|
* and never sends the same node twice. It is client's responsibility to collect information about
|
5619
|
-
* the nodes that were sent to the client
|
5620
|
-
* corresponding document elements as their child nodes
|
5619
|
+
* the nodes that were sent to the client. Note that `iframe` owner elements will return
|
5620
|
+
* corresponding document elements as their child nodes.
|
5621
5621
|
*/
|
5622
5622
|
export namespace DOM {
|
5623
5623
|
|
@@ -8158,8 +8158,8 @@ export namespace Protocol {
|
|
8158
8158
|
export namespace IO {
|
8159
8159
|
|
8160
8160
|
/**
|
8161
|
-
* This is either obtained from another method or specified as `blob
|
8162
|
-
*
|
8161
|
+
* This is either obtained from another method or specified as `blob:<uuid>` where
|
8162
|
+
* `<uuid>` is an UUID of a Blob.
|
8163
8163
|
*/
|
8164
8164
|
export type StreamHandle = string;
|
8165
8165
|
|
@@ -10571,7 +10571,7 @@ export namespace Protocol {
|
|
10571
10571
|
*/
|
10572
10572
|
signatures: SignedExchangeSignature[];
|
10573
10573
|
/**
|
10574
|
-
* Signed exchange header integrity hash in the form of
|
10574
|
+
* Signed exchange header integrity hash in the form of `sha256-<base64-hash-value>`.
|
10575
10575
|
*/
|
10576
10576
|
headerIntegrity: string;
|
10577
10577
|
}
|
@@ -13937,7 +13937,7 @@ export namespace Protocol {
|
|
13937
13937
|
*/
|
13938
13938
|
mode: ('selectSingle' | 'selectMultiple');
|
13939
13939
|
/**
|
13940
|
-
* Input node id. Only present for file choosers opened via an
|
13940
|
+
* Input node id. Only present for file choosers opened via an `<input type="file">` element.
|
13941
13941
|
*/
|
13942
13942
|
backendNodeId?: DOM.BackendNodeId;
|
13943
13943
|
}
|
@@ -17297,7 +17297,7 @@ export namespace Protocol {
|
|
17297
17297
|
loaderId: Network.LoaderId;
|
17298
17298
|
/**
|
17299
17299
|
* Source text of JSON representing the rule set. If it comes from
|
17300
|
-
*
|
17300
|
+
* `<script>` tag, it is the textContent of the node. Note that it is
|
17301
17301
|
* a JSON for valid case.
|
17302
17302
|
*
|
17303
17303
|
* See also:
|
@@ -17307,9 +17307,9 @@ export namespace Protocol {
|
|
17307
17307
|
sourceText: string;
|
17308
17308
|
/**
|
17309
17309
|
* A speculation rule set is either added through an inline
|
17310
|
-
*
|
17310
|
+
* `<script>` tag or through an external resource via the
|
17311
17311
|
* 'Speculation-Rules' HTTP header. For the first case, we include
|
17312
|
-
* the BackendNodeId of the relevant
|
17312
|
+
* the BackendNodeId of the relevant `<script>` tag. For the second
|
17313
17313
|
* case, we include the external URL where the rule set was loaded
|
17314
17314
|
* from, and also RequestId if Network domain is enabled.
|
17315
17315
|
*
|
@@ -17377,7 +17377,7 @@ export namespace Protocol {
|
|
17377
17377
|
/**
|
17378
17378
|
* List of FinalStatus reasons for Prerender2.
|
17379
17379
|
*/
|
17380
|
-
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | '
|
17380
|
+
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'PrerenderingDisabledByDevTools' | 'ResourceLoadBlockedByClient' | 'SpeculationRuleRemoved' | 'ActivatedWithAuxiliaryBrowsingContexts');
|
17381
17381
|
|
17382
17382
|
/**
|
17383
17383
|
* Preloading status values, see also PreloadingTriggeringOutcome. This
|