devtools-protocol 0.0.932485 → 0.0.937044

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,28 @@
1479
1479
  }
1480
1480
  ]
1481
1481
  },
1482
+ {
1483
+ "id": "DeprecationIssueDetails",
1484
+ "description": "This issue tracks information needed to print a deprecation message.\nThe formatting is inherited from the old console.log version, see more at:\nhttps://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc\nTODO(crbug.com/1264960): Re-work format to add i18n support per:\nhttps://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md",
1485
+ "type": "object",
1486
+ "properties": [
1487
+ {
1488
+ "name": "affectedFrame",
1489
+ "optional": true,
1490
+ "$ref": "AffectedFrame"
1491
+ },
1492
+ {
1493
+ "name": "sourceCodeLocation",
1494
+ "$ref": "SourceCodeLocation"
1495
+ },
1496
+ {
1497
+ "name": "message",
1498
+ "description": "The content of the deprecation issue (this won't be translated),\ne.g. \"window.inefficientLegacyStorageMethod will be removed in M97,\naround January 2022. Please use Web Storage or Indexed Database\ninstead. This standard was abandoned in January, 1970. See\nhttps://www.chromestatus.com/feature/5684870116278272 for more details.\"",
1499
+ "optional": true,
1500
+ "type": "string"
1501
+ }
1502
+ ]
1503
+ },
1482
1504
  {
1483
1505
  "id": "InspectorIssueCode",
1484
1506
  "description": "A unique identifier for the type of issue. Each type may use one of the\noptional fields in InspectorIssueDetails to convey more specific\ninformation about the kind of issue.",
@@ -1497,7 +1519,8 @@
1497
1519
  "QuirksModeIssue",
1498
1520
  "NavigatorUserAgentIssue",
1499
1521
  "WasmCrossOriginModuleSharingIssue",
1500
- "GenericIssue"
1522
+ "GenericIssue",
1523
+ "DeprecationIssue"
1501
1524
  ]
1502
1525
  },
1503
1526
  {
@@ -1574,6 +1597,11 @@
1574
1597
  "name": "genericIssueDetails",
1575
1598
  "optional": true,
1576
1599
  "$ref": "GenericIssueDetails"
1600
+ },
1601
+ {
1602
+ "name": "deprecationIssueDetails",
1603
+ "optional": true,
1604
+ "$ref": "DeprecationIssueDetails"
1577
1605
  }
1578
1606
  ]
1579
1607
  },
@@ -12686,6 +12714,12 @@
12686
12714
  "description": "Request initiator.",
12687
12715
  "$ref": "Initiator"
12688
12716
  },
12717
+ {
12718
+ "name": "redirectHasExtraInfo",
12719
+ "description": "In the case that redirectResponse is populated, this flag indicates whether\nrequestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted\nfor the request which was just redirected.",
12720
+ "experimental": true,
12721
+ "type": "boolean"
12722
+ },
12689
12723
  {
12690
12724
  "name": "redirectResponse",
12691
12725
  "description": "Redirect response data.",
@@ -12780,6 +12814,12 @@
12780
12814
  "description": "Response data.",
12781
12815
  "$ref": "Response"
12782
12816
  },
