devtools-protocol 0.0.1593706 → 0.0.1594462
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 +77 -2
- package/package.json +1 -1
- package/pdl/domains/Audits.pdl +1 -0
- package/pdl/domains/CSS.pdl +29 -0
- package/types/protocol-mapping.d.ts +8 -0
- package/types/protocol-proxy-api.d.ts +6 -0
- package/types/protocol-tests-proxy-api.d.ts +6 -0
- package/types/protocol.d.ts +49 -2
|
@@ -1806,7 +1806,8 @@
|
|
|
1806
1806
|
"NavigationEntryMarkedSkippable",
|
|
1807
1807
|
"AutofillAndManualTextPolicyControlledFeaturesInfo",
|
|
1808
1808
|
"AutofillPolicyControlledFeatureInfo",
|
|
1809
|
-
"ManualTextPolicyControlledFeatureInfo"
|
|
1809
|
+
"ManualTextPolicyControlledFeatureInfo",
|
|
1810
|
+
"FormModelContextParameterMissingTitleAndDescription"
|
|
1810
1811
|
]
|
|
1811
1812
|
},
|
|
1812
1813
|
{
|
|
@@ -4632,6 +4633,16 @@
|
|
|
4632
4633
|
"items": {
|
|
4633
4634
|
"$ref": "CSSStartingStyle"
|
|
4634
4635
|
}
|
|
4636
|
+
},
|
|
4637
|
+
{
|
|
4638
|
+
"name": "navigations",
|
|
4639
|
+
"description": "@navigation CSS at-rule array.\nThe array enumerates @navigation at-rules starting with the innermost one, going outwards.",
|
|
4640
|
+
"experimental": true,
|
|
4641
|
+
"optional": true,
|
|
4642
|
+
"type": "array",
|
|
4643
|
+
"items": {
|
|
4644
|
+
"$ref": "CSSNavigation"
|
|
4645
|
+
}
|
|
4635
4646
|
}
|
|
4636
4647
|
]
|
|
4637
4648
|
},
|
|
@@ -4647,7 +4658,8 @@
|
|
|
4647
4658
|
"LayerRule",
|
|
4648
4659
|
"ScopeRule",
|
|
4649
4660
|
"StyleRule",
|
|
4650
|
-
"StartingStyleRule"
|
|
4661
|
+
"StartingStyleRule",
|
|
4662
|
+
"NavigationRule"
|
|
4651
4663
|
]
|
|
4652
4664
|
},
|
|
4653
4665
|
{
|
|
@@ -5047,6 +5059,37 @@
|
|
|
5047
5059
|
}
|
|
5048
5060
|
]
|
|
5049
5061
|
},
|
|
5062
|
+
{
|
|
5063
|
+
"id": "CSSNavigation",
|
|
5064
|
+
"description": "CSS Navigation at-rule descriptor.",
|
|
5065
|
+
"experimental": true,
|
|
5066
|
+
"type": "object",
|
|
5067
|
+
"properties": [
|
|
5068
|
+
{
|
|
5069
|
+
"name": "text",
|
|
5070
|
+
"description": "Navigation rule text.",
|
|
5071
|
+
"type": "string"
|
|
5072
|
+
},
|
|
5073
|
+
{
|
|
5074
|
+
"name": "active",
|
|
5075
|
+
"description": "Whether the navigation condition is satisfied.",
|
|
5076
|
+
"optional": true,
|
|
5077
|
+
"type": "boolean"
|
|
5078
|
+
},
|
|
5079
|
+
{
|
|
5080
|
+
"name": "range",
|
|
5081
|
+
"description": "The associated rule header range in the enclosing stylesheet (if\navailable).",
|
|
5082
|
+
"optional": true,
|
|
5083
|
+
"$ref": "SourceRange"
|
|
5084
|
+
},
|
|
5085
|
+
{
|
|
5086
|
+
"name": "styleSheetId",
|
|
5087
|
+
"description": "Identifier of the stylesheet containing this object (if exists).",
|
|
5088
|
+
"optional": true,
|
|
5089
|
+
"$ref": "DOM.StyleSheetId"
|
|
5090
|
+
}
|
|
5091
|
+
]
|
|
5092
|
+
},
|
|
5050
5093
|
{
|
|
5051
5094
|
"id": "CSSScope",
|
|
5052
5095
|
"description": "CSS Scope at-rule descriptor.",
|
|
@@ -5484,6 +5527,12 @@
|
|
|
5484
5527
|
"optional": true,
|
|
5485
5528
|
"$ref": "CSSSupports"
|
|
5486
5529
|
},
|
|
5530
|
+
{
|
|
5531
|
+
"name": "navigation",
|
|
5532
|
+
"description": "@navigation condition. Only one type of condition should be set.",
|
|
5533
|
+
"optional": true,
|
|
5534
|
+
"$ref": "CSSNavigation"
|
|
5535
|
+
},
|
|
5487
5536
|
{
|
|
5488
5537
|
"name": "children",
|
|
5489
5538
|
"description": "Block body.",
|
|
@@ -6338,6 +6387,32 @@
|
|
|
6338
6387
|
}
|
|
6339
6388
|
]
|
|
6340
6389
|
},
|
|
6390
|
+
{
|
|
6391
|
+
"name": "setNavigationText",
|
|
6392
|
+
"description": "Modifies the expression of a navigation at-rule.",
|
|
6393
|
+
"experimental": true,
|
|
6394
|
+
"parameters": [
|
|
6395
|
+
{
|
|
6396
|
+
"name": "styleSheetId",
|
|
6397
|
+
"$ref": "DOM.StyleSheetId"
|
|
6398
|
+
},
|
|
6399
|
+
{
|
|
6400
|
+
"name": "range",
|
|
6401
|
+
"$ref": "SourceRange"
|
|
6402
|
+
},
|
|
6403
|
+
{
|
|
6404
|
+
"name": "text",
|
|
6405
|
+
"type": "string"
|
|
6406
|
+
}
|
|
6407
|
+
],
|
|
6408
|
+
"returns": [
|
|
6409
|
+
{
|
|
6410
|
+
"name": "navigation",
|
|
6411
|
+
"description": "The resulting CSS Navigation rule after modification.",
|
|
6412
|
+
"$ref": "CSSNavigation"
|
|
6413
|
+
}
|
|
6414
|
+
]
|
|
6415
|
+
},
|
|
6341
6416
|
{
|
|
6342
6417
|
"name": "setScopeText",
|
|
6343
6418
|
"description": "Modifies the expression of a scope at-rule.",
|
package/package.json
CHANGED
package/pdl/domains/Audits.pdl
CHANGED
|
@@ -438,6 +438,7 @@ experimental domain Audits
|
|
|
438
438
|
AutofillAndManualTextPolicyControlledFeaturesInfo
|
|
439
439
|
AutofillPolicyControlledFeatureInfo
|
|
440
440
|
ManualTextPolicyControlledFeatureInfo
|
|
441
|
+
FormModelContextParameterMissingTitleAndDescription
|
|
441
442
|
|
|
442
443
|
# Depending on the concrete errorType, different properties are set.
|
|
443
444
|
type GenericIssueDetails extends object
|
package/pdl/domains/CSS.pdl
CHANGED
|
@@ -185,6 +185,9 @@ experimental domain CSS
|
|
|
185
185
|
# @starting-style CSS at-rule array.
|
|
186
186
|
# The array enumerates @starting-style at-rules starting with the innermost one, going outwards.
|
|
187
187
|
experimental optional array of CSSStartingStyle startingStyles
|
|
188
|
+
# @navigation CSS at-rule array.
|
|
189
|
+
# The array enumerates @navigation at-rules starting with the innermost one, going outwards.
|
|
190
|
+
experimental optional array of CSSNavigation navigations
|
|
188
191
|
|
|
189
192
|
# Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors.
|
|
190
193
|
# This list only contains rule types that are collected during the ancestor rule collection.
|
|
@@ -197,6 +200,7 @@ experimental domain CSS
|
|
|
197
200
|
ScopeRule
|
|
198
201
|
StyleRule
|
|
199
202
|
StartingStyleRule
|
|
203
|
+
NavigationRule
|
|
200
204
|
|
|
201
205
|
# CSS coverage information.
|
|
202
206
|
type RuleUsage extends object
|
|
@@ -364,6 +368,19 @@ experimental domain CSS
|
|
|
364
368
|
# Identifier of the stylesheet containing this object (if exists).
|
|
365
369
|
optional DOM.StyleSheetId styleSheetId
|
|
366
370
|
|
|
371
|
+
# CSS Navigation at-rule descriptor.
|
|
372
|
+
experimental type CSSNavigation extends object
|
|
373
|
+
properties
|
|
374
|
+
# Navigation rule text.
|
|
375
|
+
string text
|
|
376
|
+
# Whether the navigation condition is satisfied.
|
|
377
|
+
optional boolean active
|
|
378
|
+
# The associated rule header range in the enclosing stylesheet (if
|
|
379
|
+
# available).
|
|
380
|
+
optional SourceRange range
|
|
381
|
+
# Identifier of the stylesheet containing this object (if exists).
|
|
382
|
+
optional DOM.StyleSheetId styleSheetId
|
|
383
|
+
|
|
367
384
|
# CSS Scope at-rule descriptor.
|
|
368
385
|
experimental type CSSScope extends object
|
|
369
386
|
properties
|
|
@@ -556,6 +573,8 @@ experimental domain CSS
|
|
|
556
573
|
optional CSSContainerQuery containerQueries
|
|
557
574
|
# @supports CSS at-rule condition. Only one type of condition should be set.
|
|
558
575
|
optional CSSSupports supports
|
|
576
|
+
# @navigation condition. Only one type of condition should be set.
|
|
577
|
+
optional CSSNavigation navigation
|
|
559
578
|
# Block body.
|
|
560
579
|
array of CSSFunctionNode children
|
|
561
580
|
# The condition text.
|
|
@@ -924,6 +943,16 @@ experimental domain CSS
|
|
|
924
943
|
# The resulting CSS Supports rule after modification.
|
|
925
944
|
CSSSupports supports
|
|
926
945
|
|
|
946
|
+
# Modifies the expression of a navigation at-rule.
|
|
947
|
+
experimental command setNavigationText
|
|
948
|
+
parameters
|
|
949
|
+
DOM.StyleSheetId styleSheetId
|
|
950
|
+
SourceRange range
|
|
951
|
+
string text
|
|
952
|
+
returns
|
|
953
|
+
# The resulting CSS Navigation rule after modification.
|
|
954
|
+
CSSNavigation navigation
|
|
955
|
+
|
|
927
956
|
# Modifies the expression of a scope at-rule.
|
|
928
957
|
experimental command setScopeText
|
|
929
958
|
parameters
|
|
@@ -2468,6 +2468,14 @@ export namespace ProtocolMapping {
|
|
|
2468
2468
|
paramsType: [Protocol.CSS.SetSupportsTextRequest];
|
|
2469
2469
|
returnType: Protocol.CSS.SetSupportsTextResponse;
|
|
2470
2470
|
};
|
|
2471
|
+
/**
|
|
2472
|
+
* Modifies the expression of a navigation at-rule.
|
|
2473
|
+
* @experimental
|
|
2474
|
+
*/
|
|
2475
|
+
'CSS.setNavigationText': {
|
|
2476
|
+
paramsType: [Protocol.CSS.SetNavigationTextRequest];
|
|
2477
|
+
returnType: Protocol.CSS.SetNavigationTextResponse;
|
|
2478
|
+
};
|
|
2471
2479
|
/**
|
|
2472
2480
|
* Modifies the expression of a scope at-rule.
|
|
2473
2481
|
* @experimental
|
|
@@ -1356,6 +1356,12 @@ export namespace ProtocolProxyApi {
|
|
|
1356
1356
|
*/
|
|
1357
1357
|
setSupportsText(params: Protocol.CSS.SetSupportsTextRequest): Promise<Protocol.CSS.SetSupportsTextResponse>;
|
|
1358
1358
|
|
|
1359
|
+
/**
|
|
1360
|
+
* Modifies the expression of a navigation at-rule.
|
|
1361
|
+
* @experimental
|
|
1362
|
+
*/
|
|
1363
|
+
setNavigationText(params: Protocol.CSS.SetNavigationTextRequest): Promise<Protocol.CSS.SetNavigationTextResponse>;
|
|
1364
|
+
|
|
1359
1365
|
/**
|
|
1360
1366
|
* Modifies the expression of a scope at-rule.
|
|
1361
1367
|
* @experimental
|
|
@@ -1430,6 +1430,12 @@ export namespace ProtocolTestsProxyApi {
|
|
|
1430
1430
|
*/
|
|
1431
1431
|
setSupportsText(params: Protocol.CSS.SetSupportsTextRequest): Promise<{id: number, result: Protocol.CSS.SetSupportsTextResponse, sessionId: string}>;
|
|
1432
1432
|
|
|
1433
|
+
/**
|
|
1434
|
+
* Modifies the expression of a navigation at-rule.
|
|
1435
|
+
* @experimental
|
|
1436
|
+
*/
|
|
1437
|
+
setNavigationText(params: Protocol.CSS.SetNavigationTextRequest): Promise<{id: number, result: Protocol.CSS.SetNavigationTextResponse, sessionId: string}>;
|
|
1438
|
+
|
|
1433
1439
|
/**
|
|
1434
1440
|
* Modifies the expression of a scope at-rule.
|
|
1435
1441
|
* @experimental
|
package/types/protocol.d.ts
CHANGED
|
@@ -3715,7 +3715,7 @@ export namespace Protocol {
|
|
|
3715
3715
|
request: AffectedRequest;
|
|
3716
3716
|
}
|
|
3717
3717
|
|
|
3718
|
-
export type GenericIssueErrorType = ('FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingIdError' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInputError' | 'FormLabelForMatchesNonExistingIdError' | 'FormInputHasWrongButWellIntendedAutocompleteValueError' | 'ResponseWasBlockedByORB' | 'NavigationEntryMarkedSkippable' | 'AutofillAndManualTextPolicyControlledFeaturesInfo' | 'AutofillPolicyControlledFeatureInfo' | 'ManualTextPolicyControlledFeatureInfo');
|
|
3718
|
+
export type GenericIssueErrorType = ('FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingIdError' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInputError' | 'FormLabelForMatchesNonExistingIdError' | 'FormInputHasWrongButWellIntendedAutocompleteValueError' | 'ResponseWasBlockedByORB' | 'NavigationEntryMarkedSkippable' | 'AutofillAndManualTextPolicyControlledFeaturesInfo' | 'AutofillPolicyControlledFeatureInfo' | 'ManualTextPolicyControlledFeatureInfo' | 'FormModelContextParameterMissingTitleAndDescription');
|
|
3719
3719
|
|
|
3720
3720
|
/**
|
|
3721
3721
|
* Depending on the concrete errorType, different properties are set.
|
|
@@ -5345,6 +5345,12 @@ export namespace Protocol {
|
|
|
5345
5345
|
* @experimental
|
|
5346
5346
|
*/
|
|
5347
5347
|
startingStyles?: CSSStartingStyle[];
|
|
5348
|
+
/**
|
|
5349
|
+
* @navigation CSS at-rule array.
|
|
5350
|
+
* The array enumerates @navigation at-rules starting with the innermost one, going outwards.
|
|
5351
|
+
* @experimental
|
|
5352
|
+
*/
|
|
5353
|
+
navigations?: CSSNavigation[];
|
|
5348
5354
|
}
|
|
5349
5355
|
|
|
5350
5356
|
/**
|
|
@@ -5352,7 +5358,7 @@ export namespace Protocol {
|
|
|
5352
5358
|
* This list only contains rule types that are collected during the ancestor rule collection.
|
|
5353
5359
|
* @experimental
|
|
5354
5360
|
*/
|
|
5355
|
-
export type CSSRuleType = ('MediaRule' | 'SupportsRule' | 'ContainerRule' | 'LayerRule' | 'ScopeRule' | 'StyleRule' | 'StartingStyleRule');
|
|
5361
|
+
export type CSSRuleType = ('MediaRule' | 'SupportsRule' | 'ContainerRule' | 'LayerRule' | 'ScopeRule' | 'StyleRule' | 'StartingStyleRule' | 'NavigationRule');
|
|
5356
5362
|
|
|
5357
5363
|
/**
|
|
5358
5364
|
* CSS coverage information.
|
|
@@ -5653,6 +5659,30 @@ export namespace Protocol {
|
|
|
5653
5659
|
styleSheetId?: DOM.StyleSheetId;
|
|
5654
5660
|
}
|
|
5655
5661
|
|
|
5662
|
+
/**
|
|
5663
|
+
* CSS Navigation at-rule descriptor.
|
|
5664
|
+
* @experimental
|
|
5665
|
+
*/
|
|
5666
|
+
export interface CSSNavigation {
|
|
5667
|
+
/**
|
|
5668
|
+
* Navigation rule text.
|
|
5669
|
+
*/
|
|
5670
|
+
text: string;
|
|
5671
|
+
/**
|
|
5672
|
+
* Whether the navigation condition is satisfied.
|
|
5673
|
+
*/
|
|
5674
|
+
active?: boolean;
|
|
5675
|
+
/**
|
|
5676
|
+
* The associated rule header range in the enclosing stylesheet (if
|
|
5677
|
+
* available).
|
|
5678
|
+
*/
|
|
5679
|
+
range?: SourceRange;
|
|
5680
|
+
/**
|
|
5681
|
+
* Identifier of the stylesheet containing this object (if exists).
|
|
5682
|
+
*/
|
|
5683
|
+
styleSheetId?: DOM.StyleSheetId;
|
|
5684
|
+
}
|
|
5685
|
+
|
|
5656
5686
|
/**
|
|
5657
5687
|
* CSS Scope at-rule descriptor.
|
|
5658
5688
|
* @experimental
|
|
@@ -5990,6 +6020,10 @@ export namespace Protocol {
|
|
|
5990
6020
|
* @supports CSS at-rule condition. Only one type of condition should be set.
|
|
5991
6021
|
*/
|
|
5992
6022
|
supports?: CSSSupports;
|
|
6023
|
+
/**
|
|
6024
|
+
* @navigation condition. Only one type of condition should be set.
|
|
6025
|
+
*/
|
|
6026
|
+
navigation?: CSSNavigation;
|
|
5993
6027
|
/**
|
|
5994
6028
|
* Block body.
|
|
5995
6029
|
*/
|
|
@@ -6483,6 +6517,19 @@ export namespace Protocol {
|
|
|
6483
6517
|
supports: CSSSupports;
|
|
6484
6518
|
}
|
|
6485
6519
|
|
|
6520
|
+
export interface SetNavigationTextRequest {
|
|
6521
|
+
styleSheetId: DOM.StyleSheetId;
|
|
6522
|
+
range: SourceRange;
|
|
6523
|
+
text: string;
|
|
6524
|
+
}
|
|
6525
|
+
|
|
6526
|
+
export interface SetNavigationTextResponse {
|
|
6527
|
+
/**
|
|
6528
|
+
* The resulting CSS Navigation rule after modification.
|
|
6529
|
+
*/
|
|
6530
|
+
navigation: CSSNavigation;
|
|
6531
|
+
}
|
|
6532
|
+
|
|
6486
6533
|
export interface SetScopeTextRequest {
|
|
6487
6534
|
styleSheetId: DOM.StyleSheetId;
|
|
6488
6535
|
range: SourceRange;
|