devtools-protocol 0.0.1493946 → 0.0.1495869

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.
@@ -1587,6 +1587,16 @@
1587
1587
  "ValidationFailedIntegrityMismatch"
1588
1588
  ]
1589
1589
  },
1590
+ {
1591
+ "id": "UnencodedDigestError",
1592
+ "type": "string",
1593
+ "enum": [
1594
+ "MalformedDictionary",
1595
+ "UnknownAlgorithm",
1596
+ "IncorrectDigestType",
1597
+ "IncorrectDigestLength"
1598
+ ]
1599
+ },
1590
1600
  {
1591
1601
  "id": "AttributionReportingIssueDetails",
1592
1602
  "description": "Details for issues around \"Attribution Reporting API\" usage.\nExplainer: https://github.com/WICG/attribution-reporting-api",
@@ -1696,6 +1706,20 @@
1696
1706
  }
1697
1707
  ]
1698
1708
  },
1709
+ {
1710
+ "id": "UnencodedDigestIssueDetails",
1711
+ "type": "object",
1712
+ "properties": [
1713
+ {
1714
+ "name": "error",
1715
+ "$ref": "UnencodedDigestError"
1716
+ },
1717
+ {
1718
+ "name": "request",
1719
+ "$ref": "AffectedRequest"
1720
+ }
1721
+ ]
1722
+ },
1699
1723
  {
1700
1724
  "id": "GenericIssueErrorType",
1701
1725
  "type": "string",
@@ -2114,6 +2138,7 @@
2114
2138
  "SharedDictionaryIssue",
2115
2139
  "ElementAccessibilityIssue",
2116
2140
  "SRIMessageSignatureIssue",
2141
+ "UnencodedDigestIssue",
2117
2142
  "UserReidentificationIssue"
2118
2143
  ]
2119
2144
  },
@@ -2243,6 +2268,11 @@
2243
2268
  "optional": true,
2244
2269
  "$ref": "SRIMessageSignatureIssueDetails"
2245
2270
  },
2271
+ {
2272
+ "name": "unencodedDigestIssueDetails",
2273
+ "optional": true,
2274
+ "$ref": "UnencodedDigestIssueDetails"
2275
+ },
2246
2276
  {
2247
2277
  "name": "userReidentificationIssueDetails",
2248
2278
  "optional": true,
@@ -21711,7 +21741,7 @@
21711
21741
  },
21712
21742
  {
21713
21743
  "name": "compilationCacheProduced",
21714
- "description": "Issued for every compilation cache generated. Is only available\nif Page.setGenerateCompilationCache is enabled.",
21744
+ "description": "Issued for every compilation cache generated.",
21715
21745
  "experimental": true,
21716
21746
  "parameters": [
21717
21747
  {
@@ -25604,6 +25634,25 @@
25604
25634
  }
25605
25635
  }
25606
25636
  ]
25637
+ },
25638
+ {
25639
+ "name": "openDevTools",
25640
+ "description": "Opens a DevTools window for the target.",
25641
+ "experimental": true,
25642
+ "parameters": [
25643
+ {
25644
+ "name": "targetId",
25645
+ "description": "This can be the page or tab target ID.",
25646
+ "$ref": "TargetID"
25647
+ }
25648
+ ],
25649
+ "returns": [
25650
+ {
25651
+ "name": "targetId",
25652
+ "description": "The targetId of DevTools page target.",
25653
+ "$ref": "TargetID"
25654
+ }
25655
+ ]
25607
25656
  }
25608
25657
  ],
25609
25658
  "events": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1493946",
3
+ "version": "0.0.1495869",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -825,6 +825,13 @@ experimental domain Audits
825
825
  ValidationFailedSignatureMismatch
826
826
  ValidationFailedIntegrityMismatch
827
827
 
828
+ type UnencodedDigestError extends string
829
+ enum
830
+ MalformedDictionary
831
+ UnknownAlgorithm
832
+ IncorrectDigestType
833
+ IncorrectDigestLength
834
+
828
835
  # Details for issues around "Attribution Reporting API" usage.
