devtools-protocol 0.0.1032873 → 0.0.1034970

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
  },
@@ -15273,6 +15283,7 @@
15273
15283
  "storage-access-api",
15274
15284
  "sync-xhr",
15275
15285
  "trust-token-redemption",
15286
+ "unload",
15276
15287
  "usb",
15277
15288
  "vertical-scroll",
15278
15289
  "web-share",
@@ -16317,9 +16328,9 @@
16317
16328
  "TriggerBackgrounded",
16318
16329
  "EmbedderTriggeredAndSameOriginRedirected",
16319
16330
  "EmbedderTriggeredAndCrossOriginRedirected",
16320
- "EmbedderTriggeredAndDestroyed",
16321
16331
  "MemoryLimitExceeded",
16322
- "FailToGetMemoryUsage"
16332
+ "FailToGetMemoryUsage",
16333
+ "DataSaverEnabled"
16323
16334
  ]
16324
16335
  }
16325
16336
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1032873",
3
+ "version": "0.0.1034970",
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
@@ -7156,6 +7159,7 @@ domain Page
7156
7159
  storage-access-api
7157
7160
  sync-xhr
7158
7161
  trust-token-redemption
7162
+ unload
7159
7163
  usb
7160
7164
  vertical-scroll
7161
7165
  web-share
@@ -8455,11 +8459,11 @@ domain Page
8455
8459
  TriggerBackgrounded
8456
8460
  EmbedderTriggeredAndSameOriginRedirected
8457
8461
  EmbedderTriggeredAndCrossOriginRedirected
8458
- EmbedderTriggeredAndDestroyed
8459
8462
  MemoryLimitExceeded
8460
8463
  # Prerenders can be cancelled when Chrome uses excessive memory. This is
8461
8464
  # recorded when it fails to get the memory usage.
8462
8465
  FailToGetMemoryUsage
8466
+ DataSaverEnabled
8463
8467
 
8464
8468
  # Fired when a prerender attempt is completed.
8465
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' | '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-api' | '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;