devtools-protocol 0.0.1396320 → 0.0.1400418

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.
@@ -1017,11 +1017,11 @@
1017
1017
  {
1018
1018
  "name": "requestId",
1019
1019
  "description": "The unique request id.",
1020
+ "optional": true,
1020
1021
  "$ref": "Network.RequestId"
1021
1022
  },
1022
1023
  {
1023
1024
  "name": "url",
1024
- "optional": true,
1025
1025
  "type": "string"
1026
1026
  }
1027
1027
  ]
@@ -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
  },
@@ -23968,6 +24004,20 @@
23968
24004
  "description": "The initial URL the page will be navigated to. An empty string indicates about:blank.",
23969
24005
  "type": "string"
23970
24006
  },
24007
+ {
24008
+ "name": "left",
24009
+ "description": "Frame left origin in DIP (headless chrome only).",
24010
+ "experimental": true,
24011
+ "optional": true,
24012
+ "type": "integer"
24013
+ },
24014
+ {
24015
+ "name": "top",
24016
+ "description": "Frame top origin in DIP (headless chrome only).",
24017
+ "experimental": true,
24018
+ "optional": true,
24019
+ "type": "integer"
24020
+ },
23971
24021
  {
23972
24022
  "name": "width",
23973
24023
  "description": "Frame width in DIP (headless chrome only).",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1396320",
3
+ "version": "0.0.1400418",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -499,8 +499,8 @@ experimental domain Audits
499
499
  type AffectedRequest extends object
500
500
  properties
501
501
  # The unique request id.
502
- Network.RequestId requestId
503
- optional string url
502
+ optional Network.RequestId requestId
503
+ string url
504
504
 
505
505
  # Information about the frame affected by an inspector issue.
506
506
  type AffectedFrame extends object
@@ -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.
@@ -11258,6 +11276,10 @@ domain Target
11258
11276
  parameters
11259
11277
  # The initial URL the page will be navigated to. An empty string indicates about:blank.
11260
11278
  string url
11279
+ # Frame left origin in DIP (headless chrome only).
11280
+ experimental optional integer left
11281
+ # Frame top origin in DIP (headless chrome only).
11282
+ experimental optional integer top
11261
11283
  # Frame width in DIP (headless chrome only).
11262
11284
  optional integer width
11263
11285
  # Frame height in DIP (headless chrome only).
@@ -3314,8 +3314,8 @@ export namespace Protocol {
3314
3314
  /**
3315
3315
  * The unique request id.
3316
3316
  */
3317
- requestId: Network.RequestId;
3318
- url?: string;
3317
+ requestId?: Network.RequestId;
3318
+ url: string;
3319
3319
  }
3320
3320
 
3321
3321
  /**
@@ -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
  /**
@@ -17217,6 +17229,14 @@ export namespace Protocol {
17217
17229
  * The initial URL the page will be navigated to. An empty string indicates about:blank.
17218
17230
  */
17219
17231
  url: string;
17232
+ /**
17233
+ * Frame left origin in DIP (headless chrome only).
17234
+ */
17235
+ left?: integer;
17236
+ /**
17237
+ * Frame top origin in DIP (headless chrome only).
17238
+ */
17239
+ top?: integer;
17220
17240
  /**
17221
17241
  * Frame width in DIP (headless chrome only).
17222
17242
  */