devtools-protocol 0.0.1672245 → 0.0.1674729
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 +17 -9
- package/json/js_protocol.json +7 -0
- package/package.json +1 -1
- package/pdl/domains/DOM.pdl +9 -0
- package/pdl/domains/Page.pdl +0 -1
- package/pdl/domains/WebAuthn.pdl +1 -1
- package/pdl/js_protocol.pdl +2 -0
- package/types/protocol-mapping.d.ts +9 -0
- package/types/protocol-proxy-api.d.ts +7 -0
- package/types/protocol-tests-proxy-api.d.ts +7 -0
- package/types/protocol.d.ts +17 -2
|
@@ -8897,6 +8897,23 @@
|
|
|
8897
8897
|
}
|
|
8898
8898
|
}
|
|
8899
8899
|
]
|
|
8900
|
+
},
|
|
8901
|
+
{
|
|
8902
|
+
"name": "forceShowInterest",
|
|
8903
|
+
"description": "When enabling, this API forces an element to gain interest in its target,\nkeeping interest active until disabled.",
|
|
8904
|
+
"experimental": true,
|
|
8905
|
+
"parameters": [
|
|
8906
|
+
{
|
|
8907
|
+
"name": "nodeId",
|
|
8908
|
+
"description": "Id of the interest invoker HTMLElement.",
|
|
8909
|
+
"$ref": "NodeId"
|
|
8910
|
+
},
|
|
8911
|
+
{
|
|
8912
|
+
"name": "enable",
|
|
8913
|
+
"description": "If true, opens and holds interest. If false, releases forced interest.",
|
|
8914
|
+
"type": "boolean"
|
|
8915
|
+
}
|
|
8916
|
+
]
|
|
8900
8917
|
}
|
|
8901
8918
|
],
|
|
8902
8919
|
"events": [
|
|
@@ -22673,14 +22690,6 @@
|
|
|
22673
22690
|
"name": "name",
|
|
22674
22691
|
"type": "string"
|
|
22675
22692
|
},
|
|
22676
|
-
{
|
|
22677
|
-
"name": "icons",
|
|
22678
|
-
"optional": true,
|
|
22679
|
-
"type": "array",
|
|
22680
|
-
"items": {
|
|
22681
|
-
"$ref": "ImageResource"
|
|
22682
|
-
}
|
|
22683
|
-
},
|
|
22684
22693
|
{
|
|
22685
22694
|
"name": "accepts",
|
|
22686
22695
|
"description": "Mimic a map, name is the key, accepts is the value.",
|
|
@@ -30315,7 +30324,6 @@
|
|
|
30315
30324
|
{
|
|
30316
30325
|
"name": "signCount",
|
|
30317
30326
|
"description": "Signature counter. Must be equal to or greater than -1.\nIf -1, the credential won't have an associated signature counter, and\nevery assertion operation will report a value of 0.\nSee https://w3c.github.io/webauthn/#signature-counter",
|
|
30318
|
-
"optional": true,
|
|
30319
30327
|
"type": "integer"
|
|
30320
30328
|
},
|
|
30321
30329
|
{
|
package/json/js_protocol.json
CHANGED
|
@@ -507,6 +507,13 @@
|
|
|
507
507
|
"experimental": true,
|
|
508
508
|
"optional": true,
|
|
509
509
|
"$ref": "Runtime.TimeDelta"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"name": "scopeNumber",
|
|
513
|
+
"description": "Specifies the scope number to evaluate the expression in (default: 0, innermost scope).",
|
|
514
|
+
"experimental": true,
|
|
515
|
+
"optional": true,
|
|
516
|
+
"type": "integer"
|
|
510
517
|
}
|
|
511
518
|
],
|
|
512
519
|
"returns": [
|
package/package.json
CHANGED
package/pdl/domains/DOM.pdl
CHANGED
|
@@ -827,6 +827,15 @@ domain DOM
|
|
|
827
827
|
# List of popovers that were closed in order to respect popover stacking order.
|
|
828
828
|
array of NodeId nodeIds
|
|
829
829
|
|
|
830
|
+
# When enabling, this API forces an element to gain interest in its target,
|
|
831
|
+
# keeping interest active until disabled.
|
|
832
|
+
experimental command forceShowInterest
|
|
833
|
+
parameters
|
|
834
|
+
# Id of the interest invoker HTMLElement.
|
|
835
|
+
NodeId nodeId
|
|
836
|
+
# If true, opens and holds interest. If false, releases forced interest.
|
|
837
|
+
boolean enable
|
|
838
|
+
|
|
830
839
|
# Fired when `Element`'s attribute is modified.
|
|
831
840
|
event attributeModified
|
|
832
841
|
parameters
|
package/pdl/domains/Page.pdl
CHANGED
|
@@ -684,7 +684,6 @@ domain Page
|
|
|
684
684
|
properties
|
|
685
685
|
string action
|
|
686
686
|
string name
|
|
687
|
-
optional array of ImageResource icons
|
|
688
687
|
# Mimic a map, name is the key, accepts is the value.
|
|
689
688
|
optional array of FileFilter accepts
|
|
690
689
|
# Won't repeat the enums, using string for easy comparison. Same as the
|
package/pdl/domains/WebAuthn.pdl
CHANGED
|
@@ -102,7 +102,7 @@ experimental domain WebAuthn
|
|
|
102
102
|
# If -1, the credential won't have an associated signature counter, and
|
|
103
103
|
# every assertion operation will report a value of 0.
|
|
104
104
|
# See https://w3c.github.io/webauthn/#signature-counter
|
|
105
|
-
|
|
105
|
+
integer signCount
|
|
106
106
|
# The large blob associated with the credential.
|
|
107
107
|
# See https://w3c.github.io/webauthn/#sctn-large-blob-extension
|
|
108
108
|
optional binary largeBlob
|
package/pdl/js_protocol.pdl
CHANGED
|
@@ -212,6 +212,8 @@ domain Debugger
|
|
|
212
212
|
optional boolean throwOnSideEffect
|
|
213
213
|
# Terminate execution after timing out (number of milliseconds).
|
|
214
214
|
experimental optional Runtime.TimeDelta timeout
|
|
215
|
+
# Specifies the scope number to evaluate the expression in (default: 0, innermost scope).
|
|
216
|
+
experimental optional integer scopeNumber
|
|
215
217
|
returns
|
|
216
218
|
# Object wrapper for the evaluation result.
|
|
217
219
|
Runtime.RemoteObject result
|
|
@@ -3023,6 +3023,15 @@ export namespace ProtocolMapping {
|
|
|
3023
3023
|
paramsType: [Protocol.DOM.ForceShowPopoverRequest];
|
|
3024
3024
|
returnType: Protocol.DOM.ForceShowPopoverResponse;
|
|
3025
3025
|
};
|
|
3026
|
+
/**
|
|
3027
|
+
* When enabling, this API forces an element to gain interest in its target,
|
|
3028
|
+
* keeping interest active until disabled.
|
|
3029
|
+
* @experimental
|
|
3030
|
+
*/
|
|
3031
|
+
'DOM.forceShowInterest': {
|
|
3032
|
+
paramsType: [Protocol.DOM.ForceShowInterestRequest];
|
|
3033
|
+
returnType: void;
|
|
3034
|
+
};
|
|
3026
3035
|
/**
|
|
3027
3036
|
* Returns event listeners of the given object.
|
|
3028
3037
|
*/
|
|
@@ -1855,6 +1855,13 @@ export namespace ProtocolProxyApi {
|
|
|
1855
1855
|
*/
|
|
1856
1856
|
forceShowPopover(params: Protocol.DOM.ForceShowPopoverRequest): Promise<Protocol.DOM.ForceShowPopoverResponse>;
|
|
1857
1857
|
|
|
1858
|
+
/**
|
|
1859
|
+
* When enabling, this API forces an element to gain interest in its target,
|
|
1860
|
+
* keeping interest active until disabled.
|
|
1861
|
+
* @experimental
|
|
1862
|
+
*/
|
|
1863
|
+
forceShowInterest(params: Protocol.DOM.ForceShowInterestRequest): Promise<void>;
|
|
1864
|
+
|
|
1858
1865
|
/**
|
|
1859
1866
|
* Fired when `Element`'s attribute is modified.
|
|
1860
1867
|
*/
|
|
@@ -1945,6 +1945,13 @@ export namespace ProtocolTestsProxyApi {
|
|
|
1945
1945
|
*/
|
|
1946
1946
|
forceShowPopover(params: Protocol.DOM.ForceShowPopoverRequest): Promise<{id: number, result: Protocol.DOM.ForceShowPopoverResponse, sessionId: string}>;
|
|
1947
1947
|
|
|
1948
|
+
/**
|
|
1949
|
+
* When enabling, this API forces an element to gain interest in its target,
|
|
1950
|
+
* keeping interest active until disabled.
|
|
1951
|
+
* @experimental
|
|
1952
|
+
*/
|
|
1953
|
+
forceShowInterest(params: Protocol.DOM.ForceShowInterestRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
1954
|
+
|
|
1948
1955
|
/**
|
|
1949
1956
|
* Fired when `Element`'s attribute is modified.
|
|
1950
1957
|
*/
|
package/types/protocol.d.ts
CHANGED
|
@@ -381,6 +381,11 @@ export namespace Protocol {
|
|
|
381
381
|
* @experimental
|
|
382
382
|
*/
|
|
383
383
|
timeout?: Runtime.TimeDelta;
|
|
384
|
+
/**
|
|
385
|
+
* Specifies the scope number to evaluate the expression in (default: 0, innermost scope).
|
|
386
|
+
* @experimental
|
|
387
|
+
*/
|
|
388
|
+
scopeNumber?: integer;
|
|
384
389
|
}
|
|
385
390
|
|
|
386
391
|
export interface EvaluateOnCallFrameResponse {
|
|
@@ -8120,6 +8125,17 @@ export namespace Protocol {
|
|
|
8120
8125
|
nodeIds: NodeId[];
|
|
8121
8126
|
}
|
|
8122
8127
|
|
|
8128
|
+
export interface ForceShowInterestRequest {
|
|
8129
|
+
/**
|
|
8130
|
+
* Id of the interest invoker HTMLElement.
|
|
8131
|
+
*/
|
|
8132
|
+
nodeId: NodeId;
|
|
8133
|
+
/**
|
|
8134
|
+
* If true, opens and holds interest. If false, releases forced interest.
|
|
8135
|
+
*/
|
|
8136
|
+
enable: boolean;
|
|
8137
|
+
}
|
|
8138
|
+
|
|
8123
8139
|
/**
|
|
8124
8140
|
* Fired when `Element`'s attribute is modified.
|
|
8125
8141
|
*/
|
|
@@ -17189,7 +17205,6 @@ export namespace Protocol {
|
|
|
17189
17205
|
export interface FileHandler {
|
|
17190
17206
|
action: string;
|
|
17191
17207
|
name: string;
|
|
17192
|
-
icons?: ImageResource[];
|
|
17193
17208
|
/**
|
|
17194
17209
|
* Mimic a map, name is the key, accepts is the value.
|
|
17195
17210
|
*/
|
|
@@ -21846,7 +21861,7 @@ export namespace Protocol {
|
|
|
21846
21861
|
* every assertion operation will report a value of 0.
|
|
21847
21862
|
* See https://w3c.github.io/webauthn/#signature-counter
|
|
21848
21863
|
*/
|
|
21849
|
-
signCount
|
|
21864
|
+
signCount: integer;
|
|
21850
21865
|
/**
|
|
21851
21866
|
* The large blob associated with the credential.
|
|
21852
21867
|
* See https://w3c.github.io/webauthn/#sctn-large-blob-extension (Encoded as a base64 string when passed over JSON)
|