devtools-protocol 0.0.1601035 → 0.0.1602427
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 +50 -7
- package/package.json +1 -1
- package/pdl/domains/CSS.pdl +2 -0
- package/pdl/domains/DOM.pdl +5 -3
- package/pdl/domains/Network.pdl +13 -0
- package/pdl/domains/WebAuthn.pdl +9 -0
- package/types/protocol.d.ts +42 -5
|
@@ -5508,6 +5508,13 @@
|
|
|
5508
5508
|
"items": {
|
|
5509
5509
|
"$ref": "CSSFunctionNode"
|
|
5510
5510
|
}
|
|
5511
|
+
},
|
|
5512
|
+
{
|
|
5513
|
+
"name": "originTreeScopeNodeId",
|
|
5514
|
+
"description": "The BackendNodeId of the DOM node that constitutes the origin tree scope of this rule.",
|
|
5515
|
+
"experimental": true,
|
|
5516
|
+
"optional": true,
|
|
5517
|
+
"$ref": "DOM.BackendNodeId"
|
|
5511
5518
|
}
|
|
5512
5519
|
]
|
|
5513
5520
|
},
|
|
@@ -6921,7 +6928,8 @@
|
|
|
6921
6928
|
"domain": "DOM",
|
|
6922
6929
|
"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.",
|
|
6923
6930
|
"dependencies": [
|
|
6924
|
-
"Runtime"
|
|
6931
|
+
"Runtime",
|
|
6932
|
+
"Network"
|
|
6925
6933
|
],
|
|
6926
6934
|
"types": [
|
|
6927
6935
|
{
|
|
@@ -6970,6 +6978,7 @@
|
|
|
6970
6978
|
"checkmark",
|
|
6971
6979
|
"before",
|
|
6972
6980
|
"after",
|
|
6981
|
+
"expand-icon",
|
|
6973
6982
|
"picker-icon",
|
|
6974
6983
|
"interest-hint",
|
|
6975
6984
|
"marker",
|
|
@@ -7277,10 +7286,10 @@
|
|
|
7277
7286
|
}
|
|
7278
7287
|
},
|
|
7279
7288
|
{
|
|
7280
|
-
"name": "
|
|
7289
|
+
"name": "adProvenance",
|
|
7281
7290
|
"experimental": true,
|
|
7282
7291
|
"optional": true,
|
|
7283
|
-
"
|
|
7292
|
+
"$ref": "Network.AdProvenance"
|
|
7284
7293
|
}
|
|
7285
7294
|
]
|
|
7286
7295
|
},
|
|
@@ -8846,9 +8855,10 @@
|
|
|
8846
8855
|
"$ref": "DOM.NodeId"
|
|
8847
8856
|
},
|
|
8848
8857
|
{
|
|
8849
|
-
"name": "
|
|
8850
|
-
"description": "
|
|
8851
|
-
"
|
|
8858
|
+
"name": "adProvenance",
|
|
8859
|
+
"description": "The provenance of the ad related node, if it is ad related.",
|
|
8860
|
+
"optional": true,
|
|
8861
|
+
"$ref": "Network.AdProvenance"
|
|
8852
8862
|
}
|
|
8853
8863
|
]
|
|
8854
8864
|
},
|
|
@@ -17289,6 +17299,26 @@
|
|
|
17289
17299
|
}
|
|
17290
17300
|
]
|
|
17291
17301
|
},
|
|
17302
|
+
{
|
|
17303
|
+
"id": "AdProvenance",
|
|
17304
|
+
"description": "Represents the provenance of an ad resource or element. Only one of\n`filterlistRule` or `adScriptAncestry` can be set. If `filterlistRule`\nis provided, the resource URL directly matches a filter list rule. If\n`adScriptAncestry` is provided, an ad script initiated the resource fetch or\nappended the element to the DOM. If neither is provided, the entity is\nknown to be an ad, but provenance tracking information is unavailable.",
|
|
17305
|
+
"experimental": true,
|
|
17306
|
+
"type": "object",
|
|
17307
|
+
"properties": [
|
|
17308
|
+
{
|
|
17309
|
+
"name": "filterlistRule",
|
|
17310
|
+
"description": "The filterlist rule that matched, if any.",
|
|
17311
|
+
"optional": true,
|
|
17312
|
+
"type": "string"
|
|
17313
|
+
},
|
|
17314
|
+
{
|
|
17315
|
+
"name": "adScriptAncestry",
|
|
17316
|
+
"description": "The script ancestry that created the ad, if any.",
|
|
17317
|
+
"optional": true,
|
|
17318
|
+
"$ref": "AdAncestry"
|
|
17319
|
+
}
|
|
17320
|
+
]
|
|
17321
|
+
},
|
|
17292
17322
|
{
|
|
17293
17323
|
"id": "CrossOriginOpenerPolicyValue",
|
|
17294
17324
|
"experimental": true,
|
|
@@ -30926,7 +30956,8 @@
|
|
|
30926
30956
|
"type": "string",
|
|
30927
30957
|
"enum": [
|
|
30928
30958
|
"ctap2_0",
|
|
30929
|
-
"ctap2_1"
|
|
30959
|
+
"ctap2_1",
|
|
30960
|
+
"ctap2_2"
|
|
30930
30961
|
]
|
|
30931
30962
|
},
|
|
30932
30963
|
{
|
|
@@ -30994,6 +31025,18 @@
|
|
|
30994
31025
|
"optional": true,
|
|
30995
31026
|
"type": "boolean"
|
|
30996
31027
|
},
|
|
31028
|
+
{
|
|
31029
|
+
"name": "hasHmacSecret",
|
|
31030
|
+
"description": "If set to true, the authenticator will support the hmac-secret extension.\nhttps://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-hmac-secret-extension\nDefaults to false.",
|
|
31031
|
+
"optional": true,
|
|
31032
|
+
"type": "boolean"
|
|
31033
|
+
},
|
|
31034
|
+
{
|
|
31035
|
+
"name": "hasHmacSecretMc",
|
|
31036
|
+
"description": "If set to true, the authenticator will support the hmac-secret-mc extension.\nhttps://fidoalliance.org/specs/fido-v2.2-rd-20241003/fido-client-to-authenticator-protocol-v2.2-rd-20241003.html#sctn-hmac-secret-make-cred-extension\nDefaults to false.",
|
|
31037
|
+
"optional": true,
|
|
31038
|
+
"type": "boolean"
|
|
31039
|
+
},
|
|
30997
31040
|
{
|
|
30998
31041
|
"name": "automaticPresenceSimulation",
|
|
30999
31042
|
"description": "If set to true, tests of user presence will succeed immediately.\nOtherwise, they will not be resolved. Defaults to true.",
|
package/package.json
CHANGED
package/pdl/domains/CSS.pdl
CHANGED
|
@@ -602,6 +602,8 @@ experimental domain CSS
|
|
|
602
602
|
array of CSSFunctionParameter parameters
|
|
603
603
|
# Function body.
|
|
604
604
|
array of CSSFunctionNode children
|
|
605
|
+
# The BackendNodeId of the DOM node that constitutes the origin tree scope of this rule.
|
|
606
|
+
experimental optional DOM.BackendNodeId originTreeScopeNodeId
|
|
605
607
|
|
|
606
608
|
# CSS keyframe rule representation.
|
|
607
609
|
type CSSKeyframeRule extends object
|
package/pdl/domains/DOM.pdl
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
# corresponding document elements as their child nodes.
|
|
14
14
|
domain DOM
|
|
15
15
|
depends on Runtime
|
|
16
|
+
depends on Network
|
|
16
17
|
|
|
17
18
|
# Unique DOM node identifier.
|
|
18
19
|
type NodeId extends integer
|
|
@@ -41,6 +42,7 @@ domain DOM
|
|
|
41
42
|
checkmark
|
|
42
43
|
before
|
|
43
44
|
after
|
|
45
|
+
expand-icon
|
|
44
46
|
picker-icon
|
|
45
47
|
interest-hint
|
|
46
48
|
marker
|
|
@@ -183,7 +185,7 @@ domain DOM
|
|
|
183
185
|
experimental optional boolean isScrollable
|
|
184
186
|
experimental optional boolean affectedByStartingStyles
|
|
185
187
|
experimental optional array of StyleSheetId adoptedStyleSheets
|
|
186
|
-
experimental optional
|
|
188
|
+
experimental optional Network.AdProvenance adProvenance
|
|
187
189
|
|
|
188
190
|
# A structure to hold the top-level node of a detached tree and an array of its retained descendants.
|
|
189
191
|
type DetachedElementInfo extends object
|
|
@@ -918,8 +920,8 @@ domain DOM
|
|
|
918
920
|
parameters
|
|
919
921
|
# The id of the node.
|
|
920
922
|
DOM.NodeId nodeId
|
|
921
|
-
#
|
|
922
|
-
|
|
923
|
+
# The provenance of the ad related node, if it is ad related.
|
|
924
|
+
optional Network.AdProvenance adProvenance
|
|
923
925
|
|
|
924
926
|
# Fired when a node's starting styles changes.
|
|
925
927
|
experimental event affectedByStartingStylesFlagUpdated
|
package/pdl/domains/Network.pdl
CHANGED
|
@@ -1825,6 +1825,19 @@ domain Network
|
|
|
1825
1825
|
# `ancestryChain` to be tagged as an ad.
|
|
1826
1826
|
optional string rootScriptFilterlistRule
|
|
1827
1827
|
|
|
1828
|
+
# Represents the provenance of an ad resource or element. Only one of
|
|
1829
|
+
# `filterlistRule` or `adScriptAncestry` can be set. If `filterlistRule`
|
|
1830
|
+
# is provided, the resource URL directly matches a filter list rule. If
|
|
1831
|
+
# `adScriptAncestry` is provided, an ad script initiated the resource fetch or
|
|
1832
|
+
# appended the element to the DOM. If neither is provided, the entity is
|
|
1833
|
+
# known to be an ad, but provenance tracking information is unavailable.
|
|
1834
|
+
experimental type AdProvenance extends object
|
|
1835
|
+
properties
|
|
1836
|
+
# The filterlist rule that matched, if any.
|
|
1837
|
+
optional string filterlistRule
|
|
1838
|
+
# The script ancestry that created the ad, if any.
|
|
1839
|
+
optional AdAncestry adScriptAncestry
|
|
1840
|
+
|
|
1828
1841
|
# Fired when additional information about a requestWillBeSent event is available from the
|
|
1829
1842
|
# network stack. Not every requestWillBeSent event will have an additional
|
|
1830
1843
|
# requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent
|
package/pdl/domains/WebAuthn.pdl
CHANGED
|
@@ -20,6 +20,7 @@ experimental domain WebAuthn
|
|
|
20
20
|
enum
|
|
21
21
|
ctap2_0
|
|
22
22
|
ctap2_1
|
|
23
|
+
ctap2_2
|
|
23
24
|
|
|
24
25
|
type AuthenticatorTransport extends string
|
|
25
26
|
enum
|
|
@@ -57,6 +58,14 @@ experimental domain WebAuthn
|
|
|
57
58
|
# https://w3c.github.io/webauthn/#prf-extension
|
|
58
59
|
# Defaults to false.
|
|
59
60
|
optional boolean hasPrf
|
|
61
|
+
# If set to true, the authenticator will support the hmac-secret extension.
|
|
62
|
+
# https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-hmac-secret-extension
|
|
63
|
+
# Defaults to false.
|
|
64
|
+
optional boolean hasHmacSecret
|
|
65
|
+
# If set to true, the authenticator will support the hmac-secret-mc extension.
|
|
66
|
+
# https://fidoalliance.org/specs/fido-v2.2-rd-20241003/fido-client-to-authenticator-protocol-v2.2-rd-20241003.html#sctn-hmac-secret-make-cred-extension
|
|
67
|
+
# Defaults to false.
|
|
68
|
+
optional boolean hasHmacSecretMc
|
|
60
69
|
# If set to true, tests of user presence will succeed immediately.
|
|
61
70
|
# Otherwise, they will not be resolved. Defaults to true.
|
|
62
71
|
optional boolean automaticPresenceSimulation
|
package/types/protocol.d.ts
CHANGED
|
@@ -6017,6 +6017,11 @@ export namespace Protocol {
|
|
|
6017
6017
|
* Function body.
|
|
6018
6018
|
*/
|
|
6019
6019
|
children: CSSFunctionNode[];
|
|
6020
|
+
/**
|
|
6021
|
+
* The BackendNodeId of the DOM node that constitutes the origin tree scope of this rule.
|
|
6022
|
+
* @experimental
|
|
6023
|
+
*/
|
|
6024
|
+
originTreeScopeNodeId?: DOM.BackendNodeId;
|
|
6020
6025
|
}
|
|
6021
6026
|
|
|
6022
6027
|
/**
|
|
@@ -6886,7 +6891,7 @@ export namespace Protocol {
|
|
|
6886
6891
|
/**
|
|
6887
6892
|
* Pseudo element type.
|
|
6888
6893
|
*/
|
|
6889
|
-
export type PseudoType = ('first-line' | 'first-letter' | 'checkmark' | 'before' | 'after' | 'picker-icon' | 'interest-hint' | 'marker' | 'backdrop' | 'column' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-button' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-group-children' | 'view-transition-old' | 'view-transition-new' | 'placeholder' | 'file-selector-button' | 'details-content' | 'picker' | 'permission-icon' | 'overscroll-area-parent');
|
|
6894
|
+
export type PseudoType = ('first-line' | 'first-letter' | 'checkmark' | 'before' | 'after' | 'expand-icon' | 'picker-icon' | 'interest-hint' | 'marker' | 'backdrop' | 'column' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-button' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-group-children' | 'view-transition-old' | 'view-transition-new' | 'placeholder' | 'file-selector-button' | 'details-content' | 'picker' | 'permission-icon' | 'overscroll-area-parent');
|
|
6890
6895
|
|
|
6891
6896
|
/**
|
|
6892
6897
|
* Shadow root type.
|
|
@@ -7057,7 +7062,7 @@ export namespace Protocol {
|
|
|
7057
7062
|
/**
|
|
7058
7063
|
* @experimental
|
|
7059
7064
|
*/
|
|
7060
|
-
|
|
7065
|
+
adProvenance?: Network.AdProvenance;
|
|
7061
7066
|
}
|
|
7062
7067
|
|
|
7063
7068
|
/**
|
|
@@ -8133,9 +8138,9 @@ export namespace Protocol {
|
|
|
8133
8138
|
*/
|
|
8134
8139
|
nodeId: DOM.NodeId;
|
|
8135
8140
|
/**
|
|
8136
|
-
*
|
|
8141
|
+
* The provenance of the ad related node, if it is ad related.
|
|
8137
8142
|
*/
|
|
8138
|
-
|
|
8143
|
+
adProvenance?: Network.AdProvenance;
|
|
8139
8144
|
}
|
|
8140
8145
|
|
|
8141
8146
|
/**
|
|
@@ -13682,6 +13687,26 @@ export namespace Protocol {
|
|
|
13682
13687
|
rootScriptFilterlistRule?: string;
|
|
13683
13688
|
}
|
|
13684
13689
|
|
|
13690
|
+
/**
|
|
13691
|
+
* Represents the provenance of an ad resource or element. Only one of
|
|
13692
|
+
* `filterlistRule` or `adScriptAncestry` can be set. If `filterlistRule`
|
|
13693
|
+
* is provided, the resource URL directly matches a filter list rule. If
|
|
13694
|
+
* `adScriptAncestry` is provided, an ad script initiated the resource fetch or
|
|
13695
|
+
* appended the element to the DOM. If neither is provided, the entity is
|
|
13696
|
+
* known to be an ad, but provenance tracking information is unavailable.
|
|
13697
|
+
* @experimental
|
|
13698
|
+
*/
|
|
13699
|
+
export interface AdProvenance {
|
|
13700
|
+
/**
|
|
13701
|
+
* The filterlist rule that matched, if any.
|
|
13702
|
+
*/
|
|
13703
|
+
filterlistRule?: string;
|
|
13704
|
+
/**
|
|
13705
|
+
* The script ancestry that created the ad, if any.
|
|
13706
|
+
*/
|
|
13707
|
+
adScriptAncestry?: AdAncestry;
|
|
13708
|
+
}
|
|
13709
|
+
|
|
13685
13710
|
/**
|
|
13686
13711
|
* @experimental
|
|
13687
13712
|
*/
|
|
@@ -22047,7 +22072,7 @@ export namespace Protocol {
|
|
|
22047
22072
|
|
|
22048
22073
|
export type AuthenticatorProtocol = ('u2f' | 'ctap2');
|
|
22049
22074
|
|
|
22050
|
-
export type Ctap2Version = ('ctap2_0' | 'ctap2_1');
|
|
22075
|
+
export type Ctap2Version = ('ctap2_0' | 'ctap2_1' | 'ctap2_2');
|
|
22051
22076
|
|
|
22052
22077
|
export type AuthenticatorTransport = ('usb' | 'nfc' | 'ble' | 'cable' | 'internal');
|
|
22053
22078
|
|
|
@@ -22090,6 +22115,18 @@ export namespace Protocol {
|
|
|
22090
22115
|
* Defaults to false.
|
|
22091
22116
|
*/
|
|
22092
22117
|
hasPrf?: boolean;
|
|
22118
|
+
/**
|
|
22119
|
+
* If set to true, the authenticator will support the hmac-secret extension.
|
|
22120
|
+
* https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-hmac-secret-extension
|
|
22121
|
+
* Defaults to false.
|
|
22122
|
+
*/
|
|
22123
|
+
hasHmacSecret?: boolean;
|
|
22124
|
+
/**
|
|
22125
|
+
* If set to true, the authenticator will support the hmac-secret-mc extension.
|
|
22126
|
+
* https://fidoalliance.org/specs/fido-v2.2-rd-20241003/fido-client-to-authenticator-protocol-v2.2-rd-20241003.html#sctn-hmac-secret-make-cred-extension
|
|
22127
|
+
* Defaults to false.
|
|
22128
|
+
*/
|
|
22129
|
+
hasHmacSecretMc?: boolean;
|
|
22093
22130
|
/**
|
|
22094
22131
|
* If set to true, tests of user presence will succeed immediately.
|
|
22095
22132
|
* Otherwise, they will not be resolved. Defaults to true.
|