devtools-protocol 0.0.1470888 → 0.0.1472211

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
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1470888",
3
+ "version": "0.0.1472211",
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.
@@ -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
  /**