devtools-protocol 0.0.1399977 → 0.0.1402036
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.
@@ -1885,6 +1885,36 @@
|
|
1885
1885
|
}
|
1886
1886
|
]
|
1887
1887
|
},
|
1888
|
+
{
|
1889
|
+
"id": "SelectElementAccessibilityIssueReason",
|
1890
|
+
"type": "string",
|
1891
|
+
"enum": [
|
1892
|
+
"DisallowedSelectChild",
|
1893
|
+
"DisallowedOptGroupChild",
|
1894
|
+
"NonPhrasingContentOptionChild",
|
1895
|
+
"InteractiveContentOptionChild",
|
1896
|
+
"InteractiveContentLegendChild"
|
1897
|
+
]
|
1898
|
+
},
|
1899
|
+
{
|
1900
|
+
"id": "SelectElementAccessibilityIssueDetails",
|
1901
|
+
"description": "This isue warns about errors in the select element content model.",
|
1902
|
+
"type": "object",
|
1903
|
+
"properties": [
|
1904
|
+
{
|
1905
|
+
"name": "nodeId",
|
1906
|
+
"$ref": "DOM.BackendNodeId"
|
1907
|
+
},
|
1908
|
+
{
|
1909
|
+
"name": "selectElementAccessibilityIssueReason",
|
1910
|
+
"$ref": "SelectElementAccessibilityIssueReason"
|
1911
|
+
},
|
1912
|
+
{
|
1913
|
+
"name": "hasDisallowedAttributes",
|
1914
|
+
"type": "boolean"
|
1915
|
+
}
|
1916
|
+
]
|
1917
|
+
},
|
1888
1918
|
{
|
1889
1919
|
"id": "StyleSheetLoadingIssueReason",
|
1890
1920
|
"type": "string",
|
@@ -1974,7 +2004,8 @@
|
|
1974
2004
|
"StylesheetLoadingIssue",
|
1975
2005
|
"FederatedAuthUserInfoRequestIssue",
|
1976
2006
|
"PropertyRuleIssue",
|
1977
|
-
"SharedDictionaryIssue"
|
2007
|
+
"SharedDictionaryIssue",
|
2008
|
+
"SelectElementAccessibilityIssue"
|
1978
2009
|
]
|
1979
2010
|
},
|
1980
2011
|
{
|
@@ -2087,6 +2118,11 @@
|
|
2087
2118
|
"name": "sharedDictionaryIssueDetails",
|
2088
2119
|
"optional": true,
|
2089
2120
|
"$ref": "SharedDictionaryIssueDetails"
|
2121
|
+
},
|
2122
|
+
{
|
2123
|
+
"name": "selectElementAccessibilityIssueDetails",
|
2124
|
+
"optional": true,
|
2125
|
+
"$ref": "SelectElementAccessibilityIssueDetails"
|
2090
2126
|
}
|
2091
2127
|
]
|
2092
2128
|
},
|
@@ -15273,6 +15309,28 @@
|
|
15273
15309
|
"$ref": "LoadNetworkResourcePageResult"
|
15274
15310
|
}
|
15275
15311
|
]
|
15312
|
+
},
|
15313
|
+
{
|
15314
|
+
"name": "setCookieControls",
|
15315
|
+
"description": "Sets Controls for third-party cookie access\nPage reload is required before the new cookie bahavior will be observed",
|
15316
|
+
"experimental": true,
|
15317
|
+
"parameters": [
|
15318
|
+
{
|
15319
|
+
"name": "enableThirdPartyCookieRestriction",
|
15320
|
+
"description": "Whether 3pc restriction is enabled.",
|
15321
|
+
"type": "boolean"
|
15322
|
+
},
|
15323
|
+
{
|
15324
|
+
"name": "disableThirdPartyCookieMetadata",
|
15325
|
+
"description": "Whether 3pc grace period exception should be enabled; false by default.",
|
15326
|
+
"type": "boolean"
|
15327
|
+
},
|
15328
|
+
{
|
15329
|
+
"name": "disableThirdPartyCookieHeuristics",
|
15330
|
+
"description": "Whether 3pc heuristics exceptions should be enabled; false by default.",
|
15331
|
+
"type": "boolean"
|
15332
|
+
}
|
15333
|
+
]
|
15276
15334
|
}
|
15277
15335
|
],
|
15278
15336
|
"events": [
|
@@ -23968,6 +24026,20 @@
|
|
23968
24026
|
"description": "The initial URL the page will be navigated to. An empty string indicates about:blank.",
|
23969
24027
|
"type": "string"
|
23970
24028
|
},
|
24029
|
+
{
|
24030
|
+
"name": "left",
|
24031
|
+
"description": "Frame left origin in DIP (headless chrome only).",
|
24032
|
+
"experimental": true,
|
24033
|
+
"optional": true,
|
24034
|
+
"type": "integer"
|
24035
|
+
},
|
24036
|
+
{
|
24037
|
+
"name": "top",
|
24038
|
+
"description": "Frame top origin in DIP (headless chrome only).",
|
24039
|
+
"experimental": true,
|
24040
|
+
"optional": true,
|
24041
|
+
"type": "integer"
|
24042
|
+
},
|
23971
24043
|
{
|
23972
24044
|
"name": "width",
|
23973
24045
|
"description": "Frame width in DIP (headless chrome only).",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -984,6 +984,22 @@ experimental domain Audits
|
|
984
984
|
string failureMessage
|
985
985
|
optional Network.RequestId requestId
|
986
986
|
|
987
|
+
type SelectElementAccessibilityIssueReason extends string
|
988
|
+
enum
|
989
|
+
DisallowedSelectChild
|
990
|
+
DisallowedOptGroupChild
|
991
|
+
NonPhrasingContentOptionChild
|
992
|
+
InteractiveContentOptionChild
|
993
|
+
InteractiveContentLegendChild
|
994
|
+
|
995
|
+
# This isue warns about errors in the select element content model.
|
996
|
+
type SelectElementAccessibilityIssueDetails extends object
|
997
|
+
properties
|
998
|
+
DOM.BackendNodeId nodeId
|
999
|
+
SelectElementAccessibilityIssueReason selectElementAccessibilityIssueReason
|
1000
|
+
boolean hasDisallowedAttributes
|
1001
|
+
|
1002
|
+
|
987
1003
|
type StyleSheetLoadingIssueReason extends string
|
988
1004
|
enum
|
989
1005
|
LateImportRule
|
@@ -1044,6 +1060,7 @@ experimental domain Audits
|
|
1044
1060
|
FederatedAuthUserInfoRequestIssue
|
1045
1061
|
PropertyRuleIssue
|
1046
1062
|
SharedDictionaryIssue
|
1063
|
+
SelectElementAccessibilityIssue
|
1047
1064
|
|
1048
1065
|
# This struct holds a list of optional fields with additional information
|
1049
1066
|
# specific to the kind of issue. When adding a new issue code, please also
|
@@ -1071,6 +1088,7 @@ experimental domain Audits
|
|
1071
1088
|
optional PropertyRuleIssueDetails propertyRuleIssueDetails
|
1072
1089
|
optional FederatedAuthUserInfoRequestIssueDetails federatedAuthUserInfoRequestIssueDetails
|
1073
1090
|
optional SharedDictionaryIssueDetails sharedDictionaryIssueDetails
|
1091
|
+
optional SelectElementAccessibilityIssueDetails selectElementAccessibilityIssueDetails
|
1074
1092
|
|
1075
1093
|
# A unique id for a DevTools inspector issue. Allows other entities (e.g.
|
1076
1094
|
# exceptions, CDP message, console messages, etc.) to reference an issue.
|
@@ -7621,6 +7639,19 @@ domain Network
|
|
7621
7639
|
returns
|
7622
7640
|
LoadNetworkResourcePageResult resource
|
7623
7641
|
|
7642
|
+
# Sets Controls for third-party cookie access
|
7643
|
+
# Page reload is required before the new cookie bahavior will be observed
|
7644
|
+
experimental command setCookieControls
|
7645
|
+
parameters
|
7646
|
+
# Whether 3pc restriction is enabled.
|
7647
|
+
boolean enableThirdPartyCookieRestriction
|
7648
|
+
|
7649
|
+
# Whether 3pc grace period exception should be enabled; false by default.
|
7650
|
+
boolean disableThirdPartyCookieMetadata
|
7651
|
+
|
7652
|
+
# Whether 3pc heuristics exceptions should be enabled; false by default.
|
7653
|
+
boolean disableThirdPartyCookieHeuristics
|
7654
|
+
|
7624
7655
|
# This domain provides various functionality related to drawing atop the inspected page.
|
7625
7656
|
experimental domain Overlay
|
7626
7657
|
depends on DOM
|
@@ -11258,6 +11289,10 @@ domain Target
|
|
11258
11289
|
parameters
|
11259
11290
|
# The initial URL the page will be navigated to. An empty string indicates about:blank.
|
11260
11291
|
string url
|
11292
|
+
# Frame left origin in DIP (headless chrome only).
|
11293
|
+
experimental optional integer left
|
11294
|
+
# Frame top origin in DIP (headless chrome only).
|
11295
|
+
experimental optional integer top
|
11261
11296
|
# Frame width in DIP (headless chrome only).
|
11262
11297
|
optional integer width
|
11263
11298
|
# Frame height in DIP (headless chrome only).
|
@@ -3601,6 +3601,14 @@ export namespace ProtocolMapping {
|
|
3601
3601
|
paramsType: [Protocol.Network.LoadNetworkResourceRequest];
|
3602
3602
|
returnType: Protocol.Network.LoadNetworkResourceResponse;
|
3603
3603
|
};
|
3604
|
+
/**
|
3605
|
+
* Sets Controls for third-party cookie access
|
3606
|
+
* Page reload is required before the new cookie bahavior will be observed
|
3607
|
+
*/
|
3608
|
+
'Network.setCookieControls': {
|
3609
|
+
paramsType: [Protocol.Network.SetCookieControlsRequest];
|
3610
|
+
returnType: void;
|
3611
|
+
};
|
3604
3612
|
/**
|
3605
3613
|
* Disables domain notifications.
|
3606
3614
|
*/
|
@@ -2581,6 +2581,12 @@ export namespace ProtocolProxyApi {
|
|
2581
2581
|
*/
|
2582
2582
|
loadNetworkResource(params: Protocol.Network.LoadNetworkResourceRequest): Promise<Protocol.Network.LoadNetworkResourceResponse>;
|
2583
2583
|
|
2584
|
+
/**
|
2585
|
+
* Sets Controls for third-party cookie access
|
2586
|
+
* Page reload is required before the new cookie bahavior will be observed
|
2587
|
+
*/
|
2588
|
+
setCookieControls(params: Protocol.Network.SetCookieControlsRequest): Promise<void>;
|
2589
|
+
|
2584
2590
|
/**
|
2585
2591
|
* Fired when data chunk was received over the network.
|
2586
2592
|
*/
|
@@ -2723,6 +2723,12 @@ export namespace ProtocolTestsProxyApi {
|
|
2723
2723
|
*/
|
2724
2724
|
loadNetworkResource(params: Protocol.Network.LoadNetworkResourceRequest): Promise<{id: number, result: Protocol.Network.LoadNetworkResourceResponse, sessionId: string}>;
|
2725
2725
|
|
2726
|
+
/**
|
2727
|
+
* Sets Controls for third-party cookie access
|
2728
|
+
* Page reload is required before the new cookie bahavior will be observed
|
2729
|
+
*/
|
2730
|
+
setCookieControls(params: Protocol.Network.SetCookieControlsRequest): Promise<{id: number, result: void, sessionId: string}>;
|
2731
|
+
|
2726
2732
|
/**
|
2727
2733
|
* Fired when data chunk was received over the network.
|
2728
2734
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -3651,6 +3651,17 @@ export namespace Protocol {
|
|
3651
3651
|
requestId?: Network.RequestId;
|
3652
3652
|
}
|
3653
3653
|
|
3654
|
+
export type SelectElementAccessibilityIssueReason = ('DisallowedSelectChild' | 'DisallowedOptGroupChild' | 'NonPhrasingContentOptionChild' | 'InteractiveContentOptionChild' | 'InteractiveContentLegendChild');
|
3655
|
+
|
3656
|
+
/**
|
3657
|
+
* This isue warns about errors in the select element content model.
|
3658
|
+
*/
|
3659
|
+
export interface SelectElementAccessibilityIssueDetails {
|
3660
|
+
nodeId: DOM.BackendNodeId;
|
3661
|
+
selectElementAccessibilityIssueReason: SelectElementAccessibilityIssueReason;
|
3662
|
+
hasDisallowedAttributes: boolean;
|
3663
|
+
}
|
3664
|
+
|
3654
3665
|
export type StyleSheetLoadingIssueReason = ('LateImportRule' | 'RequestFailed');
|
3655
3666
|
|
3656
3667
|
/**
|
@@ -3697,7 +3708,7 @@ export namespace Protocol {
|
|
3697
3708
|
* optional fields in InspectorIssueDetails to convey more specific
|
3698
3709
|
* information about the kind of issue.
|
3699
3710
|
*/
|
3700
|
-
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue');
|
3711
|
+
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'SelectElementAccessibilityIssue');
|
3701
3712
|
|
3702
3713
|
/**
|
3703
3714
|
* This struct holds a list of optional fields with additional information
|
@@ -3726,6 +3737,7 @@ export namespace Protocol {
|
|
3726
3737
|
propertyRuleIssueDetails?: PropertyRuleIssueDetails;
|
3727
3738
|
federatedAuthUserInfoRequestIssueDetails?: FederatedAuthUserInfoRequestIssueDetails;
|
3728
3739
|
sharedDictionaryIssueDetails?: SharedDictionaryIssueDetails;
|
3740
|
+
selectElementAccessibilityIssueDetails?: SelectElementAccessibilityIssueDetails;
|
3729
3741
|
}
|
3730
3742
|
|
3731
3743
|
/**
|
@@ -12081,6 +12093,21 @@ export namespace Protocol {
|
|
12081
12093
|
resource: LoadNetworkResourcePageResult;
|
12082
12094
|
}
|
12083
12095
|
|
12096
|
+
export interface SetCookieControlsRequest {
|
12097
|
+
/**
|
12098
|
+
* Whether 3pc restriction is enabled.
|
12099
|
+
*/
|
12100
|
+
enableThirdPartyCookieRestriction: boolean;
|
12101
|
+
/**
|
12102
|
+
* Whether 3pc grace period exception should be enabled; false by default.
|
12103
|
+
*/
|
12104
|
+
disableThirdPartyCookieMetadata: boolean;
|
12105
|
+
/**
|
12106
|
+
* Whether 3pc heuristics exceptions should be enabled; false by default.
|
12107
|
+
*/
|
12108
|
+
disableThirdPartyCookieHeuristics: boolean;
|
12109
|
+
}
|
12110
|
+
|
12084
12111
|
/**
|
12085
12112
|
* Fired when data chunk was received over the network.
|
12086
12113
|
*/
|
@@ -17217,6 +17244,14 @@ export namespace Protocol {
|
|
17217
17244
|
* The initial URL the page will be navigated to. An empty string indicates about:blank.
|
17218
17245
|
*/
|
17219
17246
|
url: string;
|
17247
|
+
/**
|
17248
|
+
* Frame left origin in DIP (headless chrome only).
|
17249
|
+
*/
|
17250
|
+
left?: integer;
|
17251
|
+
/**
|
17252
|
+
* Frame top origin in DIP (headless chrome only).
|
17253
|
+
*/
|
17254
|
+
top?: integer;
|
17220
17255
|
/**
|
17221
17256
|
* Frame width in DIP (headless chrome only).
|
17222
17257
|
*/
|