Skip to content

Commit 0d84894

Browse files
committed
Roll protocol to r1472211
1 parent 00f18fe commit 0d84894

File tree

5 files changed

+75
-16
lines changed

5 files changed

+75
-16
lines changed

changelog.md

Lines changed: 33 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,39 @@
11

22

3+
## Roll protocol to r1472211 — _2025-06-11T04:31:52.000Z_
4+
###### Diff: [`00f18fe...1701250`](https://github.com/ChromeDevTools/devtools-protocol/compare/00f18fe...1701250)
5+
6+
```diff
7+
@@ browser_protocol.pdl:4467 @@ domain Emulation
8+
pause
9+
pauseIfNetworkFetchesPending
10+
11+
+ # Used to specify User Agent form-factor values. See https://wicg.github.io/ua-client-hints/#sec-ch-ua-form-factors
12+
+ experimental type UserAgentFormFactor extends string
13+
+ enum
14+
+ Desktop
15+
+ Automotive
16+
+ Mobile
17+
+ Tablet
18+
+ XR
19+
+ EInk
20+
+ Watch
21+
+
22+
# Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints
23+
experimental type UserAgentBrandVersion extends object
24+
properties
25+
@@ -4489,6 +4500,7 @@ domain Emulation
26+
boolean mobile
27+
optional string bitness
28+
optional boolean wow64
29+
+ optional array of UserAgentFormFactor formFactors
30+
31+
# Used to specify sensor types to emulate.
32+
# See https://w3c.github.io/sensors/#automation for more information.
33+
```
34+
335
## Roll protocol to r1470888 — _2025-06-07T04:31:13.000Z_
4-
###### Diff: [`2823d32...a0e22c9`](https://github.com/ChromeDevTools/devtools-protocol/compare/2823d32...a0e22c9)
36+
###### Diff: [`2823d32...00f18fe`](https://github.com/ChromeDevTools/devtools-protocol/compare/2823d32...00f18fe)
537

638
```diff
739
@@ browser_protocol.pdl:4700 @@ domain Emulation
@@ -13991,18 +14023,4 @@ index 8d8211b..2d56043 100644
1399114023

1399214024
event loadEventFired
1399314025
parameters
13994-
```
13995-
13996-
## Roll protocol to r1045489 — _2022-09-10T04:51:55.000Z_
13997-
###### Diff: [`08793fb...379658e`](https://github.com/ChromeDevTools/devtools-protocol/compare/08793fb...379658e)
13998-
13999-
```diff
14000-
@@ browser_protocol.pdl:701 @@ experimental domain Audits
14001-
type AttributionReportingIssueType extends string
14002-
enum
14003-
PermissionPolicyDisabled
14004-
+ PermissionPolicyNotDelegated
14005-
UntrustworthyReportingOrigin
14006-
InsecureContext
14007-
# TODO(apaseltiner): Rename this to InvalidRegisterSourceHeader
1400814026
```

json/browser_protocol.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9617,6 +9617,21 @@
96179617
"pauseIfNetworkFetchesPending"
96189618
]
96199619
},
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+
},
96209635
{
96219636
"id": "UserAgentBrandVersion",
96229637
"description": "Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints",
@@ -9692,6 +9707,14 @@
96929707
"name": "wow64",
96939708
"optional": true,
96949709
"type": "boolean"
9710+
},
9711+
{
9712+
"name": "formFactors",
9713+
"optional": true,
9714+
"type": "array",
9715+
"items": {
9716+
"$ref": "UserAgentFormFactor"
9717+
}
96959718
}
96969719
]
96979720
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devtools-protocol",
3-
"version": "0.0.1470888",
3+
"version": "0.0.1472211",
44
"description": "The Chrome DevTools Protocol JSON",
55
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
66
"author": "The Chromium Authors",

pdl/browser_protocol.pdl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4467,6 +4467,17 @@ domain Emulation
44674467
pause
44684468
pauseIfNetworkFetchesPending
44694469

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+
44704481
# Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints
44714482
experimental type UserAgentBrandVersion extends object
44724483
properties
@@ -4489,6 +4500,7 @@ domain Emulation
44894500
boolean mobile
44904501
optional string bitness
44914502
optional boolean wow64
4503+
optional array of UserAgentFormFactor formFactors
44924504

44934505
# Used to specify sensor types to emulate.
44944506
# See https://w3c.github.io/sensors/#automation for more information.

types/protocol.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8536,6 +8536,11 @@ export namespace Protocol {
85368536
*/
85378537
export type VirtualTimePolicy = ('advance' | 'pause' | 'pauseIfNetworkFetchesPending');
85388538

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+
85398544
/**
85408545
* Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints
85418546
*/
@@ -8565,6 +8570,7 @@ export namespace Protocol {
85658570
mobile: boolean;
85668571
bitness?: string;
85678572
wow64?: boolean;
8573+
formFactors?: UserAgentFormFactor[];
85688574
}
85698575

85708576
/**

0 commit comments

Comments
 (0)