devtools-protocol 0.0.1033355 → 0.0.1036444

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.
@@ -3167,6 +3167,16 @@
3167
3167
  "description": "The entire property range in the enclosing style declaration (if available).",
3168
3168
  "optional": true,
3169
3169
  "$ref": "SourceRange"
3170
+ },
3171
+ {
3172
+ "name": "longhandProperties",
3173
+ "description": "Parsed longhand components of this property if it is a shorthand.\nThis field will be empty if the given property is not a shorthand.",
3174
+ "experimental": true,
3175
+ "optional": true,
3176
+ "type": "array",
3177
+ "items": {
3178
+ "$ref": "CSSProperty"
3179
+ }
3170
3180
  }
3171
3181
  ]
3172
3182
  },
@@ -15270,7 +15280,7 @@
15270
15280
  "serial",
15271
15281
  "shared-autofill",
15272
15282
  "shared-storage",
15273
- "storage-access-api",
15283
+ "storage-access",
15274
15284
  "sync-xhr",
15275
15285
  "trust-token-redemption",
15276
15286
  "unload",
@@ -16318,9 +16328,9 @@
16318
16328
  "TriggerBackgrounded",
16319
16329
  "EmbedderTriggeredAndSameOriginRedirected",
16320
16330
  "EmbedderTriggeredAndCrossOriginRedirected",
16321
- "EmbedderTriggeredAndDestroyed",
16322
16331
  "MemoryLimitExceeded",
16323
- "FailToGetMemoryUsage"
16332
+ "FailToGetMemoryUsage",
16333
+ "DataSaverEnabled"
16324
16334
  ]
16325
16335
  }
16326
16336
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1033355",
3
+ "version": "0.0.1036444",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -1537,6 +1537,9 @@ experimental domain CSS
1537
1537
  optional boolean disabled
1538
1538
  # The entire property range in the enclosing style declaration (if available).
1539
1539
  optional SourceRange range
1540
+ # Parsed longhand components of this property if it is a shorthand.
1541
+ # This field will be empty if the given property is not a shorthand.
1542
+ experimental optional array of CSSProperty longhandProperties
1540
1543
 
1541
1544
  # CSS media rule descriptor.
1542
1545
  type CSSMedia extends object
@@ -7153,7 +7156,7 @@ domain Page
7153
7156
  serial
7154
7157
  shared-autofill
7155
7158
  shared-storage
7156
- storage-access-api
7159
+ storage-access
7157
7160
  sync-xhr
7158
7161
  trust-token-redemption
7159
7162
  unload
@@ -8456,11 +8459,11 @@ domain Page
8456
8459
  TriggerBackgrounded
8457
8460
  EmbedderTriggeredAndSameOriginRedirected
8458
8461
  EmbedderTriggeredAndCrossOriginRedirected
8459
- EmbedderTriggeredAndDestroyed
8460
8462
  MemoryLimitExceeded
8461
8463
  # Prerenders can be cancelled when Chrome uses excessive memory. This is
8462
8464
  # recorded when it fails to get the memory usage.
8463
8465
  FailToGetMemoryUsage
8466
+ DataSaverEnabled
8464
8467
 
8465
8468
  # Fired when a prerender attempt is completed.
8466
8469
  experimental event prerenderAttemptCompleted
@@ -4431,6 +4431,11 @@ export namespace Protocol {
4431
4431
  * The entire property range in the enclosing style declaration (if available).
4432
4432
  */
4433
4433
  range?: SourceRange;
4434
+ /**
4435
+ * Parsed longhand components of this property if it is a shorthand.
4436
+ * This field will be empty if the given property is not a shorthand.
4437
+ */
4438
+ longhandProperties?: CSSProperty[];
4434
4439
  }
4435
4440
 
4436
4441
  export const enum CSSMediaSource {
@@ -12308,7 +12313,7 @@ export namespace Protocol {
12308
12313
  * All Permissions Policy features. This enum should match the one defined
12309
12314
  * in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
12310
12315
  */
12311
- export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-reduced' | 'ch-ua-wow64' | 'ch-viewport-height' | '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' | 'federated-credentials' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'storage-access-api' | 'sync-xhr' | 'trust-token-redemption' | 'unload' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-placement' | 'xr-spatial-tracking');
12316
+ export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-reduced' | 'ch-ua-wow64' | 'ch-viewport-height' | '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' | 'federated-credentials' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'storage-access' | 'sync-xhr' | 'trust-token-redemption' | 'unload' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-placement' | 'xr-spatial-tracking');
12312
12317
 
12313
12318
  /**
12314
12319
  * Reason for a permissions policy feature to be disabled.
@@ -12849,7 +12854,7 @@ export namespace Protocol {
12849
12854
  /**
12850
12855
  * List of FinalStatus reasons for Prerender2.
12851
12856
  */
12852
- export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'CrossOriginRedirect' | 'CrossOriginNavigation' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndSameOriginRedirected' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'EmbedderTriggeredAndDestroyed' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage');
12857
+ export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'CrossOriginRedirect' | 'CrossOriginNavigation' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndSameOriginRedirected' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled');
12853
12858
 
12854
12859
  export interface AddScriptToEvaluateOnLoadRequest {
12855
12860
  scriptSource: string;