devtools-protocol 0.0.1199410 → 0.0.1202299

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.
@@ -1734,6 +1734,39 @@
1734
1734
  }
1735
1735
  ]
1736
1736
  },
1737
+ {
1738
+ "id": "PropertyRuleIssueReason",
1739
+ "type": "string",
1740
+ "enum": [
1741
+ "InvalidSyntax",
1742
+ "InvalidInitialValue",
1743
+ "InvalidInherits",
1744
+ "InvalidName"
1745
+ ]
1746
+ },
1747
+ {
1748
+ "id": "PropertyRuleIssueDetails",
1749
+ "description": "This issue warns about errors in property rules that lead to property\nregistrations being ignored.",
1750
+ "type": "object",
1751
+ "properties": [
1752
+ {
1753
+ "name": "sourceCodeLocation",
1754
+ "description": "Source code position of the property rule.",
1755
+ "$ref": "SourceCodeLocation"
1756
+ },
1757
+ {
1758
+ "name": "propertyRuleIssueReason",
1759
+ "description": "Reason why the property rule was discarded.",
1760
+ "$ref": "PropertyRuleIssueReason"
1761
+ },
1762
+ {
1763
+ "name": "propertyValue",
1764
+ "description": "The value of the property rule property that failed to parse",
1765
+ "optional": true,
1766
+ "type": "string"
1767
+ }
1768
+ ]
1769
+ },
1737
1770
  {
1738
1771
  "id": "InspectorIssueCode",
1739
1772
  "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.",
@@ -1756,7 +1789,8 @@
1756
1789
  "FederatedAuthRequestIssue",
1757
1790
  "BounceTrackingIssue",
1758
1791
  "StylesheetLoadingIssue",
1759
- "FederatedAuthUserInfoRequestIssue"
1792
+ "FederatedAuthUserInfoRequestIssue",
1793
+ "PropertyRuleIssue"
1760
1794
  ]
1761
1795
  },
1762
1796
  {
@@ -1850,6 +1884,11 @@
1850
1884
  "optional": true,
1851
1885
  "$ref": "StylesheetLoadingIssueDetails"
1852
1886
  },
1887
+ {
1888
+ "name": "propertyRuleIssueDetails",
1889
+ "optional": true,
1890
+ "$ref": "PropertyRuleIssueDetails"
1891
+ },
1853
1892
  {
1854
1893
  "name": "federatedAuthUserInfoRequestIssueDetails",
1855
1894
  "optional": true,
@@ -19792,7 +19831,9 @@
19792
19831
  "update",
19793
19832
  "loaded",
19794
19833
  "bid",
19795
- "win"
19834
+ "win",
19835
+ "additionalBid",
19836
+ "additionalBidWin"
19796
19837
  ]
19797
19838
  },
19798
19839
  {
@@ -2163,7 +2163,7 @@
2163
2163
  },
