devtools-protocol 0.0.806105 → 0.0.809251
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/changelog.md +28 -0
- package/json/browser_protocol.json +81 -5
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +35 -5
- package/types/protocol-mapping.d.ts +11 -0
- package/types/protocol-proxy-api.d.ts +9 -0
- package/types/protocol.d.ts +41 -0
package/changelog.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## Roll protocol to r808307
|
|
4
|
+
###### _2020-09-18 04:16:16_ | Diff: [9e2e943...01dd54b](https://github.com/ChromeDevTools/devtools-protocol/compare/9e2e943...01dd54b)
|
|
5
|
+
#### `Network`: modified types
|
|
6
|
+
* [`Network.CrossOriginOpenerPolicyStatus`](https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-CrossOriginOpenerPolicyStatus) - The properties's `reportOnlyValue` _added_. The properties's `reportingEndpoint` _added_. The properties's `reportOnlyReportingEndpoint` _added_.
|
|
7
|
+
* [`Network.CrossOriginEmbedderPolicyStatus`](https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-CrossOriginEmbedderPolicyStatus) - The properties's `reportOnlyValue` _added_. The properties's `reportingEndpoint` _added_. The properties's `reportOnlyReportingEndpoint` _added_.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## Roll protocol to r806843
|
|
11
|
+
###### _2020-09-14 19:16:32_ | Diff: [2155b85...9e2e943](https://github.com/ChromeDevTools/devtools-protocol/compare/2155b85...9e2e943)
|
|
12
|
+
#### `Fetch`: modified types
|
|
13
|
+
* [`Fetch.RequestStage`](https://chromedevtools.github.io/devtools-protocol/tot/Fetch/#type-RequestStage) - `experimental` removed.
|
|
14
|
+
* [`Fetch.RequestPattern`](https://chromedevtools.github.io/devtools-protocol/tot/Fetch/#type-RequestPattern) - `experimental` removed.
|
|
15
|
+
* [`Fetch.AuthChallenge`](https://chromedevtools.github.io/devtools-protocol/tot/Fetch/#type-AuthChallenge) - `experimental` removed.
|
|
16
|
+
* [`Fetch.AuthChallengeResponse`](https://chromedevtools.github.io/devtools-protocol/tot/Fetch/#type-AuthChallengeResponse) - `experimental` removed.
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## Roll protocol to r806611
|
|
20
|
+
###### _2020-09-14 05:16:27_ | Diff: [176b07f...2155b85](https://github.com/ChromeDevTools/devtools-protocol/compare/176b07f...2155b85)
|
|
21
|
+
#### `Overlay`: modified type
|
|
22
|
+
* [`Overlay.GridHighlightConfig`](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#type-GridHighlightConfig) - The properties's `gridBackgroundColor` _added_.
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## Roll protocol to r806105
|
|
26
|
+
###### _2020-09-11 02:16:20_ | Diff: [23323c5...176b07f](https://github.com/ChromeDevTools/devtools-protocol/compare/23323c5...176b07f)
|
|
27
|
+
#### `CSS`: modified type
|
|
28
|
+
* [`CSS.CSSStyleSheetHeader`](https://chromedevtools.github.io/devtools-protocol/tot/CSS/#type-CSSStyleSheetHeader) - The `isMutable` in the properties had `description` _updated_. The `startLine` in the properties had `name` _updated_. The `startLine` in the properties had `description` _updated_. The `startLine` in the properties had `type` _updated_. The `startColumn` in the properties had `name` _updated_. The `startColumn` in the properties had `description` _updated_. The `length` in the properties had `name` _updated_. The `length` in the properties had `description` _updated_. The `endLine` in the properties had `name` _updated_. The `endLine` in the properties had `description` _updated_. The `endColumn` in the properties had `name` _updated_. The `endColumn` in the properties had `description` _updated_. The properties's `endColumn` _added_.
|
|
29
|
+
|
|
30
|
+
|
|
3
31
|
## Roll protocol to r805376
|
|
4
32
|
###### _2020-09-09 10:16:20_ | Diff: [caa0ede...23323c5](https://github.com/ChromeDevTools/devtools-protocol/compare/caa0ede...23323c5)
|
|
5
33
|
#### `WebAudio`: modified type
|
|
@@ -387,6 +387,53 @@
|
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
389
|
]
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "queryAXTree",
|
|
393
|
+
"description": "Query a DOM node's accessibility subtree for accessible name and role.\nThis command computes the name and role for all nodes in the subtree, including those that are\nignored for accessibility, and returns those that mactch the specified name and role. If no DOM\nnode is specified, or the DOM node does not exist, the command returns an error. If neither\n`accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.",
|
|
394
|
+
"experimental": true,
|
|
395
|
+
"parameters": [
|
|
396
|
+
{
|
|
397
|
+
"name": "nodeId",
|
|
398
|
+
"description": "Identifier of the node for the root to query.",
|
|
399
|
+
"optional": true,
|
|
400
|
+
"$ref": "DOM.NodeId"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"name": "backendNodeId",
|
|
404
|
+
"description": "Identifier of the backend node for the root to query.",
|
|
405
|
+
"optional": true,
|
|
406
|
+
"$ref": "DOM.BackendNodeId"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"name": "objectId",
|
|
410
|
+
"description": "JavaScript object id of the node wrapper for the root to query.",
|
|
411
|
+
"optional": true,
|
|
412
|
+
"$ref": "Runtime.RemoteObjectId"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"name": "accessibleName",
|
|
416
|
+
"description": "Find nodes with this computed name.",
|
|
417
|
+
"optional": true,
|
|
418
|
+
"type": "string"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"name": "role",
|
|
422
|
+
"description": "Find nodes with this computed role.",
|
|
423
|
+
"optional": true,
|
|
424
|
+
"type": "string"
|
|
425
|
+
}
|
|
426
|
+
],
|
|
427
|
+
"returns": [
|
|
428
|
+
{
|
|
429
|
+
"name": "nodes",
|
|
430
|
+
"description": "A list of `Accessibility.AXNode` matching the specified attributes,\nincluding nodes that are ignored for accessibility.",
|
|
431
|
+
"type": "array",
|
|
432
|
+
"items": {
|
|
433
|
+
"$ref": "AXNode"
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
]
|
|
390
437
|
}
|
|
391
438
|
]
|
|
392
439
|
},
|
|
@@ -10449,6 +10496,20 @@
|
|
|
10449
10496
|
{
|
|
10450
10497
|
"name": "value",
|
|
10451
10498
|
"$ref": "CrossOriginOpenerPolicyValue"
|
|
10499
|
+
},
|
|
10500
|
+
{
|
|
10501
|
+
"name": "reportOnlyValue",
|
|
10502
|
+
"$ref": "CrossOriginOpenerPolicyValue"
|
|
10503
|
+
},
|
|
10504
|
+
{
|
|
10505
|
+
"name": "reportingEndpoint",
|
|
10506
|
+
"optional": true,
|
|
10507
|
+
"type": "string"
|
|
10508
|
+
},
|
|
10509
|
+
{
|
|
10510
|
+
"name": "reportOnlyReportingEndpoint",
|
|
10511
|
+
"optional": true,
|
|
10512
|
+
"type": "string"
|
|
10452
10513
|
}
|
|
10453
10514
|
]
|
|
10454
10515
|
},
|
|
@@ -10469,6 +10530,20 @@
|
|
|
10469
10530
|
{
|
|
10470
10531
|
"name": "value",
|
|
10471
10532
|
"$ref": "CrossOriginEmbedderPolicyValue"
|
|
10533
|
+
},
|
|
10534
|
+
{
|
|
10535
|
+
"name": "reportOnlyValue",
|
|
10536
|
+
"$ref": "CrossOriginEmbedderPolicyValue"
|
|
10537
|
+
},
|
|
10538
|
+
{
|
|
10539
|
+
"name": "reportingEndpoint",
|
|
10540
|
+
"optional": true,
|
|
10541
|
+
"type": "string"
|
|
10542
|
+
},
|
|
10543
|
+
{
|
|
10544
|
+
"name": "reportOnlyReportingEndpoint",
|
|
10545
|
+
"optional": true,
|
|
10546
|
+
"type": "string"
|
|
10472
10547
|
}
|
|
10473
10548
|
]
|
|
10474
10549
|
},
|
|
@@ -11804,6 +11879,12 @@
|
|
|
11804
11879
|
"description": "The named grid areas border color (Default: transparent).",
|
|
11805
11880
|
"optional": true,
|
|
11806
11881
|
"$ref": "DOM.RGBA"
|
|
11882
|
+
},
|
|
11883
|
+
{
|
|
11884
|
+
"name": "gridBackgroundColor",
|
|
11885
|
+
"description": "The grid container background color (Default: transparent).",
|
|
11886
|
+
"optional": true,
|
|
11887
|
+
"$ref": "DOM.RGBA"
|
|
11807
11888
|
}
|
|
11808
11889
|
]
|
|
11809
11890
|
},
|
|
@@ -16701,7 +16782,6 @@
|
|
|
16701
16782
|
{
|
|
16702
16783
|
"domain": "Fetch",
|
|
16703
16784
|
"description": "A domain for letting clients substitute browser's network layer with client code.",
|
|
16704
|
-
"experimental": true,
|
|
16705
16785
|
"dependencies": [
|
|
16706
16786
|
"Network",
|
|
16707
16787
|
"IO",
|
|
@@ -16716,7 +16796,6 @@
|
|
|
16716
16796
|
{
|
|
16717
16797
|
"id": "RequestStage",
|
|
16718
16798
|
"description": "Stages of the request to handle. Request will intercept before the request is\nsent. Response will intercept after the response is received (but before response\nbody is received.",
|
|
16719
|
-
"experimental": true,
|
|
16720
16799
|
"type": "string",
|
|
16721
16800
|
"enum": [
|
|
16722
16801
|
"Request",
|
|
@@ -16725,7 +16804,6 @@
|
|
|
16725
16804
|
},
|
|
16726
16805
|
{
|
|
16727
16806
|
"id": "RequestPattern",
|
|
16728
|
-
"experimental": true,
|
|
16729
16807
|
"type": "object",
|
|
16730
16808
|
"properties": [
|
|
16731
16809
|
{
|
|
@@ -16766,7 +16844,6 @@
|
|
|
16766
16844
|
{
|
|
16767
16845
|
"id": "AuthChallenge",
|
|
16768
16846
|
"description": "Authorization challenge for HTTP status code 401 or 407.",
|
|
16769
|
-
"experimental": true,
|
|
16770
16847
|
"type": "object",
|
|
16771
16848
|
"properties": [
|
|
16772
16849
|
{
|
|
@@ -16799,7 +16876,6 @@
|
|
|
16799
16876
|
{
|
|
16800
16877
|
"id": "AuthChallengeResponse",
|
|
16801
16878
|
"description": "Response to an AuthChallenge.",
|
|
16802
|
-
"experimental": true,
|
|
16803
16879
|
"type": "object",
|
|
16804
16880
|
"properties": [
|
|
16805
16881
|
{
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -207,6 +207,28 @@ experimental domain Accessibility
|
|
|
207
207
|
returns
|
|
208
208
|
array of AXNode nodes
|
|
209
209
|
|
|
210
|
+
# Query a DOM node's accessibility subtree for accessible name and role.
|
|
211
|
+
# This command computes the name and role for all nodes in the subtree, including those that are
|
|
212
|
+
# ignored for accessibility, and returns those that mactch the specified name and role. If no DOM
|
|
213
|
+
# node is specified, or the DOM node does not exist, the command returns an error. If neither
|
|
214
|
+
# `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
|
|
215
|
+
experimental command queryAXTree
|
|
216
|
+
parameters
|
|
217
|
+
# Identifier of the node for the root to query.
|
|
218
|
+
optional DOM.NodeId nodeId
|
|
219
|
+
# Identifier of the backend node for the root to query.
|
|
220
|
+
optional DOM.BackendNodeId backendNodeId
|
|
221
|
+
# JavaScript object id of the node wrapper for the root to query.
|
|
222
|
+
optional Runtime.RemoteObjectId objectId
|
|
223
|
+
# Find nodes with this computed name.
|
|
224
|
+
optional string accessibleName
|
|
225
|
+
# Find nodes with this computed role.
|
|
226
|
+
optional string role
|
|
227
|
+
returns
|
|
228
|
+
# A list of `Accessibility.AXNode` matching the specified attributes,
|
|
229
|
+
# including nodes that are ignored for accessibility.
|
|
230
|
+
array of AXNode nodes
|
|
231
|
+
|
|
210
232
|
experimental domain Animation
|
|
211
233
|
depends on Runtime
|
|
212
234
|
depends on DOM
|
|
@@ -5349,6 +5371,9 @@ domain Network
|
|
|
5349
5371
|
experimental type CrossOriginOpenerPolicyStatus extends object
|
|
5350
5372
|
properties
|
|
5351
5373
|
CrossOriginOpenerPolicyValue value
|
|
5374
|
+
CrossOriginOpenerPolicyValue reportOnlyValue
|
|
5375
|
+
optional string reportingEndpoint
|
|
5376
|
+
optional string reportOnlyReportingEndpoint
|
|
5352
5377
|
|
|
5353
5378
|
experimental type CrossOriginEmbedderPolicyValue extends string
|
|
5354
5379
|
enum
|
|
@@ -5358,6 +5383,9 @@ domain Network
|
|
|
5358
5383
|
experimental type CrossOriginEmbedderPolicyStatus extends object
|
|
5359
5384
|
properties
|
|
5360
5385
|
CrossOriginEmbedderPolicyValue value
|
|
5386
|
+
CrossOriginEmbedderPolicyValue reportOnlyValue
|
|
5387
|
+
optional string reportingEndpoint
|
|
5388
|
+
optional string reportOnlyReportingEndpoint
|
|
5361
5389
|
|
|
5362
5390
|
experimental type SecurityIsolationStatus extends object
|
|
5363
5391
|
properties
|
|
@@ -5427,6 +5455,8 @@ experimental domain Overlay
|
|
|
5427
5455
|
optional DOM.RGBA columnHatchColor
|
|
5428
5456
|
# The named grid areas border color (Default: transparent).
|
|
5429
5457
|
optional DOM.RGBA areaBorderColor
|
|
5458
|
+
# The grid container background color (Default: transparent).
|
|
5459
|
+
optional DOM.RGBA gridBackgroundColor
|
|
5430
5460
|
|
|
5431
5461
|
# Configuration data for the highlighting of page elements.
|
|
5432
5462
|
type HighlightConfig extends object
|
|
@@ -7696,7 +7726,7 @@ experimental domain Tracing
|
|
|
7696
7726
|
optional StreamCompression streamCompression
|
|
7697
7727
|
|
|
7698
7728
|
# A domain for letting clients substitute browser's network layer with client code.
|
|
7699
|
-
|
|
7729
|
+
domain Fetch
|
|
7700
7730
|
depends on Network
|
|
7701
7731
|
depends on IO
|
|
7702
7732
|
depends on Page
|
|
@@ -7707,12 +7737,12 @@ experimental domain Fetch
|
|
|
7707
7737
|
# Stages of the request to handle. Request will intercept before the request is
|
|
7708
7738
|
# sent. Response will intercept after the response is received (but before response
|
|
7709
7739
|
# body is received.
|
|
7710
|
-
|
|
7740
|
+
type RequestStage extends string
|
|
7711
7741
|
enum
|
|
7712
7742
|
Request
|
|
7713
7743
|
Response
|
|
7714
7744
|
|
|
7715
|
-
|
|
7745
|
+
type RequestPattern extends object
|
|
7716
7746
|
properties
|
|
7717
7747
|
# Wildcards ('*' -> zero or more, '?' -> exactly one) are allowed. Escape character is
|
|
7718
7748
|
# backslash. Omitting is equivalent to "*".
|
|
@@ -7729,7 +7759,7 @@ experimental domain Fetch
|
|
|
7729
7759
|
string value
|
|
7730
7760
|
|
|
7731
7761
|
# Authorization challenge for HTTP status code 401 or 407.
|
|
7732
|
-
|
|
7762
|
+
type AuthChallenge extends object
|
|
7733
7763
|
properties
|
|
7734
7764
|
# Source of the authentication challenge.
|
|
7735
7765
|
optional enum source
|
|
@@ -7743,7 +7773,7 @@ experimental domain Fetch
|
|
|
7743
7773
|
string realm
|
|
7744
7774
|
|
|
7745
7775
|
# Response to an AuthChallenge.
|
|
7746
|
-
|
|
7776
|
+
type AuthChallengeResponse extends object
|
|
7747
7777
|
properties
|
|
7748
7778
|
# The decision on what to do in response to the authorization challenge. Default means
|
|
7749
7779
|
# deferring to the default behavior of the net stack, which will likely either the Cancel
|
|
@@ -1223,6 +1223,17 @@ export namespace ProtocolMapping {
|
|
|
1223
1223
|
paramsType: [];
|
|
1224
1224
|
returnType: Protocol.Accessibility.GetFullAXTreeResponse;
|
|
1225
1225
|
};
|
|
1226
|
+
/**
|
|
1227
|
+
* Query a DOM node's accessibility subtree for accessible name and role.
|
|
1228
|
+
* This command computes the name and role for all nodes in the subtree, including those that are
|
|
1229
|
+
* ignored for accessibility, and returns those that mactch the specified name and role. If no DOM
|
|
1230
|
+
* node is specified, or the DOM node does not exist, the command returns an error. If neither
|
|
1231
|
+
* `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
|
|
1232
|
+
*/
|
|
1233
|
+
'Accessibility.queryAXTree': {
|
|
1234
|
+
paramsType: [Protocol.Accessibility.QueryAXTreeRequest?];
|
|
1235
|
+
returnType: Protocol.Accessibility.QueryAXTreeResponse;
|
|
1236
|
+
};
|
|
1226
1237
|
/**
|
|
1227
1238
|
* Disables animation domain notifications.
|
|
1228
1239
|
*/
|
|
@@ -661,6 +661,15 @@ export namespace ProtocolProxyApi {
|
|
|
661
661
|
*/
|
|
662
662
|
getFullAXTree(): Promise<Protocol.Accessibility.GetFullAXTreeResponse>;
|
|
663
663
|
|
|
664
|
+
/**
|
|
665
|
+
* Query a DOM node's accessibility subtree for accessible name and role.
|
|
666
|
+
* This command computes the name and role for all nodes in the subtree, including those that are
|
|
667
|
+
* ignored for accessibility, and returns those that mactch the specified name and role. If no DOM
|
|
668
|
+
* node is specified, or the DOM node does not exist, the command returns an error. If neither
|
|
669
|
+
* `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
|
|
670
|
+
*/
|
|
671
|
+
queryAXTree(params: Protocol.Accessibility.QueryAXTreeRequest): Promise<Protocol.Accessibility.QueryAXTreeResponse>;
|
|
672
|
+
|
|
664
673
|
}
|
|
665
674
|
|
|
666
675
|
export interface AnimationApi {
|
package/types/protocol.d.ts
CHANGED
|
@@ -2670,6 +2670,37 @@ export namespace Protocol {
|
|
|
2670
2670
|
export interface GetFullAXTreeResponse {
|
|
2671
2671
|
nodes: AXNode[];
|
|
2672
2672
|
}
|
|
2673
|
+
|
|
2674
|
+
export interface QueryAXTreeRequest {
|
|
2675
|
+
/**
|
|
2676
|
+
* Identifier of the node for the root to query.
|
|
2677
|
+
*/
|
|
2678
|
+
nodeId?: DOM.NodeId;
|
|
2679
|
+
/**
|
|
2680
|
+
* Identifier of the backend node for the root to query.
|
|
2681
|
+
*/
|
|
2682
|
+
backendNodeId?: DOM.BackendNodeId;
|
|
2683
|
+
/**
|
|
2684
|
+
* JavaScript object id of the node wrapper for the root to query.
|
|
2685
|
+
*/
|
|
2686
|
+
objectId?: Runtime.RemoteObjectId;
|
|
2687
|
+
/**
|
|
2688
|
+
* Find nodes with this computed name.
|
|
2689
|
+
*/
|
|
2690
|
+
accessibleName?: string;
|
|
2691
|
+
/**
|
|
2692
|
+
* Find nodes with this computed role.
|
|
2693
|
+
*/
|
|
2694
|
+
role?: string;
|
|
2695
|
+
}
|
|
2696
|
+
|
|
2697
|
+
export interface QueryAXTreeResponse {
|
|
2698
|
+
/**
|
|
2699
|
+
* A list of `Accessibility.AXNode` matching the specified attributes,
|
|
2700
|
+
* including nodes that are ignored for accessibility.
|
|
2701
|
+
*/
|
|
2702
|
+
nodes: AXNode[];
|
|
2703
|
+
}
|
|
2673
2704
|
}
|
|
2674
2705
|
|
|
2675
2706
|
export namespace Animation {
|
|
@@ -9229,12 +9260,18 @@ export namespace Protocol {
|
|
|
9229
9260
|
|
|
9230
9261
|
export interface CrossOriginOpenerPolicyStatus {
|
|
9231
9262
|
value: CrossOriginOpenerPolicyValue;
|
|
9263
|
+
reportOnlyValue: CrossOriginOpenerPolicyValue;
|
|
9264
|
+
reportingEndpoint?: string;
|
|
9265
|
+
reportOnlyReportingEndpoint?: string;
|
|
9232
9266
|
}
|
|
9233
9267
|
|
|
9234
9268
|
export type CrossOriginEmbedderPolicyValue = ('None' | 'RequireCorp');
|
|
9235
9269
|
|
|
9236
9270
|
export interface CrossOriginEmbedderPolicyStatus {
|
|
9237
9271
|
value: CrossOriginEmbedderPolicyValue;
|
|
9272
|
+
reportOnlyValue: CrossOriginEmbedderPolicyValue;
|
|
9273
|
+
reportingEndpoint?: string;
|
|
9274
|
+
reportOnlyReportingEndpoint?: string;
|
|
9238
9275
|
}
|
|
9239
9276
|
|
|
9240
9277
|
export interface SecurityIsolationStatus {
|
|
@@ -10185,6 +10222,10 @@ export namespace Protocol {
|
|
|
10185
10222
|
* The named grid areas border color (Default: transparent).
|
|
10186
10223
|
*/
|
|
10187
10224
|
areaBorderColor?: DOM.RGBA;
|
|
10225
|
+
/**
|
|
10226
|
+
* The grid container background color (Default: transparent).
|
|
10227
|
+
*/
|
|
10228
|
+
gridBackgroundColor?: DOM.RGBA;
|
|
10188
10229
|
}
|
|
10189
10230
|
|
|
10190
10231
|
/**
|