devtools-protocol 0.0.1163380 → 0.0.1165779

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.
@@ -1479,6 +1479,7 @@
1479
1479
  },
1480
1480
  {
1481
1481
  "id": "NavigatorUserAgentIssueDetails",
1482
+ "deprecated": true,
1482
1483
  "type": "object",
1483
1484
  "properties": [
1484
1485
  {
@@ -1506,7 +1507,8 @@
1506
1507
  "FormInputAssignedAutocompleteValueToIdOrNameAttributeError",
1507
1508
  "FormLabelHasNeitherForNorNestedInput",
1508
1509
  "FormLabelForMatchesNonExistingIdError",
1509
- "FormInputHasWrongButWellIntendedAutocompleteValueError"
1510
+ "FormInputHasWrongButWellIntendedAutocompleteValueError",
1511
+ "ResponseWasBlockedByORB"
1510
1512
  ]
1511
1513
  },
1512
1514
  {
@@ -1533,6 +1535,11 @@
1533
1535
  "name": "violatingNodeAttribute",
1534
1536
  "optional": true,
1535
1537
  "type": "string"
1538
+ },
1539
+ {
1540
+ "name": "request",
1541
+ "optional": true,
1542
+ "$ref": "AffectedRequest"
1536
1543
  }
1537
1544
  ]
1538
1545
  },
@@ -1806,6 +1813,7 @@
1806
1813
  },
1807
1814
  {
1808
1815
  "name": "navigatorUserAgentIssueDetails",
1816
+ "deprecated": true,
1809
1817
  "optional": true,
1810
1818
  "$ref": "NavigatorUserAgentIssueDetails"
1811
1819
  },
@@ -3202,9 +3210,32 @@
3202
3210
  "items": {
3203
3211
  "$ref": "CSSScope"
3204
3212
  }
3213
+ },
3214
+ {
3215
+ "name": "ruleTypes",
3216
+ "description": "The array keeps the types of ancestor CSSRules from the innermost going outwards.",
3217
+ "experimental": true,
3218
+ "optional": true,
3219
+ "type": "array",
3220
+ "items": {
3221
+ "$ref": "CSSRuleType"
3222
+ }
3205
3223
  }
3206
3224
  ]
3207
3225
  },