2164
2164
  {
2165
2165
  "id": "SerializationOptions",
2166
- "description": "Represents options for serialization. Overrides `generatePreview`, `returnByValue` and\n`generateWebDriverValue`.",
2166
+ "description": "Represents options for serialization. Overrides `generatePreview` and `returnByValue`.",
2167
2167
  "type": "object",
2168
2168
  "properties": [
2169
2169
  {
@@ -2323,13 +2323,6 @@
2323
2323
  "optional": true,
2324
2324
  "type": "string"
2325
2325
  },
2326
- {
2327
- "name": "webDriverValue",
2328
- "description": "Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value.",
2329
- "deprecated": true,
2330
- "optional": true,
2331
- "$ref": "DeepSerializedValue"
2332
- },
2333
2326
  {
2334
2327
  "name": "deepSerializedValue",
2335
2328
  "description": "Deep serialized value.",
@@ -2998,16 +2991,9 @@
2998
2991
  "optional": true,
2999
2992
  "type": "string"
3000
2993
  },
3001
- {
3002
- "name": "generateWebDriverValue",
3003
- "description": "Deprecated. Use `serializationOptions: {serialization:\"deep\"}` instead.\nWhether the result should contain `webDriverValue`, serialized according to\nhttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but\nresulting `objectId` is still provided.",
3004
- "deprecated": true,
3005
- "optional": true,
3006
- "type": "boolean"
3007
- },
3008
2994
  {
3009
2995
  "name": "serializationOptions",
3010
- "description": "Specifies the result serialization. If provided, overrides\n`generatePreview`, `returnByValue` and `generateWebDriverValue`.",
2996
+ "description": "Specifies the result serialization. If provided, overrides\n`generatePreview` and `returnByValue`.",
3011
2997
  "experimental": true,
3012
2998
  "optional": true,
3013
2999
  "$ref": "SerializationOptions"
@@ -3180,16 +3166,9 @@
3180
3166
  "optional": true,
3181
3167
  "type": "string"
3182
3168
  },
3183
- {
3184
- "name": "generateWebDriverValue",
3185
- "description": "Deprecated. Use `serializationOptions: {serialization:\"deep\"}` instead.\nWhether the result should contain `webDriverValue`, serialized\naccording to\nhttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but\nresulting `objectId` is still provided.",
3186
- "deprecated": true,
3187
- "optional": true,
3188
- "type": "boolean"
3189
- },
3190
3169
  {
3191
3170
  "name": "serializationOptions",
3192
- "description": "Specifies the result serialization. If provided, overrides\n`generatePreview`, `returnByValue` and `generateWebDriverValue`.",
3171
+ "description": "Specifies the result serialization. If provided, overrides\n`generatePreview` and `returnByValue`.",
3193
3172
  "experimental": true,
3194
3173
  "optional": true,
3195
3174
  "$ref": "SerializationOptions"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1199410",
3
+ "version": "0.0.1202299",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -874,6 +874,24 @@ experimental domain Audits
874
874
  # Contains additional info when the failure was due to a request.
875
875
  optional FailedRequestInfo failedRequestInfo
876
876
 
877
+ type PropertyRuleIssueReason extends string
878
+ enum
879
+ InvalidSyntax
880
+ InvalidInitialValue
881
+ InvalidInherits
882
+ InvalidName
883
+
884
+ # This issue warns about errors in property rules that lead to property
885
+ # registrations being ignored.
886
+ type PropertyRuleIssueDetails extends object
887
+ properties
888
+ # Source code position of the property rule.
889
+ SourceCodeLocation sourceCodeLocation
890
+ # Reason why the property rule was discarded.
891
+ PropertyRuleIssueReason propertyRuleIssueReason
892
+ # The value of the property rule property that failed to parse
893
+ optional string propertyValue
894
+
877
895
  # A unique identifier for the type of issue. Each type may use one of the
878
896
  # optional fields in InspectorIssueDetails to convey more specific
879
897
  # information about the kind of issue.
@@ -898,6 +916,7 @@ experimental domain Audits
898
916
  BounceTrackingIssue
899
917
  StylesheetLoadingIssue
900
918
  FederatedAuthUserInfoRequestIssue
919
+ PropertyRuleIssue
901
920
 
902
921
  # This struct holds a list of optional fields with additional information
903
922
  # specific to the kind of issue. When adding a new issue code, please also
@@ -921,6 +940,7 @@ experimental domain Audits
921
940
  optional FederatedAuthRequestIssueDetails federatedAuthRequestIssueDetails
922
941
  optional BounceTrackingIssueDetails bounceTrackingIssueDetails
923
942
  optional StylesheetLoadingIssueDetails stylesheetLoadingIssueDetails
943
+ optional PropertyRuleIssueDetails propertyRuleIssueDetails
924
944
  optional FederatedAuthUserInfoRequestIssueDetails federatedAuthUserInfoRequestIssueDetails
925
945
 
926
946
  # A unique id for a DevTools inspector issue. Allows other entities (e.g.
@@ -9337,6 +9357,8 @@ experimental domain Storage
9337
9357
  loaded
9338
9358
  bid
9339
9359
  win
9360
+ additionalBid
9361
+ additionalBidWin
9340
9362
 
9341
9363
  # Ad advertising element inside an interest group.
9342
9364
  type InterestGroupAd extends object
@@ -1014,8 +1014,7 @@ domain Runtime
1014
1014
  # Unique script identifier.
1015
1015
  type ScriptId extends string
1016
1016
 
1017
- # Represents options for serialization. Overrides `generatePreview`, `returnByValue` and
1018
- # `generateWebDriverValue`.
1017
+ # Represents options for serialization. Overrides `generatePreview` and `returnByValue`.
1019
1018
  type SerializationOptions extends object
1020
1019
  properties
1021
1020
  enum serialization
@@ -1027,8 +1026,7 @@ domain Runtime
1027
1026
  # `returnByValue: true`. Overrides `returnByValue`.
1028
1027
  json
1029
1028
  # Only remote object id is put in the result. Same bahaviour as if no
1030
- # `serializationOptions`, `generatePreview`, `returnByValue` nor `generateWebDriverValue`
1031
- # are provided.
1029
+ # `serializationOptions`, `generatePreview` nor `returnByValue` are provided.
1032
1030
  idOnly
1033
1031
 
1034
1032
  # Deep serialization depth. Default is full depth. Respected only in `deep` serialization mode.
@@ -1126,8 +1124,6 @@ domain Runtime
1126
1124
  optional UnserializableValue unserializableValue
1127
1125
  # String representation of the object.
1128
1126
  optional string description
1129
- # Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value.
1130
- deprecated optional DeepSerializedValue webDriverValue
1131
1127
  # Deep serialized value.
1132
1128
  experimental optional DeepSerializedValue deepSerializedValue
1133
1129
  # Unique object identifier (for non-primitive values).
@@ -1443,13 +1439,8 @@ domain Runtime
1443
1439
  # boundaries).
1444
1440
  # This is mutually exclusive with `executionContextId`.
1445
1441
  experimental optional string uniqueContextId
1446
- # Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
1447
- # Whether the result should contain `webDriverValue`, serialized according to
1448
- # https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
1449
- # resulting `objectId` is still provided.
1450
- deprecated optional boolean generateWebDriverValue
1451
1442
  # Specifies the result serialization. If provided, overrides
1452
- # `generatePreview`, `returnByValue` and `generateWebDriverValue`.
1443
+ # `generatePreview` and `returnByValue`.
1453
1444
  experimental optional SerializationOptions serializationOptions
1454
1445
 
1455
1446
  returns
@@ -1537,14 +1528,8 @@ domain Runtime
1537
1528
  # boundaries).
1538
1529
  # This is mutually exclusive with `contextId`.
1539
1530
  experimental optional string uniqueContextId
1540
- # Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
1541
- # Whether the result should contain `webDriverValue`, serialized
1542
- # according to
1543
- # https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
1544
- # resulting `objectId` is still provided.
1545
- deprecated optional boolean generateWebDriverValue
1546
1531
  # Specifies the result serialization. If provided, overrides
1547
- # `generatePreview`, `returnByValue` and `generateWebDriverValue`.
1532
+ # `generatePreview` and `returnByValue`.
1548
1533
  experimental optional SerializationOptions serializationOptions
1549
1534
  returns
1550
1535
  # Evaluation result.
@@ -1497,8 +1497,7 @@ export namespace Protocol {
1497
1497
  }
1498
1498
 
1499
1499
  /**
1500
- * Represents options for serialization. Overrides `generatePreview`, `returnByValue` and
1501
- * `generateWebDriverValue`.
1500
+ * Represents options for serialization. Overrides `generatePreview` and `returnByValue`.
1502
1501
  */
1503
1502
  export interface SerializationOptions {
1504
1503
  /**
@@ -1637,10 +1636,6 @@ export namespace Protocol {
1637
1636
  * String representation of the object.
1638
1637
  */
1639
1638
  description?: string;
1640
- /**
1641
- * Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value.
1642
- */
1643
- webDriverValue?: DeepSerializedValue;
1644
1639
  /**
1645
1640
  * Deep serialized value.
1646
1641
  */
@@ -2151,16 +2146,9 @@ export namespace Protocol {
2151
2146
  * This is mutually exclusive with `executionContextId`.
2152
2147
  */
2153
2148
  uniqueContextId?: string;
2154
- /**
2155
- * Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
2156
- * Whether the result should contain `webDriverValue`, serialized according to
2157
- * https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
2158
- * resulting `objectId` is still provided.
2159
- */
2160
- generateWebDriverValue?: boolean;
2161
2149
  /**
2162
2150
  * Specifies the result serialization. If provided, overrides
2163
- * `generatePreview`, `returnByValue` and `generateWebDriverValue`.
2151
+ * `generatePreview` and `returnByValue`.
2164
2152
  */
2165
2153
  serializationOptions?: SerializationOptions;
2166
2154
  }
@@ -2285,17 +2273,9 @@ export namespace Protocol {
2285
2273
  * This is mutually exclusive with `contextId`.
2286
2274
  */
2287
2275
  uniqueContextId?: string;
2288
- /**
2289
- * Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
2290
- * Whether the result should contain `webDriverValue`, serialized
2291
- * according to
2292
- * https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
2293
- * resulting `objectId` is still provided.
2294
- */
2295
- generateWebDriverValue?: boolean;
2296
2276
  /**
2297
2277
  * Specifies the result serialization. If provided, overrides
2298
- * `generatePreview`, `returnByValue` and `generateWebDriverValue`.
2278
+ * `generatePreview` and `returnByValue`.
2299
2279
  */
2300
2280
  serializationOptions?: SerializationOptions;
2301
2281
  }
@@ -3582,12 +3562,33 @@ export namespace Protocol {
3582
3562
  failedRequestInfo?: FailedRequestInfo;
3583
3563
  }
3584
3564
 
3565
+ export type PropertyRuleIssueReason = ('InvalidSyntax' | 'InvalidInitialValue' | 'InvalidInherits' | 'InvalidName');
3566
+
3567
+ /**
3568
+ * This issue warns about errors in property rules that lead to property
3569
+ * registrations being ignored.
3570
+ */
3571
+ export interface PropertyRuleIssueDetails {
3572
+ /**
3573
+ * Source code position of the property rule.
3574
+ */
3575
+ sourceCodeLocation: SourceCodeLocation;
3576
+ /**
3577
+ * Reason why the property rule was discarded.
3578
+ */
3579
+ propertyRuleIssueReason: PropertyRuleIssueReason;
3580
+ /**
3581
+ * The value of the property rule property that failed to parse
3582
+ */
3583
+ propertyValue?: string;
3584
+ }
3585
+
3585
3586
  /**
3586
3587
  * A unique identifier for the type of issue. Each type may use one of the
3587
3588
  * optional fields in InspectorIssueDetails to convey more specific
3588
3589
  * information about the kind of issue.
3589
3590
  */
3590
- export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue');
3591
+ export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue');
3591
3592
 
3592
3593
  /**
3593
3594
  * This struct holds a list of optional fields with additional information
@@ -3612,6 +3613,7 @@ export namespace Protocol {
3612
3613
  federatedAuthRequestIssueDetails?: FederatedAuthRequestIssueDetails;
3613
3614
  bounceTrackingIssueDetails?: BounceTrackingIssueDetails;
3614
3615
  stylesheetLoadingIssueDetails?: StylesheetLoadingIssueDetails;
3616
+ propertyRuleIssueDetails?: PropertyRuleIssueDetails;
3615
3617
  federatedAuthUserInfoRequestIssueDetails?: FederatedAuthUserInfoRequestIssueDetails;
3616
3618
  }
3617
3619
 
@@ -15015,7 +15017,7 @@ export namespace Protocol {
15015
15017
  /**
15016
15018
  * Enum of interest group access types.
15017
15019
  */
15018
- export type InterestGroupAccessType = ('join' | 'leave' | 'update' | 'loaded' | 'bid' | 'win');
15020
+ export type InterestGroupAccessType = ('join' | 'leave' | 'update' | 'loaded' | 'bid' | 'win' | 'additionalBid' | 'additionalBidWin');
15019
15021
 
15020
15022
  /**
15021
15023
  * Ad advertising element inside an interest group.