devtools-protocol 0.0.1172767 → 0.0.1173815
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 +13 -13
@@ -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
|
},
|
@@ -1009,7 +1009,8 @@
|
|
1009
1009
|
"WarnSameSiteLaxCrossDowngradeStrict",
|
1010
1010
|
"WarnSameSiteLaxCrossDowngradeLax",
|
1011
1011
|
"WarnAttributeValueExceedsMaxSize",
|
1012
|
-
"WarnDomainNonASCII"
|
1012
|
+
"WarnDomainNonASCII",
|
1013
|
+
"WarnThirdPartyPhaseout"
|
1013
1014
|
]
|
1014
1015
|
},
|
1015
1016
|
{
|
@@ -3085,7 +3086,7 @@
|
|
3085
3086
|
},
|
3086
3087
|
{
|
3087
3088
|
"name": "isMutable",
|
3088
|
-
"description": "Whether this stylesheet is mutable. Inline stylesheets become mutable\nafter they have been modified via CSSOM API.\n
|
3089
|
+
"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
3090
|
"type": "boolean"
|
3090
3091
|
},
|
3091
3092
|
{
|
@@ -4972,7 +4973,7 @@
|
|
4972
4973
|
},
|
4973
4974
|
{
|
4974
4975
|
"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
|
4976
|
+
"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
4977
|
"dependencies": [
|
4977
4978
|
"Runtime"
|
4978
4979
|
],
|
@@ -8979,7 +8980,7 @@
|
|
8979
8980
|
"types": [
|
8980
8981
|
{
|
8981
8982
|
"id": "StreamHandle",
|
8982
|
-
"description": "This is either obtained from another method or specified as `blob
|
8983
|
+
"description": "This is either obtained from another method or specified as `blob:<uuid>` where\n`<uuid>` is an UUID of a Blob.",
|
8983
8984
|
"type": "string"
|
8984
8985
|
}
|
8985
8986
|
],
|
@@ -12566,7 +12567,7 @@
|
|
12566
12567
|
},
|
12567
12568
|
{
|
12568
12569
|
"name": "headerIntegrity",
|
12569
|
-
"description": "Signed exchange header integrity hash in the form of
|
12570
|
+
"description": "Signed exchange header integrity hash in the form of `sha256-<base64-hash-value>`.",
|
12570
12571
|
"type": "string"
|
12571
12572
|
}
|
12572
12573
|
]
|
@@ -18067,7 +18068,7 @@
|
|
18067
18068
|
},
|
18068
18069
|
{
|
18069
18070
|
"name": "backendNodeId",
|
18070
|
-
"description": "Input node id. Only present for file choosers opened via an
|
18071
|
+
"description": "Input node id. Only present for file choosers opened via an `<input type=\"file\">` element.",
|
18071
18072
|
"experimental": true,
|
18072
18073
|
"optional": true,
|
18073
18074
|
"$ref": "DOM.BackendNodeId"
|
@@ -23570,12 +23571,12 @@
|
|
23570
23571
|
},
|
23571
23572
|
{
|
23572
23573
|
"name": "sourceText",
|
23573
|
-
"description": "Source text of JSON representing the rule set. If it comes from\n
|
23574
|
+
"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
23575
|
"type": "string"
|
23575
23576
|
},
|
23576
23577
|
{
|
23577
23578
|
"name": "backendNodeId",
|
23578
|
-
"description": "A speculation rule set is either added through an inline\n
|
23579
|
+
"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
23580
|
"optional": true,
|
23580
23581
|
"$ref": "DOM.BackendNodeId"
|
23581
23582
|
},
|
@@ -23712,7 +23713,6 @@
|
|
23712
23713
|
"AudioOutputDeviceRequested",
|
23713
23714
|
"MixedContent",
|
23714
23715
|
"TriggerBackgrounded",
|
23715
|
-
"EmbedderTriggeredAndCrossOriginRedirected",
|
23716
23716
|
"MemoryLimitExceeded",
|
23717
23717
|
"FailToGetMemoryUsage",
|
23718
23718
|
"DataSaverEnabled",
|
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
|
@@ -496,6 +496,7 @@ experimental domain Audits
|
|
496
496
|
WarnSameSiteLaxCrossDowngradeLax
|
497
497
|
WarnAttributeValueExceedsMaxSize
|
498
498
|
WarnDomainNonASCII
|
499
|
+
WarnThirdPartyPhaseout
|
499
500
|
|
500
501
|
type CookieOperation extends string
|
501
502
|
enum
|
@@ -1503,7 +1504,7 @@ experimental domain CSS
|
|
1503
1504
|
boolean isInline
|
1504
1505
|
# Whether this stylesheet is mutable. Inline stylesheets become mutable
|
1505
1506
|
# after they have been modified via CSSOM API.
|
1506
|
-
#
|
1507
|
+
# `<link>` element's stylesheets become mutable only if DevTools modifies them.
|
1507
1508
|
# Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation.
|
1508
1509
|
boolean isMutable
|
1509
1510
|
# True if this stylesheet is created through new CSSStyleSheet() or imported as a
|
@@ -2326,8 +2327,8 @@ experimental domain Cast
|
|
2326
2327
|
# the JavaScript object wrapper, etc. It is important that client receives DOM events only for the
|
2327
2328
|
# nodes that are known to the client. Backend keeps track of the nodes that were sent to the client
|
2328
2329
|
# 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
|
2330
|
+
# the nodes that were sent to the client. Note that `iframe` owner elements will return
|
2331
|
+
# corresponding document elements as their child nodes.
|
2331
2332
|
domain DOM
|
2332
2333
|
depends on Runtime
|
2333
2334
|
|
@@ -4107,8 +4108,8 @@ experimental domain HeadlessExperimental
|
|
4107
4108
|
# Input/Output operations for streams produced by DevTools.
|
4108
4109
|
domain IO
|
4109
4110
|
|
4110
|
-
# This is either obtained from another method or specified as `blob
|
4111
|
-
#
|
4111
|
+
# This is either obtained from another method or specified as `blob:<uuid>` where
|
4112
|
+
# `<uuid>` is an UUID of a Blob.
|
4112
4113
|
type StreamHandle extends string
|
4113
4114
|
|
4114
4115
|
# Close the stream, discard any temporary backing storage.
|
@@ -5880,7 +5881,7 @@ domain Network
|
|
5880
5881
|
Headers responseHeaders
|
5881
5882
|
# Signed exchange response signature.
|
5882
5883
|
array of SignedExchangeSignature signatures
|
5883
|
-
# Signed exchange header integrity hash in the form of
|
5884
|
+
# Signed exchange header integrity hash in the form of `sha256-<base64-hash-value>`.
|
5884
5885
|
string headerIntegrity
|
5885
5886
|
|
5886
5887
|
# Field type for a signed exchange related error.
|
@@ -8359,7 +8360,7 @@ domain Page
|
|
8359
8360
|
enum mode
|
8360
8361
|
selectSingle
|
8361
8362
|
selectMultiple
|
8362
|
-
# Input node id. Only present for file choosers opened via an
|
8363
|
+
# Input node id. Only present for file choosers opened via an `<input type="file">` element.
|
8363
8364
|
experimental optional DOM.BackendNodeId backendNodeId
|
8364
8365
|
|
8365
8366
|
# Fired when frame has been attached to its parent.
|
@@ -11096,7 +11097,7 @@ experimental domain Preload
|
|
11096
11097
|
# Identifies a document which the rule set is associated with.
|
11097
11098
|
Network.LoaderId loaderId
|
11098
11099
|
# Source text of JSON representing the rule set. If it comes from
|
11099
|
-
#
|
11100
|
+
# `<script>` tag, it is the textContent of the node. Note that it is
|
11100
11101
|
# a JSON for valid case.
|
11101
11102
|
#
|
11102
11103
|
# See also:
|
@@ -11104,9 +11105,9 @@ experimental domain Preload
|
|
11104
11105
|
# - https://github.com/WICG/nav-speculation/blob/main/triggers.md
|
11105
11106
|
string sourceText
|
11106
11107
|
# A speculation rule set is either added through an inline
|
11107
|
-
#
|
11108
|
+
# `<script>` tag or through an external resource via the
|
11108
11109
|
# 'Speculation-Rules' HTTP header. For the first case, we include
|
11109
|
-
# the BackendNodeId of the relevant
|
11110
|
+
# the BackendNodeId of the relevant `<script>` tag. For the second
|
11110
11111
|
# case, we include the external URL where the rule set was loaded
|
11111
11112
|
# from, and also RequestId if Network domain is enabled.
|
11112
11113
|
#
|
@@ -11210,7 +11211,6 @@ experimental domain Preload
|
|
11210
11211
|
AudioOutputDeviceRequested
|
11211
11212
|
MixedContent
|
11212
11213
|
TriggerBackgrounded
|
11213
|
-
EmbedderTriggeredAndCrossOriginRedirected
|
11214
11214
|
MemoryLimitExceeded
|
11215
11215
|
# Prerenders can be cancelled when Chrome uses excessive memory. This is
|
11216
11216
|
# recorded when it fails to get the memory usage.
|
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
|
/**
|
@@ -3278,7 +3278,7 @@ export namespace Protocol {
|
|
3278
3278
|
|
3279
3279
|
export type CookieExclusionReason = ('ExcludeSameSiteUnspecifiedTreatedAsLax' | 'ExcludeSameSiteNoneInsecure' | 'ExcludeSameSiteLax' | 'ExcludeSameSiteStrict' | 'ExcludeInvalidSameParty' | 'ExcludeSamePartyCrossPartyContext' | 'ExcludeDomainNonASCII' | 'ExcludeThirdPartyCookieBlockedInFirstPartySet');
|
3280
3280
|
|
3281
|
-
export type CookieWarningReason = ('WarnSameSiteUnspecifiedCrossSiteContext' | 'WarnSameSiteNoneInsecure' | 'WarnSameSiteUnspecifiedLaxAllowUnsafe' | 'WarnSameSiteStrictLaxDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeLax' | 'WarnSameSiteLaxCrossDowngradeStrict' | 'WarnSameSiteLaxCrossDowngradeLax' | 'WarnAttributeValueExceedsMaxSize' | 'WarnDomainNonASCII');
|
3281
|
+
export type CookieWarningReason = ('WarnSameSiteUnspecifiedCrossSiteContext' | 'WarnSameSiteNoneInsecure' | 'WarnSameSiteUnspecifiedLaxAllowUnsafe' | 'WarnSameSiteStrictLaxDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeLax' | 'WarnSameSiteLaxCrossDowngradeStrict' | 'WarnSameSiteLaxCrossDowngradeLax' | 'WarnAttributeValueExceedsMaxSize' | 'WarnDomainNonASCII' | 'WarnThirdPartyPhaseout');
|
3282
3282
|
|
3283
3283
|
export type CookieOperation = ('SetCookie' | 'ReadCookie');
|
3284
3284
|
|
@@ -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
|