devtools-protocol 0.0.1593706 → 0.0.1595872
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 +78 -54
- package/package.json +1 -1
- package/pdl/domains/Audits.pdl +1 -19
- package/pdl/domains/CSS.pdl +29 -0
- package/pdl/domains/Page.pdl +1 -0
- package/types/protocol-mapping.d.ts +8 -8
- package/types/protocol-proxy-api.d.ts +6 -6
- package/types/protocol-tests-proxy-api.d.ts +6 -6
- package/types/protocol.d.ts +51 -22
|
@@ -1471,40 +1471,6 @@
|
|
|
1471
1471
|
}
|
|
1472
1472
|
]
|
|
1473
1473
|
},
|
|
1474
|
-
{
|
|
1475
|
-
"id": "LowTextContrastIssueDetails",
|
|
1476
|
-
"type": "object",
|
|
1477
|
-
"properties": [
|
|
1478
|
-
{
|
|
1479
|
-
"name": "violatingNodeId",
|
|
1480
|
-
"$ref": "DOM.BackendNodeId"
|
|
1481
|
-
},
|
|
1482
|
-
{
|
|
1483
|
-
"name": "violatingNodeSelector",
|
|
1484
|
-
"type": "string"
|
|
1485
|
-
},
|
|
1486
|
-
{
|
|
1487
|
-
"name": "contrastRatio",
|
|
1488
|
-
"type": "number"
|
|
1489
|
-
},
|
|
1490
|
-
{
|
|
1491
|
-
"name": "thresholdAA",
|
|
1492
|
-
"type": "number"
|
|
1493
|
-
},
|
|
1494
|
-
{
|
|
1495
|
-
"name": "thresholdAAA",
|
|
1496
|
-
"type": "number"
|
|
1497
|
-
},
|
|
1498
|
-
{
|
|
1499
|
-
"name": "fontSize",
|
|
1500
|
-
"type": "string"
|
|
1501
|
-
},
|
|
1502
|
-
{
|
|
1503
|
-
"name": "fontWeight",
|
|
1504
|
-
"type": "string"
|
|
1505
|
-
}
|
|
1506
|
-
]
|
|
1507
|
-
},
|
|
1508
1474
|
{
|
|
1509
1475
|
"id": "CorsIssueDetails",
|
|
1510
1476
|
"description": "Details for a CORS related issue, e.g. a warning or error related to\nCORS RFC1918 enforcement.",
|
|
@@ -1806,7 +1772,8 @@
|
|
|
1806
1772
|
"NavigationEntryMarkedSkippable",
|
|
1807
1773
|
"AutofillAndManualTextPolicyControlledFeaturesInfo",
|
|
1808
1774
|
"AutofillPolicyControlledFeatureInfo",
|
|
1809
|
-
"ManualTextPolicyControlledFeatureInfo"
|
|
1775
|
+
"ManualTextPolicyControlledFeatureInfo",
|
|
1776
|
+
"FormModelContextParameterMissingTitleAndDescription"
|
|
1810
1777
|
]
|
|
1811
1778
|
},
|
|
1812
1779
|
{
|
|
@@ -2339,7 +2306,6 @@
|
|
|
2339
2306
|
"HeavyAdIssue",
|
|
2340
2307
|
"ContentSecurityPolicyIssue",
|
|
2341
2308
|
"SharedArrayBufferIssue",
|
|
2342
|
-
"LowTextContrastIssue",
|
|
2343
2309
|
"CorsIssue",
|
|
2344
2310
|
"AttributionReportingIssue",
|
|
2345
2311
|
"QuirksModeIssue",
|
|
@@ -2400,11 +2366,6 @@
|
|
|
2400
2366
|
"optional": true,
|
|
2401
2367
|
"$ref": "SharedArrayBufferIssueDetails"
|
|
2402
2368
|
},
|
|
2403
|
-
{
|
|
2404
|
-
"name": "lowTextContrastIssueDetails",
|
|
2405
|
-
"optional": true,
|
|
2406
|
-
"$ref": "LowTextContrastIssueDetails"
|
|
2407
|
-
},
|
|
2408
2369
|
{
|
|
2409
2370
|
"name": "corsIssueDetails",
|
|
2410
2371
|
"optional": true,
|
|
@@ -2610,18 +2571,6 @@
|
|
|
2610
2571
|
"name": "enable",
|
|
2611
2572
|
"description": "Enables issues domain, sends the issues collected so far to the client by means of the\n`issueAdded` event."
|
|
2612
2573
|
},
|
|
2613
|
-
{
|
|
2614
|
-
"name": "checkContrast",
|
|
2615
|
-
"description": "Runs the contrast check for the target page. Found issues are reported\nusing Audits.issueAdded event.",
|
|
2616
|
-
"parameters": [
|
|
2617
|
-
{
|
|
2618
|
-
"name": "reportAAA",
|
|
2619
|
-
"description": "Whether to report WCAG AAA level issues. Default is false.",
|
|
2620
|
-
"optional": true,
|
|
2621
|
-
"type": "boolean"
|
|
2622
|
-
}
|
|
2623
|
-
]
|
|
2624
|
-
},
|
|
2625
2574
|
{
|
|
2626
2575
|
"name": "checkFormsIssues",
|
|
2627
2576
|
"description": "Runs the form issues check for the target page. Found issues are reported\nusing Audits.issueAdded event.",
|
|
@@ -4632,6 +4581,16 @@
|
|
|
4632
4581
|
"items": {
|
|
4633
4582
|
"$ref": "CSSStartingStyle"
|
|
4634
4583
|
}
|
|
4584
|
+
},
|
|
4585
|
+
{
|
|
4586
|
+
"name": "navigations",
|
|
4587
|
+
"description": "@navigation CSS at-rule array.\nThe array enumerates @navigation at-rules starting with the innermost one, going outwards.",
|
|
4588
|
+
"experimental": true,
|
|
4589
|
+
"optional": true,
|
|
4590
|
+
"type": "array",
|
|
4591
|
+
"items": {
|
|
4592
|
+
"$ref": "CSSNavigation"
|
|
4593
|
+
}
|
|
4635
4594
|
}
|
|
4636
4595
|
]
|
|
4637
4596
|
},
|
|
@@ -4647,7 +4606,8 @@
|
|
|
4647
4606
|
"LayerRule",
|
|
4648
4607
|
"ScopeRule",
|
|
4649
4608
|
"StyleRule",
|
|
4650
|
-
"StartingStyleRule"
|
|
4609
|
+
"StartingStyleRule",
|
|
4610
|
+
"NavigationRule"
|
|
4651
4611
|
]
|
|
4652
4612
|
},
|
|
4653
4613
|
{
|
|
@@ -5047,6 +5007,37 @@
|
|
|
5047
5007
|
}
|
|
5048
5008
|
]
|
|
5049
5009
|
},
|
|
5010
|
+
{
|
|
5011
|
+
"id": "CSSNavigation",
|
|
5012
|
+
"description": "CSS Navigation at-rule descriptor.",
|
|
5013
|
+
"experimental": true,
|
|
5014
|
+
"type": "object",
|
|
5015
|
+
"properties": [
|
|
5016
|
+
{
|
|
5017
|
+
"name": "text",
|
|
5018
|
+
"description": "Navigation rule text.",
|
|
5019
|
+
"type": "string"
|
|
5020
|
+
},
|
|
5021
|
+
{
|
|
5022
|
+
"name": "active",
|
|
5023
|
+
"description": "Whether the navigation condition is satisfied.",
|
|
5024
|
+
"optional": true,
|
|
5025
|
+
"type": "boolean"
|
|
5026
|
+
},
|
|
5027
|
+
{
|
|
5028
|
+
"name": "range",
|
|
5029
|
+
"description": "The associated rule header range in the enclosing stylesheet (if\navailable).",
|
|
5030
|
+
"optional": true,
|
|
5031
|
+
"$ref": "SourceRange"
|
|
5032
|
+
},
|
|
5033
|
+
{
|
|
5034
|
+
"name": "styleSheetId",
|
|
5035
|
+
"description": "Identifier of the stylesheet containing this object (if exists).",
|
|
5036
|
+
"optional": true,
|
|
5037
|
+
"$ref": "DOM.StyleSheetId"
|
|
5038
|
+
}
|
|
5039
|
+
]
|
|
5040
|
+
},
|
|
5050
5041
|
{
|
|
5051
5042
|
"id": "CSSScope",
|
|
5052
5043
|
"description": "CSS Scope at-rule descriptor.",
|
|
@@ -5484,6 +5475,12 @@
|
|
|
5484
5475
|
"optional": true,
|
|
5485
5476
|
"$ref": "CSSSupports"
|
|
5486
5477
|
},
|
|
5478
|
+
{
|
|
5479
|
+
"name": "navigation",
|
|
5480
|
+
"description": "@navigation condition. Only one type of condition should be set.",
|
|
5481
|
+
"optional": true,
|
|
5482
|
+
"$ref": "CSSNavigation"
|
|
5483
|
+
},
|
|
5487
5484
|
{
|
|
5488
5485
|
"name": "children",
|
|
5489
5486
|
"description": "Block body.",
|
|
@@ -6338,6 +6335,32 @@
|
|
|
6338
6335
|
}
|
|
6339
6336
|
]
|
|
6340
6337
|
},
|
|
6338
|
+
{
|
|
6339
|
+
"name": "setNavigationText",
|
|
6340
|
+
"description": "Modifies the expression of a navigation at-rule.",
|
|
6341
|
+
"experimental": true,
|
|
6342
|
+
"parameters": [
|
|
6343
|
+
{
|
|
6344
|
+
"name": "styleSheetId",
|
|
6345
|
+
"$ref": "DOM.StyleSheetId"
|
|
6346
|
+
},
|
|
6347
|
+
{
|
|
6348
|
+
"name": "range",
|
|
6349
|
+
"$ref": "SourceRange"
|
|
6350
|
+
},
|
|
6351
|
+
{
|
|
6352
|
+
"name": "text",
|
|
6353
|
+
"type": "string"
|
|
6354
|
+
}
|
|
6355
|
+
],
|
|
6356
|
+
"returns": [
|
|
6357
|
+
{
|
|
6358
|
+
"name": "navigation",
|
|
6359
|
+
"description": "The resulting CSS Navigation rule after modification.",
|
|
6360
|
+
"$ref": "CSSNavigation"
|
|
6361
|
+
}
|
|
6362
|
+
]
|
|
6363
|
+
},
|
|
6341
6364
|
{
|
|
6342
6365
|
"name": "setScopeText",
|
|
6343
6366
|
"description": "Modifies the expression of a scope at-rule.",
|
|
@@ -22885,6 +22908,7 @@
|
|
|
22885
22908
|
"BackForwardCacheDisabledForPrerender",
|
|
22886
22909
|
"UserAgentOverrideDiffers",
|
|
22887
22910
|
"ForegroundCacheLimit",
|
|
22911
|
+
"ForwardCacheDisabled",
|
|
22888
22912
|
"BrowsingInstanceNotSwapped",
|
|
22889
22913
|
"BackForwardCacheDisabledForDelegate",
|
|
22890
22914
|
"UnloadHandlerExistsInMainFrame",
|
package/package.json
CHANGED
package/pdl/domains/Audits.pdl
CHANGED
|
@@ -258,16 +258,6 @@ experimental domain Audits
|
|
|
258
258
|
boolean isWarning
|
|
259
259
|
SharedArrayBufferIssueType type
|
|
260
260
|
|
|
261
|
-
type LowTextContrastIssueDetails extends object
|
|
262
|
-
properties
|
|
263
|
-
DOM.BackendNodeId violatingNodeId
|
|
264
|
-
string violatingNodeSelector
|
|
265
|
-
number contrastRatio
|
|
266
|
-
number thresholdAA
|
|
267
|
-
number thresholdAAA
|
|
268
|
-
string fontSize
|
|
269
|
-
string fontWeight
|
|
270
|
-
|
|
271
261
|
# Details for a CORS related issue, e.g. a warning or error related to
|
|
272
262
|
# CORS RFC1918 enforcement.
|
|
273
263
|
type CorsIssueDetails extends object
|
|
@@ -438,6 +428,7 @@ experimental domain Audits
|
|
|
438
428
|
AutofillAndManualTextPolicyControlledFeaturesInfo
|
|
439
429
|
AutofillPolicyControlledFeatureInfo
|
|
440
430
|
ManualTextPolicyControlledFeatureInfo
|
|
431
|
+
FormModelContextParameterMissingTitleAndDescription
|
|
441
432
|
|
|
442
433
|
# Depending on the concrete errorType, different properties are set.
|
|
443
434
|
type GenericIssueDetails extends object
|
|
@@ -743,7 +734,6 @@ experimental domain Audits
|
|
|
743
734
|
HeavyAdIssue
|
|
744
735
|
ContentSecurityPolicyIssue
|
|
745
736
|
SharedArrayBufferIssue
|
|
746
|
-
LowTextContrastIssue
|
|
747
737
|
CorsIssue
|
|
748
738
|
AttributionReportingIssue
|
|
749
739
|
QuirksModeIssue
|
|
@@ -780,7 +770,6 @@ experimental domain Audits
|
|
|
780
770
|
optional HeavyAdIssueDetails heavyAdIssueDetails
|
|
781
771
|
optional ContentSecurityPolicyIssueDetails contentSecurityPolicyIssueDetails
|
|
782
772
|
optional SharedArrayBufferIssueDetails sharedArrayBufferIssueDetails
|
|
783
|
-
optional LowTextContrastIssueDetails lowTextContrastIssueDetails
|
|
784
773
|
optional CorsIssueDetails corsIssueDetails
|
|
785
774
|
optional AttributionReportingIssueDetails attributionReportingIssueDetails
|
|
786
775
|
optional QuirksModeIssueDetails quirksModeIssueDetails
|
|
@@ -848,13 +837,6 @@ experimental domain Audits
|
|
|
848
837
|
# `issueAdded` event.
|
|
849
838
|
command enable
|
|
850
839
|
|
|
851
|
-
# Runs the contrast check for the target page. Found issues are reported
|
|
852
|
-
# using Audits.issueAdded event.
|
|
853
|
-
command checkContrast
|
|
854
|
-
parameters
|
|
855
|
-
# Whether to report WCAG AAA level issues. Default is false.
|
|
856
|
-
optional boolean reportAAA
|
|
857
|
-
|
|
858
840
|
# Runs the form issues check for the target page. Found issues are reported
|
|
859
841
|
# using Audits.issueAdded event.
|
|
860
842
|
command checkFormsIssues
|
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
|
package/pdl/domains/Page.pdl
CHANGED
|
@@ -1872,14 +1872,6 @@ export namespace ProtocolMapping {
|
|
|
1872
1872
|
paramsType: [];
|
|
1873
1873
|
returnType: void;
|
|
1874
1874
|
};
|
|
1875
|
-
/**
|
|
1876
|
-
* Runs the contrast check for the target page. Found issues are reported
|
|
1877
|
-
* using Audits.issueAdded event.
|
|
1878
|
-
*/
|
|
1879
|
-
'Audits.checkContrast': {
|
|
1880
|
-
paramsType: [Protocol.Audits.CheckContrastRequest?];
|
|
1881
|
-
returnType: void;
|
|
1882
|
-
};
|
|
1883
1875
|
/**
|
|
1884
1876
|
* Runs the form issues check for the target page. Found issues are reported
|
|
1885
1877
|
* using Audits.issueAdded event.
|
|
@@ -2468,6 +2460,14 @@ export namespace ProtocolMapping {
|
|
|
2468
2460
|
paramsType: [Protocol.CSS.SetSupportsTextRequest];
|
|
2469
2461
|
returnType: Protocol.CSS.SetSupportsTextResponse;
|
|
2470
2462
|
};
|
|
2463
|
+
/**
|
|
2464
|
+
* Modifies the expression of a navigation at-rule.
|
|
2465
|
+
* @experimental
|
|
2466
|
+
*/
|
|
2467
|
+
'CSS.setNavigationText': {
|
|
2468
|
+
paramsType: [Protocol.CSS.SetNavigationTextRequest];
|
|
2469
|
+
returnType: Protocol.CSS.SetNavigationTextResponse;
|
|
2470
|
+
};
|
|
2471
2471
|
/**
|
|
2472
2472
|
* Modifies the expression of a scope at-rule.
|
|
2473
2473
|
* @experimental
|
|
@@ -843,12 +843,6 @@ export namespace ProtocolProxyApi {
|
|
|
843
843
|
*/
|
|
844
844
|
enable(): Promise<void>;
|
|
845
845
|
|
|
846
|
-
/**
|
|
847
|
-
* Runs the contrast check for the target page. Found issues are reported
|
|
848
|
-
* using Audits.issueAdded event.
|
|
849
|
-
*/
|
|
850
|
-
checkContrast(params: Protocol.Audits.CheckContrastRequest): Promise<void>;
|
|
851
|
-
|
|
852
846
|
/**
|
|
853
847
|
* Runs the form issues check for the target page. Found issues are reported
|
|
854
848
|
* using Audits.issueAdded event.
|
|
@@ -1356,6 +1350,12 @@ export namespace ProtocolProxyApi {
|
|
|
1356
1350
|
*/
|
|
1357
1351
|
setSupportsText(params: Protocol.CSS.SetSupportsTextRequest): Promise<Protocol.CSS.SetSupportsTextResponse>;
|
|
1358
1352
|
|
|
1353
|
+
/**
|
|
1354
|
+
* Modifies the expression of a navigation at-rule.
|
|
1355
|
+
* @experimental
|
|
1356
|
+
*/
|
|
1357
|
+
setNavigationText(params: Protocol.CSS.SetNavigationTextRequest): Promise<Protocol.CSS.SetNavigationTextResponse>;
|
|
1358
|
+
|
|
1359
1359
|
/**
|
|
1360
1360
|
* Modifies the expression of a scope at-rule.
|
|
1361
1361
|
* @experimental
|
|
@@ -899,12 +899,6 @@ export namespace ProtocolTestsProxyApi {
|
|
|
899
899
|
*/
|
|
900
900
|
enable(): Promise<{id: number, result: void, sessionId: string}>;
|
|
901
901
|
|
|
902
|
-
/**
|
|
903
|
-
* Runs the contrast check for the target page. Found issues are reported
|
|
904
|
-
* using Audits.issueAdded event.
|
|
905
|
-
*/
|
|
906
|
-
checkContrast(params: Protocol.Audits.CheckContrastRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
907
|
-
|
|
908
902
|
/**
|
|
909
903
|
* Runs the form issues check for the target page. Found issues are reported
|
|
910
904
|
* using Audits.issueAdded event.
|
|
@@ -1430,6 +1424,12 @@ export namespace ProtocolTestsProxyApi {
|
|
|
1430
1424
|
*/
|
|
1431
1425
|
setSupportsText(params: Protocol.CSS.SetSupportsTextRequest): Promise<{id: number, result: Protocol.CSS.SetSupportsTextResponse, sessionId: string}>;
|
|
1432
1426
|
|
|
1427
|
+
/**
|
|
1428
|
+
* Modifies the expression of a navigation at-rule.
|
|
1429
|
+
* @experimental
|
|
1430
|
+
*/
|
|
1431
|
+
setNavigationText(params: Protocol.CSS.SetNavigationTextRequest): Promise<{id: number, result: Protocol.CSS.SetNavigationTextResponse, sessionId: string}>;
|
|
1432
|
+
|
|
1433
1433
|
/**
|
|
1434
1434
|
* Modifies the expression of a scope at-rule.
|
|
1435
1435
|
* @experimental
|
package/types/protocol.d.ts
CHANGED
|
@@ -3624,16 +3624,6 @@ export namespace Protocol {
|
|
|
3624
3624
|
type: SharedArrayBufferIssueType;
|
|
3625
3625
|
}
|
|
3626
3626
|
|
|
3627
|
-
export interface LowTextContrastIssueDetails {
|
|
3628
|
-
violatingNodeId: DOM.BackendNodeId;
|
|
3629
|
-
violatingNodeSelector: string;
|
|
3630
|
-
contrastRatio: number;
|
|
3631
|
-
thresholdAA: number;
|
|
3632
|
-
thresholdAAA: number;
|
|
3633
|
-
fontSize: string;
|
|
3634
|
-
fontWeight: string;
|
|
3635
|
-
}
|
|
3636
|
-
|
|
3637
3627
|
/**
|
|
3638
3628
|
* Details for a CORS related issue, e.g. a warning or error related to
|
|
3639
3629
|
* CORS RFC1918 enforcement.
|
|
@@ -3715,7 +3705,7 @@ export namespace Protocol {
|
|
|
3715
3705
|
request: AffectedRequest;
|
|
3716
3706
|
}
|
|
3717
3707
|
|
|
3718
|
-
export type GenericIssueErrorType = ('FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingIdError' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInputError' | 'FormLabelForMatchesNonExistingIdError' | 'FormInputHasWrongButWellIntendedAutocompleteValueError' | 'ResponseWasBlockedByORB' | 'NavigationEntryMarkedSkippable' | 'AutofillAndManualTextPolicyControlledFeaturesInfo' | 'AutofillPolicyControlledFeatureInfo' | 'ManualTextPolicyControlledFeatureInfo');
|
|
3708
|
+
export type GenericIssueErrorType = ('FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingIdError' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInputError' | 'FormLabelForMatchesNonExistingIdError' | 'FormInputHasWrongButWellIntendedAutocompleteValueError' | 'ResponseWasBlockedByORB' | 'NavigationEntryMarkedSkippable' | 'AutofillAndManualTextPolicyControlledFeaturesInfo' | 'AutofillPolicyControlledFeatureInfo' | 'ManualTextPolicyControlledFeatureInfo' | 'FormModelContextParameterMissingTitleAndDescription');
|
|
3719
3709
|
|
|
3720
3710
|
/**
|
|
3721
3711
|
* Depending on the concrete errorType, different properties are set.
|
|
@@ -3998,7 +3988,7 @@ export namespace Protocol {
|
|
|
3998
3988
|
* optional fields in InspectorIssueDetails to convey more specific
|
|
3999
3989
|
* information about the kind of issue.
|
|
4000
3990
|
*/
|
|
4001
|
-
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | '
|
|
3991
|
+
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'ElementAccessibilityIssue' | 'SRIMessageSignatureIssue' | 'UnencodedDigestIssue' | 'ConnectionAllowlistIssue' | 'UserReidentificationIssue' | 'PermissionElementIssue' | 'PerformanceIssue' | 'SelectivePermissionsInterventionIssue');
|
|
4002
3992
|
|
|
4003
3993
|
/**
|
|
4004
3994
|
* This struct holds a list of optional fields with additional information
|
|
@@ -4012,7 +4002,6 @@ export namespace Protocol {
|
|
|
4012
4002
|
heavyAdIssueDetails?: HeavyAdIssueDetails;
|
|
4013
4003
|
contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;
|
|
4014
4004
|
sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;
|
|
4015
|
-
lowTextContrastIssueDetails?: LowTextContrastIssueDetails;
|
|
4016
4005
|
corsIssueDetails?: CorsIssueDetails;
|
|
4017
4006
|
attributionReportingIssueDetails?: AttributionReportingIssueDetails;
|
|
4018
4007
|
quirksModeIssueDetails?: QuirksModeIssueDetails;
|
|
@@ -4100,13 +4089,6 @@ export namespace Protocol {
|
|
|
4100
4089
|
encodedSize: integer;
|
|
4101
4090
|
}
|
|
4102
4091
|
|
|
4103
|
-
export interface CheckContrastRequest {
|
|
4104
|
-
/**
|
|
4105
|
-
* Whether to report WCAG AAA level issues. Default is false.
|
|
4106
|
-
*/
|
|
4107
|
-
reportAAA?: boolean;
|
|
4108
|
-
}
|
|
4109
|
-
|
|
4110
4092
|
export interface CheckFormsIssuesResponse {
|
|
4111
4093
|
formIssues: GenericIssueDetails[];
|
|
4112
4094
|
}
|
|
@@ -5345,6 +5327,12 @@ export namespace Protocol {
|
|
|
5345
5327
|
* @experimental
|
|
5346
5328
|
*/
|
|
5347
5329
|
startingStyles?: CSSStartingStyle[];
|
|
5330
|
+
/**
|
|
5331
|
+
* @navigation CSS at-rule array.
|
|
5332
|
+
* The array enumerates @navigation at-rules starting with the innermost one, going outwards.
|
|
5333
|
+
* @experimental
|
|
5334
|
+
*/
|
|
5335
|
+
navigations?: CSSNavigation[];
|
|
5348
5336
|
}
|
|
5349
5337
|
|
|
5350
5338
|
/**
|
|
@@ -5352,7 +5340,7 @@ export namespace Protocol {
|
|
|
5352
5340
|
* This list only contains rule types that are collected during the ancestor rule collection.
|
|
5353
5341
|
* @experimental
|
|
5354
5342
|
*/
|
|
5355
|
-
export type CSSRuleType = ('MediaRule' | 'SupportsRule' | 'ContainerRule' | 'LayerRule' | 'ScopeRule' | 'StyleRule' | 'StartingStyleRule');
|
|
5343
|
+
export type CSSRuleType = ('MediaRule' | 'SupportsRule' | 'ContainerRule' | 'LayerRule' | 'ScopeRule' | 'StyleRule' | 'StartingStyleRule' | 'NavigationRule');
|
|
5356
5344
|
|
|
5357
5345
|
/**
|
|
5358
5346
|
* CSS coverage information.
|
|
@@ -5653,6 +5641,30 @@ export namespace Protocol {
|
|
|
5653
5641
|
styleSheetId?: DOM.StyleSheetId;
|
|
5654
5642
|
}
|
|
5655
5643
|
|
|
5644
|
+
/**
|
|
5645
|
+
* CSS Navigation at-rule descriptor.
|
|
5646
|
+
* @experimental
|
|
5647
|
+
*/
|
|
5648
|
+
export interface CSSNavigation {
|
|
5649
|
+
/**
|
|
5650
|
+
* Navigation rule text.
|
|
5651
|
+
*/
|
|
5652
|
+
text: string;
|
|
5653
|
+
/**
|
|
5654
|
+
* Whether the navigation condition is satisfied.
|
|
5655
|
+
*/
|
|
5656
|
+
active?: boolean;
|
|
5657
|
+
/**
|
|
5658
|
+
* The associated rule header range in the enclosing stylesheet (if
|
|
5659
|
+
* available).
|
|
5660
|
+
*/
|
|
5661
|
+
range?: SourceRange;
|
|
5662
|
+
/**
|
|
5663
|
+
* Identifier of the stylesheet containing this object (if exists).
|
|
5664
|
+
*/
|
|
5665
|
+
styleSheetId?: DOM.StyleSheetId;
|
|
5666
|
+
}
|
|
5667
|
+
|
|
5656
5668
|
/**
|
|
5657
5669
|
* CSS Scope at-rule descriptor.
|
|
5658
5670
|
* @experimental
|
|
@@ -5990,6 +6002,10 @@ export namespace Protocol {
|
|
|
5990
6002
|
* @supports CSS at-rule condition. Only one type of condition should be set.
|
|
5991
6003
|
*/
|
|
5992
6004
|
supports?: CSSSupports;
|
|
6005
|
+
/**
|
|
6006
|
+
* @navigation condition. Only one type of condition should be set.
|
|
6007
|
+
*/
|
|
6008
|
+
navigation?: CSSNavigation;
|
|
5993
6009
|
/**
|
|
5994
6010
|
* Block body.
|
|
5995
6011
|
*/
|
|
@@ -6483,6 +6499,19 @@ export namespace Protocol {
|
|
|
6483
6499
|
supports: CSSSupports;
|
|
6484
6500
|
}
|
|
6485
6501
|
|
|
6502
|
+
export interface SetNavigationTextRequest {
|
|
6503
|
+
styleSheetId: DOM.StyleSheetId;
|
|
6504
|
+
range: SourceRange;
|
|
6505
|
+
text: string;
|
|
6506
|
+
}
|
|
6507
|
+
|
|
6508
|
+
export interface SetNavigationTextResponse {
|
|
6509
|
+
/**
|
|
6510
|
+
* The resulting CSS Navigation rule after modification.
|
|
6511
|
+
*/
|
|
6512
|
+
navigation: CSSNavigation;
|
|
6513
|
+
}
|
|
6514
|
+
|
|
6486
6515
|
export interface SetScopeTextRequest {
|
|
6487
6516
|
styleSheetId: DOM.StyleSheetId;
|
|
6488
6517
|
range: SourceRange;
|
|
@@ -17248,7 +17277,7 @@ export namespace Protocol {
|
|
|
17248
17277
|
* List of not restored reasons for back-forward cache.
|
|
17249
17278
|
* @experimental
|
|
17250
17279
|
*/
|
|
17251
|
-
export type BackForwardCacheNotRestoredReason = ('NotPrimaryMainFrame' | 'BackForwardCacheDisabled' | 'RelatedActiveContentsExist' | 'HTTPStatusNotOK' | 'SchemeNotHTTPOrHTTPS' | 'Loading' | 'WasGrantedMediaAccess' | 'DisableForRenderFrameHostCalled' | 'DomainNotAllowed' | 'HTTPMethodNotGET' | 'SubframeIsNavigating' | 'Timeout' | 'CacheLimit' | 'JavaScriptExecution' | 'RendererProcessKilled' | 'RendererProcessCrashed' | 'SchedulerTrackedFeatureUsed' | 'ConflictingBrowsingInstance' | 'CacheFlushed' | 'ServiceWorkerVersionActivation' | 'SessionRestored' | 'ServiceWorkerPostMessage' | 'EnteredBackForwardCacheBeforeServiceWorkerHostAdded' | 'RenderFrameHostReused_SameSite' | 'RenderFrameHostReused_CrossSite' | 'ServiceWorkerClaim' | 'IgnoreEventAndEvict' | 'HaveInnerContents' | 'TimeoutPuttingInCache' | 'BackForwardCacheDisabledByLowMemory' | 'BackForwardCacheDisabledByCommandLine' | 'NetworkRequestDatapipeDrainedAsBytesConsumer' | 'NetworkRequestRedirected' | 'NetworkRequestTimeout' | 'NetworkExceedsBufferLimit' | 'NavigationCancelledWhileRestoring' | 'NotMostRecentNavigationEntry' | 'BackForwardCacheDisabledForPrerender' | 'UserAgentOverrideDiffers' | 'ForegroundCacheLimit' | 'BrowsingInstanceNotSwapped' | 'BackForwardCacheDisabledForDelegate' | 'UnloadHandlerExistsInMainFrame' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'CacheControlNoStore' | 'CacheControlNoStoreCookieModified' | 'CacheControlNoStoreHTTPOnlyCookieModified' | 'NoResponseHead' | 'Unknown' | 'ActivationNavigationsDisallowedForBug1234857' | 'ErrorDocument' | 'FencedFramesEmbedder' | 'CookieDisabled' | 'HTTPAuthRequired' | 'CookieFlushed' | 'BroadcastChannelOnMessage' | 'WebViewSettingsChanged' | 'WebViewJavaScriptObjectChanged' | 'WebViewMessageListenerInjected' | 'WebViewSafeBrowsingAllowlistChanged' | 'WebViewDocumentStartJavascriptChanged' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'OutstandingNetworkRequestOthers' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'WebXR' | 'SharedWorker' | 'SharedWorkerMessage' | 'SharedWorkerWithNoActiveClient' | 'WebLocks' | 'WebLocksContention' | 'WebHID' | 'WebBluetooth' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'IndexedDBEvent' | 'Dummy' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCUsedWithCCNS' | 'WebTransportUsedWithCCNS' | 'WebSocketUsedWithCCNS' | 'SmartCard' | 'LiveMediaStreamTrack' | 'UnloadHandler' | 'ParserAborted' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'ContentDiscarded' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame' | 'RequestedByWebViewClient' | 'PostMessageByWebViewClient' | 'CacheControlNoStoreDeviceBoundSessionTerminated' | 'CacheLimitPrunedOnModerateMemoryPressure' | 'CacheLimitPrunedOnCriticalMemoryPressure');
|
|
17280
|
+
export type BackForwardCacheNotRestoredReason = ('NotPrimaryMainFrame' | 'BackForwardCacheDisabled' | 'RelatedActiveContentsExist' | 'HTTPStatusNotOK' | 'SchemeNotHTTPOrHTTPS' | 'Loading' | 'WasGrantedMediaAccess' | 'DisableForRenderFrameHostCalled' | 'DomainNotAllowed' | 'HTTPMethodNotGET' | 'SubframeIsNavigating' | 'Timeout' | 'CacheLimit' | 'JavaScriptExecution' | 'RendererProcessKilled' | 'RendererProcessCrashed' | 'SchedulerTrackedFeatureUsed' | 'ConflictingBrowsingInstance' | 'CacheFlushed' | 'ServiceWorkerVersionActivation' | 'SessionRestored' | 'ServiceWorkerPostMessage' | 'EnteredBackForwardCacheBeforeServiceWorkerHostAdded' | 'RenderFrameHostReused_SameSite' | 'RenderFrameHostReused_CrossSite' | 'ServiceWorkerClaim' | 'IgnoreEventAndEvict' | 'HaveInnerContents' | 'TimeoutPuttingInCache' | 'BackForwardCacheDisabledByLowMemory' | 'BackForwardCacheDisabledByCommandLine' | 'NetworkRequestDatapipeDrainedAsBytesConsumer' | 'NetworkRequestRedirected' | 'NetworkRequestTimeout' | 'NetworkExceedsBufferLimit' | 'NavigationCancelledWhileRestoring' | 'NotMostRecentNavigationEntry' | 'BackForwardCacheDisabledForPrerender' | 'UserAgentOverrideDiffers' | 'ForegroundCacheLimit' | 'ForwardCacheDisabled' | 'BrowsingInstanceNotSwapped' | 'BackForwardCacheDisabledForDelegate' | 'UnloadHandlerExistsInMainFrame' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'CacheControlNoStore' | 'CacheControlNoStoreCookieModified' | 'CacheControlNoStoreHTTPOnlyCookieModified' | 'NoResponseHead' | 'Unknown' | 'ActivationNavigationsDisallowedForBug1234857' | 'ErrorDocument' | 'FencedFramesEmbedder' | 'CookieDisabled' | 'HTTPAuthRequired' | 'CookieFlushed' | 'BroadcastChannelOnMessage' | 'WebViewSettingsChanged' | 'WebViewJavaScriptObjectChanged' | 'WebViewMessageListenerInjected' | 'WebViewSafeBrowsingAllowlistChanged' | 'WebViewDocumentStartJavascriptChanged' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'OutstandingNetworkRequestOthers' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'WebXR' | 'SharedWorker' | 'SharedWorkerMessage' | 'SharedWorkerWithNoActiveClient' | 'WebLocks' | 'WebLocksContention' | 'WebHID' | 'WebBluetooth' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'IndexedDBEvent' | 'Dummy' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCUsedWithCCNS' | 'WebTransportUsedWithCCNS' | 'WebSocketUsedWithCCNS' | 'SmartCard' | 'LiveMediaStreamTrack' | 'UnloadHandler' | 'ParserAborted' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'ContentDiscarded' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame' | 'RequestedByWebViewClient' | 'PostMessageByWebViewClient' | 'CacheControlNoStoreDeviceBoundSessionTerminated' | 'CacheLimitPrunedOnModerateMemoryPressure' | 'CacheLimitPrunedOnCriticalMemoryPressure');
|
|
17252
17281
|
|
|
17253
17282
|
/**
|
|
17254
17283
|
* Types of not restored reasons for back-forward cache.
|