3226
+ {
3227
+ "id": "CSSRuleType",
3228
+ "description": "Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors.\nThis list only contains rule types that are collected during the ancestor rule collection.",
3229
+ "experimental": true,
3230
+ "type": "string",
3231
+ "enum": [
3232
+ "MediaRule",
3233
+ "SupportsRule",
3234
+ "ContainerRule",
3235
+ "LayerRule",
3236
+ "ScopeRule"
3237
+ ]
3238
+ },
3208
3239
  {
3209
3240
  "id": "RuleUsage",
3210
3241
  "description": "CSS coverage information.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1163380",
3
+ "version": "0.0.1165779",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -719,7 +719,7 @@ experimental domain Audits
719
719
  Page.FrameId frameId
720
720
  Network.LoaderId loaderId
721
721
 
722
- type NavigatorUserAgentIssueDetails extends object
722
+ deprecated type NavigatorUserAgentIssueDetails extends object
723
723
  properties
724
724
  string url
725
725
  optional SourceCodeLocation location
@@ -737,6 +737,7 @@ experimental domain Audits
737
737
  FormLabelHasNeitherForNorNestedInput
738
738
  FormLabelForMatchesNonExistingIdError
739
739
  FormInputHasWrongButWellIntendedAutocompleteValueError
740
+ ResponseWasBlockedByORB
740
741
 
741
742
  # Depending on the concrete errorType, different properties are set.
742
743
  type GenericIssueDetails extends object
@@ -746,6 +747,7 @@ experimental domain Audits
746
747
  optional Page.FrameId frameId
747
748
  optional DOM.BackendNodeId violatingNodeId
748
749
  optional string violatingNodeAttribute
750
+ optional AffectedRequest request
749
751
 
750
752
  # This issue tracks information needed to print a deprecation message.
751
753
  # https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/third_party/blink/renderer/core/frame/deprecation/README.md
@@ -884,6 +886,7 @@ experimental domain Audits
884
886
  CorsIssue
885
887
  AttributionReportingIssue
886
888
  QuirksModeIssue
889
+ # Deprecated
887
890
  NavigatorUserAgentIssue
888
891
  GenericIssue
889
892
  DeprecationIssue
@@ -908,7 +911,7 @@ experimental domain Audits
908
911
  optional CorsIssueDetails corsIssueDetails
909
912
  optional AttributionReportingIssueDetails attributionReportingIssueDetails
910
913
  optional QuirksModeIssueDetails quirksModeIssueDetails
911
- optional NavigatorUserAgentIssueDetails navigatorUserAgentIssueDetails
914
+ deprecated optional NavigatorUserAgentIssueDetails navigatorUserAgentIssueDetails
912
915
  optional GenericIssueDetails genericIssueDetails
913
916
  optional DeprecationIssueDetails deprecationIssueDetails
914
917
  optional ClientHintIssueDetails clientHintIssueDetails
@@ -1547,6 +1550,18 @@ experimental domain CSS
1547
1550
  # @scope CSS at-rule array.
1548
1551
  # The array enumerates @scope at-rules starting with the innermost one, going outwards.
1549
1552
  experimental optional array of CSSScope scopes
1553
+ # The array keeps the types of ancestor CSSRules from the innermost going outwards.
1554
+ experimental optional array of CSSRuleType ruleTypes
1555
+
1556
+ # Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors.
1557
+ # This list only contains rule types that are collected during the ancestor rule collection.
1558
+ experimental type CSSRuleType extends string
1559
+ enum
1560
+ MediaRule
1561
+ SupportsRule
1562
+ ContainerRule
1563
+ LayerRule
1564
+ ScopeRule
1550
1565
 
1551
1566
  # CSS coverage information.
1552
1567
  type RuleUsage extends object
@@ -3475,7 +3475,7 @@ export namespace Protocol {
3475
3475
  location?: SourceCodeLocation;
3476
3476
  }
3477
3477
 
3478
- export type GenericIssueErrorType = ('CrossOriginPortalPostMessageError' | 'FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingId' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInput' | 'FormLabelForMatchesNonExistingIdError' | 'FormInputHasWrongButWellIntendedAutocompleteValueError');
3478
+ export type GenericIssueErrorType = ('CrossOriginPortalPostMessageError' | 'FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingId' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInput' | 'FormLabelForMatchesNonExistingIdError' | 'FormInputHasWrongButWellIntendedAutocompleteValueError' | 'ResponseWasBlockedByORB');
3479
3479
 
3480
3480
  /**
3481
3481
  * Depending on the concrete errorType, different properties are set.
@@ -3488,6 +3488,7 @@ export namespace Protocol {
3488
3488
  frameId?: Page.FrameId;
3489
3489
  violatingNodeId?: DOM.BackendNodeId;
3490
3490
  violatingNodeAttribute?: string;
3491
+ request?: AffectedRequest;
3491
3492
  }
3492
3493
 
3493
3494
  /**
@@ -4482,8 +4483,18 @@ export namespace Protocol {
4482
4483
  * The array enumerates @scope at-rules starting with the innermost one, going outwards.
4483
4484
  */
4484
4485
  scopes?: CSSScope[];
4486
+ /**
4487
+ * The array keeps the types of ancestor CSSRules from the innermost going outwards.
4488
+ */
4489
+ ruleTypes?: CSSRuleType[];
4485
4490
  }
4486
4491
 
4492
+ /**
4493
+ * Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors.
4494
+ * This list only contains rule types that are collected during the ancestor rule collection.
4495
+ */
4496
+ export type CSSRuleType = ('MediaRule' | 'SupportsRule' | 'ContainerRule' | 'LayerRule' | 'ScopeRule');
4497
+
4487
4498
  /**
4488
4499
  * CSS coverage information.
4489
4500
  */