829
836
  # Explainer: https://github.com/WICG/attribution-reporting-api
830
837
  type AttributionReportingIssueDetails extends object
@@ -863,6 +870,11 @@ experimental domain Audits
863
870
  array of string integrityAssertions
864
871
  AffectedRequest request
865
872
 
873
+ type UnencodedDigestIssueDetails extends object
874
+ properties
875
+ UnencodedDigestError error
876
+ AffectedRequest request
877
+
866
878
  type GenericIssueErrorType extends string
867
879
  enum
868
880
  FormLabelForNameError
@@ -1123,6 +1135,7 @@ experimental domain Audits
1123
1135
  SharedDictionaryIssue
1124
1136
  ElementAccessibilityIssue
1125
1137
  SRIMessageSignatureIssue
1138
+ UnencodedDigestIssue
1126
1139
  UserReidentificationIssue
1127
1140
 
1128
1141
  # This struct holds a list of optional fields with additional information
@@ -1154,6 +1167,7 @@ experimental domain Audits
1154
1167
  optional SharedDictionaryIssueDetails sharedDictionaryIssueDetails
1155
1168
  optional ElementAccessibilityIssueDetails elementAccessibilityIssueDetails
1156
1169
  optional SRIMessageSignatureIssueDetails sriMessageSignatureIssueDetails
1170
+ optional UnencodedDigestIssueDetails unencodedDigestIssueDetails
1157
1171
  optional UserReidentificationIssueDetails userReidentificationIssueDetails
1158
1172
 
1159
1173
  # A unique id for a DevTools inspector issue. Allows other entities (e.g.
@@ -10282,8 +10296,7 @@ domain Page
10282
10296
  # Whether or not it was triggered by user gesture.
10283
10297
  boolean userGesture
10284
10298
 
10285
- # Issued for every compilation cache generated. Is only available
10286
- # if Page.setGenerateCompilationCache is enabled.
10299
+ # Issued for every compilation cache generated.
10287
10300
  experimental event compilationCacheProduced
10288
10301
  parameters
10289
10302
  string url
@@ -12083,6 +12096,15 @@ domain Target
12083
12096
  parameters
12084
12097
  TargetInfo targetInfo
12085
12098
 
12099
+ # Opens a DevTools window for the target.
12100
+ experimental command openDevTools
12101
+ parameters
12102
+ # This can be the page or tab target ID.
12103
+ TargetID targetId
12104
+ returns
12105
+ # The targetId of DevTools page target.
12106
+ TargetID targetId
12107
+
12086
12108
  # The Tethering domain defines methods and events for browser port binding.
12087
12109
  experimental domain Tethering
12088
12110
 
@@ -588,8 +588,7 @@ export namespace ProtocolMapping {
588
588
  */
589
589
  'Page.windowOpen': [Protocol.Page.WindowOpenEvent];
590
590
  /**
591
- * Issued for every compilation cache generated. Is only available
592
- * if Page.setGenerateCompilationCache is enabled.
591
+ * Issued for every compilation cache generated.
593
592
  */
594
593
  'Page.compilationCacheProduced': [Protocol.Page.CompilationCacheProducedEvent];
595
594
  /**
@@ -4964,6 +4963,13 @@ export namespace ProtocolMapping {
4964
4963
  paramsType: [Protocol.Target.SetRemoteLocationsRequest];
4965
4964
  returnType: void;
4966
4965
  };
4966
+ /**
4967
+ * Opens a DevTools window for the target.
4968
+ */
4969
+ 'Target.openDevTools': {
4970
+ paramsType: [Protocol.Target.OpenDevToolsRequest];
4971
+ returnType: Protocol.Target.OpenDevToolsResponse;
4972
+ };
4967
4973
  /**
4968
4974
  * Request browser port binding.
4969
4975
  */