12817
+ {
12818
+ "name": "hasExtraInfo",
12819
+ "description": "Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be\nor were emitted for this request.",
12820
+ "experimental": true,
12821
+ "type": "boolean"
12822
+ },
12783
12823
  {
12784
12824
  "name": "frameId",
12785
12825
  "description": "Frame identifier.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.932485",
3
+ "version": "0.0.937044",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -709,6 +709,22 @@ experimental domain Audits
709
709
  GenericIssueErrorType errorType
710
710
  optional Page.FrameId frameId
711
711
 
712
+ # This issue tracks information needed to print a deprecation message.
713
+ # The formatting is inherited from the old console.log version, see more at:
714
+ # https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc
715
+ # TODO(crbug.com/1264960): Re-work format to add i18n support per:
716
+ # https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md
717
+ type DeprecationIssueDetails extends object
718
+ properties
719
+ optional AffectedFrame affectedFrame
720
+ SourceCodeLocation sourceCodeLocation
721
+ # The content of the deprecation issue (this won't be translated),
722
+ # e.g. "window.inefficientLegacyStorageMethod will be removed in M97,
723
+ # around January 2022. Please use Web Storage or Indexed Database
724
+ # instead. This standard was abandoned in January, 1970. See
725
+ # https://www.chromestatus.com/feature/5684870116278272 for more details."
726
+ optional string message
727
+
712
728
  # A unique identifier for the type of issue. Each type may use one of the
713
729
  # optional fields in InspectorIssueDetails to convey more specific
714
730
  # information about the kind of issue.
@@ -728,6 +744,7 @@ experimental domain Audits
728
744
  NavigatorUserAgentIssue
729
745
  WasmCrossOriginModuleSharingIssue
730
746
  GenericIssue
747
+ DeprecationIssue
731
748
 
732
749
  # This struct holds a list of optional fields with additional information
733
750
  # specific to the kind of issue. When adding a new issue code, please also
@@ -748,6 +765,7 @@ experimental domain Audits
748
765
  optional NavigatorUserAgentIssueDetails navigatorUserAgentIssueDetails
749
766
  optional WasmCrossOriginModuleSharingIssueDetails wasmCrossOriginModuleSharingIssue
750
767
  optional GenericIssueDetails genericIssueDetails
768
+ optional DeprecationIssueDetails deprecationIssueDetails
751
769
 
752
770
  # A unique id for a DevTools inspector issue. Allows other entities (e.g.
753
771
  # exceptions, CDP message, console messages, etc.) to reference an issue.
@@ -5729,6 +5747,10 @@ domain Network
5729
5747
  TimeSinceEpoch wallTime
5730
5748
  # Request initiator.
5731
5749
  Initiator initiator
5750
+ # In the case that redirectResponse is populated, this flag indicates whether
5751
+ # requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted
5752
+ # for the request which was just redirected.
5753
+ experimental boolean redirectHasExtraInfo
5732
5754
  # Redirect response data.
5733
5755
  optional Response redirectResponse
5734
5756
  # Type of this resource.
@@ -5769,6 +5791,9 @@ domain Network
5769
5791
  ResourceType type
5770
5792
  # Response data.
5771
5793
  Response response
5794
+ # Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be
5795
+ # or were emitted for this request.
5796
+ experimental boolean hasExtraInfo
5772
5797
  # Frame identifier.
5773
5798
  optional Page.FrameId frameId
5774
5799
 
@@ -3256,12 +3256,32 @@ export namespace Protocol {
3256
3256
  frameId?: Page.FrameId;
3257
3257
  }
3258
3258
 
3259
+ /**
3260
+ * This issue tracks information needed to print a deprecation message.
3261
+ * The formatting is inherited from the old console.log version, see more at:
3262
+ * https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc
3263
+ * TODO(crbug.com/1264960): Re-work format to add i18n support per:
3264
+ * https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md
3265
+ */
3266
+ export interface DeprecationIssueDetails {
3267
+ affectedFrame?: AffectedFrame;
3268
+ sourceCodeLocation: SourceCodeLocation;
3269
+ /**
3270
+ * The content of the deprecation issue (this won't be translated),
3271
+ * e.g. "window.inefficientLegacyStorageMethod will be removed in M97,
3272
+ * around January 2022. Please use Web Storage or Indexed Database
3273
+ * instead. This standard was abandoned in January, 1970. See
3274
+ * https://www.chromestatus.com/feature/5684870116278272 for more details."
3275
+ */
3276
+ message?: string;
3277
+ }
3278
+
3259
3279
  /**
3260
3280
  * A unique identifier for the type of issue. Each type may use one of the
3261
3281
  * optional fields in InspectorIssueDetails to convey more specific
3262
3282
  * information about the kind of issue.
3263
3283
  */
3264
- export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'TrustedWebActivityIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'WasmCrossOriginModuleSharingIssue' | 'GenericIssue');
3284
+ export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'TrustedWebActivityIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'WasmCrossOriginModuleSharingIssue' | 'GenericIssue' | 'DeprecationIssue');
3265
3285
 
3266
3286
  /**
3267
3287
  * This struct holds a list of optional fields with additional information
@@ -3283,6 +3303,7 @@ export namespace Protocol {
3283
3303
  navigatorUserAgentIssueDetails?: NavigatorUserAgentIssueDetails;
3284
3304
  wasmCrossOriginModuleSharingIssue?: WasmCrossOriginModuleSharingIssueDetails;
3285
3305
  genericIssueDetails?: GenericIssueDetails;
3306
+ deprecationIssueDetails?: DeprecationIssueDetails;
3286
3307
  }
3287
3308
 
3288
3309
  /**
@@ -10506,6 +10527,12 @@ export namespace Protocol {
10506
10527
  * Request initiator.
10507
10528
  */
10508
10529
  initiator: Initiator;
10530
+ /**
10531
+ * In the case that redirectResponse is populated, this flag indicates whether
10532
+ * requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted
10533
+ * for the request which was just redirected.
10534
+ */
10535
+ redirectHasExtraInfo: boolean;
10509
10536
  /**
10510
10537
  * Redirect response data.
10511
10538
  */
@@ -10580,6 +10607,11 @@ export namespace Protocol {
10580
10607
  * Response data.
10581
10608
  */
10582
10609
  response: Response;
10610
+ /**
10611
+ * Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be
10612
+ * or were emitted for this request.
10613
+ */
10614
+ hasExtraInfo: boolean;
10583
10615
  /**
10584
10616
  * Frame identifier.
10585
10617
  */