devtools-protocol 0.0.882324 → 0.0.883894

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.
package/changelog.md CHANGED
@@ -1,5 +1,36 @@
1
1
 
2
2
 
3
+ ## Roll protocol to r883449
4
+ ###### _2021-05-17 06:16:08_ | Diff: [ea8402f...56b0f11](https://github.com/ChromeDevTools/devtools-protocol/compare/ea8402f...56b0f11)
5
+ #### `DOM`: new type
6
+ * [`DOM.CompatibilityMode`](https://chromedevtools.github.io/devtools-protocol/tot/DOM/#type-CompatibilityMode)
7
+ #### `DOM`: modified type
8
+ * [`DOM.Node`](https://chromedevtools.github.io/devtools-protocol/tot/DOM/#type-Node) - The properties's `compatibilityMode` _added_.
9
+
10
+
11
+ ## Roll protocol to r882987
12
+ ###### _2021-05-14 09:16:22_ | Diff: [96c89c5...ea8402f](https://github.com/ChromeDevTools/devtools-protocol/compare/96c89c5...ea8402f)
13
+ #### `Page`: modified type
14
+ * [`Page.PermissionsPolicyFeature`](https://chromedevtools.github.io/devtools-protocol/tot/Page/#type-PermissionsPolicyFeature) - The enum's `autoplay` _updated_. The enum's `camera` _updated_. The enum's `ch-dpr` _updated_. The enum's `ch-device-memory` _updated_. The enum's `ch-downlink` _updated_. The enum's `ch-ect` _updated_. The enum's `ch-lang` _updated_. The enum's `ch-rtt` _updated_. The enum's `ch-ua` _updated_. The enum's `ch-ua-arch` _updated_. The enum's `ch-ua-platform` _updated_. The enum's `ch-ua-model` _updated_. The enum's `ch-ua-mobile` _updated_. The enum's `ch-ua-full-version` _updated_. The enum's `ch-ua-platform-version` _updated_. The enum's `ch-viewport-width` _updated_. The enum's `ch-width` _updated_. The enum's `clipboard-read` _updated_. The enum's `clipboard-write` _updated_. The enum's `conversion-measurement` _updated_.
15
+
16
+
17
+ ## Roll protocol to r882921
18
+ ###### _2021-05-14 02:16:15_ | Diff: [56788fe...96c89c5](https://github.com/ChromeDevTools/devtools-protocol/compare/56788fe...96c89c5)
19
+ #### `Audits`: modified type
20
+ * [`Audits.CorsIssueDetails`](https://chromedevtools.github.io/devtools-protocol/tot/Audits/#type-CorsIssueDetails) - The `initiatorOrigin` in the properties had `type` _removed_. The `resourceIPAddressSpace` in the properties had `$ref` _removed_. The `initiatorOrigin` in the properties had `name` _updated_. The `resourceIPAddressSpace` in the properties had `name` _updated_. The `clientSecurityState` in the properties had `name` _updated_. The `clientSecurityState` in the properties had `$ref` _updated_. The properties's `$ref` _added_. The properties's `type` _added_. The properties's `clientSecurityState` _added_.
21
+ #### `Network`: modified type
22
+ * [`Network.CorsError`](https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-CorsError) - The enum's `NoCorsRedirectModeNotFollow` _added_.
23
+
24
+
25
+ ## Roll protocol to r882324
26
+ ###### _2021-05-12 15:16:51_ | Diff: [9062efe...56788fe](https://github.com/ChromeDevTools/devtools-protocol/compare/9062efe...56788fe)
27
+ #### `Audits`: new type
28
+ * [`Audits.QuirksModeIssueDetails`](https://chromedevtools.github.io/devtools-protocol/tot/Audits/#type-QuirksModeIssueDetails)
29
+ #### `Audits`: modified types
30
+ * [`Audits.InspectorIssueCode`](https://chromedevtools.github.io/devtools-protocol/tot/Audits/#type-InspectorIssueCode) - The enum's `QuirksModeIssue` _added_.
31
+ * [`Audits.InspectorIssueDetails`](https://chromedevtools.github.io/devtools-protocol/tot/Audits/#type-InspectorIssueDetails) - The properties's `quirksModeIssueDetails` _added_.
32
+
33
+
3
34
  ## Roll protocol to r882098
4
35
  ###### _2021-05-12 09:16:24_ | Diff: [8ce157a...9062efe](https://github.com/ChromeDevTools/devtools-protocol/compare/8ce157a...9062efe)
5
36
  #### `Audits`: removed type
@@ -1469,6 +1469,11 @@
1469
1469
  "name": "request",
1470
1470
  "$ref": "AffectedRequest"
1471
1471
  },
1472
+ {
1473
+ "name": "location",
1474
+ "optional": true,
1475
+ "$ref": "SourceCodeLocation"
1476
+ },
1472
1477
  {
1473
1478
  "name": "initiatorOrigin",
1474
1479
  "optional": true,
@@ -4181,6 +4186,16 @@
4181
4186
  "closed"
4182
4187
  ]
4183
4188
  },
4189
+ {
4190
+ "id": "CompatibilityMode",
4191
+ "description": "Document compatibility mode.",
4192
+ "type": "string",
4193
+ "enum": [
4194
+ "QuirksMode",
4195
+ "LimitedQuirksMode",
4196
+ "NoQuirksMode"
4197
+ ]
4198
+ },
4184
4199
  {
4185
4200
  "id": "Node",
4186
4201
  "description": "DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes.\nDOMNode is a base node mirror type.",
@@ -4363,6 +4378,11 @@
4363
4378
  "description": "Whether the node is SVG.",
4364
4379
  "optional": true,
4365
4380
  "type": "boolean"
4381
+ },
4382
+ {
4383
+ "name": "compatibilityMode",
4384
+ "optional": true,
4385
+ "$ref": "CompatibilityMode"
4366
4386
  }
4367
4387
  ]
4368
4388
  },
@@ -10425,7 +10445,8 @@
10425
10445
  "MethodDisallowedByPreflightResponse",
10426
10446
  "HeaderDisallowedByPreflightResponse",
10427
10447
  "RedirectContainsCredentials",
10428
- "InsecurePrivateNetwork"
10448
+ "InsecurePrivateNetwork",
10449
+ "NoCorsRedirectModeNotFollow"
10429
10450
  ]
10430
10451
  },
10431
10452
  {
@@ -13921,12 +13942,13 @@
13921
13942
  },
13922
13943
  {
13923
13944
  "id": "PermissionsPolicyFeature",
13924
- "description": "All Permissions Policy features. This enum should match the one defined\nin renderer/core/feature_policy/feature_policy_features.json5.",
13945
+ "description": "All Permissions Policy features. This enum should match the one defined\nin third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.",
13925
13946
  "experimental": true,
13926
13947
  "type": "string",
13927
13948
  "enum": [
13928
13949
  "accelerometer",
13929
13950
  "ambient-light-sensor",
13951
+ "attribution-reporting",
13930
13952
  "autoplay",
13931
13953
  "camera",
13932
13954
  "ch-dpr",
@@ -13934,6 +13956,7 @@
13934
13956
  "ch-downlink",
13935
13957
  "ch-ect",
13936
13958
  "ch-lang",
13959
+ "ch-prefers-color-scheme",
13937
13960
  "ch-rtt",
13938
13961
  "ch-ua",
13939
13962
  "ch-ua-arch",
@@ -13946,7 +13969,6 @@
13946
13969
  "ch-width",
13947
13970
  "clipboard-read",
13948
13971
  "clipboard-write",
13949
- "conversion-measurement",
13950
13972
  "cross-origin-isolated",
13951
13973
  "direct-sockets",
13952
13974
  "display-capture",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.882324",
3
+ "version": "0.0.883894",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -711,6 +711,7 @@ experimental domain Audits
711
711
  Network.CorsErrorStatus corsErrorStatus
712
712
  boolean isWarning
713
713
  AffectedRequest request
714
+ optional SourceCodeLocation location
714
715
  optional string initiatorOrigin
715
716
  optional Network.IPAddressSpace resourceIPAddressSpace
716
717
  optional Network.ClientSecurityState clientSecurityState
@@ -1964,6 +1965,13 @@ domain DOM
1964
1965
  open
1965
1966
  closed
1966
1967
 
1968
+ # Document compatibility mode.
1969
+ type CompatibilityMode extends string
1970
+ enum
1971
+ QuirksMode
1972
+ LimitedQuirksMode
1973
+ NoQuirksMode
1974
+
1967
1975
  # DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes.
1968
1976
  # DOMNode is a base node mirror type.
1969
1977
  type Node extends object
@@ -2028,6 +2036,7 @@ domain DOM
2028
2036
  optional array of BackendNode distributedNodes
2029
2037
  # Whether the node is SVG.
2030
2038
  optional boolean isSVG
2039
+ optional CompatibilityMode compatibilityMode
2031
2040
 
2032
2041
  # A structure holding an RGBA color.
2033
2042
  type RGBA extends object
@@ -4771,6 +4780,7 @@ domain Network
4771
4780
  HeaderDisallowedByPreflightResponse
4772
4781
  RedirectContainsCredentials
4773
4782
  InsecurePrivateNetwork
4783
+ NoCorsRedirectModeNotFollow
4774
4784
 
4775
4785
  type CorsErrorStatus extends object
4776
4786
  properties
@@ -6431,11 +6441,12 @@ domain Page
6431
6441
  PerformanceProfile
6432
6442
 
6433
6443
  # All Permissions Policy features. This enum should match the one defined
6434
- # in renderer/core/feature_policy/feature_policy_features.json5.
6444
+ # in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
6435
6445
  experimental type PermissionsPolicyFeature extends string
6436
6446
  enum
6437
6447
  accelerometer
6438
6448
  ambient-light-sensor
6449
+ attribution-reporting
6439
6450
  autoplay
6440
6451
  camera
6441
6452
  ch-dpr
@@ -6443,6 +6454,7 @@ domain Page
6443
6454
  ch-downlink
6444
6455
  ch-ect
6445
6456
  ch-lang
6457
+ ch-prefers-color-scheme
6446
6458
  ch-rtt
6447
6459
  ch-ua
6448
6460
  ch-ua-arch
@@ -6455,7 +6467,6 @@ domain Page
6455
6467
  ch-width
6456
6468
  clipboard-read
6457
6469
  clipboard-write
6458
- conversion-measurement
6459
6470
  cross-origin-isolated
6460
6471
  direct-sockets
6461
6472
  display-capture
@@ -3311,6 +3311,7 @@ export namespace Protocol {
3311
3311
  corsErrorStatus: Network.CorsErrorStatus;
3312
3312
  isWarning: boolean;
3313
3313
  request: AffectedRequest;
3314
+ location?: SourceCodeLocation;
3314
3315
  initiatorOrigin?: string;
3315
3316
  resourceIPAddressSpace?: Network.IPAddressSpace;
3316
3317
  clientSecurityState?: Network.ClientSecurityState;
@@ -5017,6 +5018,11 @@ export namespace Protocol {
5017
5018
  */
5018
5019
  export type ShadowRootType = ('user-agent' | 'open' | 'closed');
5019
5020
 
5021
+ /**
5022
+ * Document compatibility mode.
5023
+ */
5024
+ export type CompatibilityMode = ('QuirksMode' | 'LimitedQuirksMode' | 'NoQuirksMode');
5025
+
5020
5026
  /**
5021
5027
  * DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes.
5022
5028
  * DOMNode is a base node mirror type.
@@ -5138,6 +5144,7 @@ export namespace Protocol {
5138
5144
  * Whether the node is SVG.
5139
5145
  */
5140
5146
  isSVG?: boolean;
5147
+ compatibilityMode?: CompatibilityMode;
5141
5148
  }
5142
5149
 
5143
5150
  /**
@@ -9084,7 +9091,7 @@ export namespace Protocol {
9084
9091
  /**
9085
9092
  * The reason why request was blocked.
9086
9093
  */
9087
- export type CorsError = ('DisallowedByMode' | 'InvalidResponse' | 'WildcardOriginNotAllowed' | 'MissingAllowOriginHeader' | 'MultipleAllowOriginValues' | 'InvalidAllowOriginValue' | 'AllowOriginMismatch' | 'InvalidAllowCredentials' | 'CorsDisabledScheme' | 'PreflightInvalidStatus' | 'PreflightDisallowedRedirect' | 'PreflightWildcardOriginNotAllowed' | 'PreflightMissingAllowOriginHeader' | 'PreflightMultipleAllowOriginValues' | 'PreflightInvalidAllowOriginValue' | 'PreflightAllowOriginMismatch' | 'PreflightInvalidAllowCredentials' | 'PreflightMissingAllowExternal' | 'PreflightInvalidAllowExternal' | 'InvalidAllowMethodsPreflightResponse' | 'InvalidAllowHeadersPreflightResponse' | 'MethodDisallowedByPreflightResponse' | 'HeaderDisallowedByPreflightResponse' | 'RedirectContainsCredentials' | 'InsecurePrivateNetwork');
9094
+ export type CorsError = ('DisallowedByMode' | 'InvalidResponse' | 'WildcardOriginNotAllowed' | 'MissingAllowOriginHeader' | 'MultipleAllowOriginValues' | 'InvalidAllowOriginValue' | 'AllowOriginMismatch' | 'InvalidAllowCredentials' | 'CorsDisabledScheme' | 'PreflightInvalidStatus' | 'PreflightDisallowedRedirect' | 'PreflightWildcardOriginNotAllowed' | 'PreflightMissingAllowOriginHeader' | 'PreflightMultipleAllowOriginValues' | 'PreflightInvalidAllowOriginValue' | 'PreflightAllowOriginMismatch' | 'PreflightInvalidAllowCredentials' | 'PreflightMissingAllowExternal' | 'PreflightInvalidAllowExternal' | 'InvalidAllowMethodsPreflightResponse' | 'InvalidAllowHeadersPreflightResponse' | 'MethodDisallowedByPreflightResponse' | 'HeaderDisallowedByPreflightResponse' | 'RedirectContainsCredentials' | 'InsecurePrivateNetwork' | 'NoCorsRedirectModeNotFollow');
9088
9095
 
9089
9096
  export interface CorsErrorStatus {
9090
9097
  corsError: CorsError;
@@ -11439,9 +11446,9 @@ export namespace Protocol {
11439
11446
 
11440
11447
  /**
11441
11448
  * All Permissions Policy features. This enum should match the one defined
11442
- * in renderer/core/feature_policy/feature_policy_features.json5.
11449
+ * in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
11443
11450
  */
11444
- export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'autoplay' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-lang' | 'ch-rtt' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full-version' | 'ch-ua-platform-version' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'conversion-measurement' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'idle-detection' | 'interest-cohort' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'storage-access-api' | 'sync-xhr' | 'trust-token-redemption' | 'usb' | 'vertical-scroll' | 'web-share' | 'xr-spatial-tracking');
11451
+ export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-lang' | 'ch-prefers-color-scheme' | 'ch-rtt' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full-version' | 'ch-ua-platform-version' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'idle-detection' | 'interest-cohort' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'storage-access-api' | 'sync-xhr' | 'trust-token-redemption' | 'usb' | 'vertical-scroll' | 'web-share' | 'xr-spatial-tracking');
11445
11452
 
11446
11453
  /**
11447
11454
  * Reason for a permissions policy feature to be disabled.