devtools-protocol 0.0.1470888 → 0.0.1472835

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.
@@ -9617,6 +9617,21 @@
9617
9617
  "pauseIfNetworkFetchesPending"
9618
9618
  ]
9619
9619
  },
9620
+ {
9621
+ "id": "UserAgentFormFactor",
9622
+ "description": "Used to specify User Agent form-factor values. See https://wicg.github.io/ua-client-hints/#sec-ch-ua-form-factors",
9623
+ "experimental": true,
9624
+ "type": "string",
9625
+ "enum": [
9626
+ "Desktop",
9627
+ "Automotive",
9628
+ "Mobile",
9629
+ "Tablet",
9630
+ "XR",
9631
+ "EInk",
9632
+ "Watch"
9633
+ ]
9634
+ },
9620
9635
  {
9621
9636
  "id": "UserAgentBrandVersion",
9622
9637
  "description": "Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints",
@@ -9692,6 +9707,14 @@
9692
9707
  "name": "wow64",
9693
9708
  "optional": true,
9694
9709
  "type": "boolean"
9710
+ },
9711
+ {
9712
+ "name": "formFactors",
9713
+ "optional": true,
9714
+ "type": "array",
9715
+ "items": {
9716
+ "$ref": "UserAgentFormFactor"
9717
+ }
9695
9718
  }
9696
9719
  ]
9697
9720
  },
@@ -18302,6 +18325,7 @@
18302
18325
  "join-ad-interest-group",
18303
18326
  "keyboard-map",
18304
18327
  "language-detector",
18328
+ "language-model",
18305
18329
  "local-fonts",
18306
18330
  "local-network-access",
18307
18331
  "magnetometer",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1470888",
3
+ "version": "0.0.1472835",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -4467,6 +4467,17 @@ domain Emulation
4467
4467
  pause
4468
4468
  pauseIfNetworkFetchesPending
4469
4469
 
4470
+ # Used to specify User Agent form-factor values. See https://wicg.github.io/ua-client-hints/#sec-ch-ua-form-factors
4471
+ experimental type UserAgentFormFactor extends string
4472
+ enum
4473
+ Desktop
4474
+ Automotive
4475
+ Mobile
4476
+ Tablet
4477
+ XR
4478
+ EInk
4479
+ Watch
4480
+
4470
4481
  # Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints
4471
4482
  experimental type UserAgentBrandVersion extends object
4472
4483
  properties
@@ -4489,6 +4500,7 @@ domain Emulation
4489
4500
  boolean mobile
4490
4501
  optional string bitness
4491
4502
  optional boolean wow64
4503
+ optional array of UserAgentFormFactor formFactors
4492
4504
 
4493
4505
  # Used to specify sensor types to emulate.
4494
4506
  # See https://w3c.github.io/sensors/#automation for more information.
@@ -8641,6 +8653,7 @@ domain Page
8641
8653
  join-ad-interest-group
8642
8654
  keyboard-map
8643
8655
  language-detector
8656
+ language-model
8644
8657
  local-fonts
8645
8658
  local-network-access
8646
8659
  magnetometer
@@ -8536,6 +8536,11 @@ export namespace Protocol {
8536
8536
  */
8537
8537
  export type VirtualTimePolicy = ('advance' | 'pause' | 'pauseIfNetworkFetchesPending');
8538
8538
 
8539
+ /**
8540
+ * Used to specify User Agent form-factor values. See https://wicg.github.io/ua-client-hints/#sec-ch-ua-form-factors
8541
+ */
8542
+ export type UserAgentFormFactor = ('Desktop' | 'Automotive' | 'Mobile' | 'Tablet' | 'XR' | 'EInk' | 'Watch');
8543
+
8539
8544
  /**
8540
8545
  * Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints
8541
8546
  */
@@ -8565,6 +8570,7 @@ export namespace Protocol {
8565
8570
  mobile: boolean;
8566
8571
  bitness?: string;
8567
8572
  wow64?: boolean;
8573
+ formFactors?: UserAgentFormFactor[];
8568
8574
  }
8569
8575
 
8570
8576
  /**
@@ -14041,7 +14047,7 @@ export namespace Protocol {
14041
14047
  * All Permissions Policy features. This enum should match the one defined
14042
14048
  * in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
14043
14049
  */
14044
- export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'local-fonts' | 'local-network-access' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'record-ad-auction-events' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
14050
+ export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network-access' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'record-ad-auction-events' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
14045
14051
 
14046
14052
  /**
14047
14053
  * Reason for a permissions policy feature to be disabled.