Skip to content

Commit 00f18fe

Browse files
committed
Roll protocol to r1470888
1 parent 2823d32 commit 00f18fe

File tree

8 files changed

+57
-17
lines changed

8 files changed

+57
-17
lines changed

changelog.md

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,25 @@
11

22

3+
## Roll protocol to r1470888 — _2025-06-07T04:31:13.000Z_
4+
###### Diff: [`2823d32...a0e22c9`](https://github.com/ChromeDevTools/devtools-protocol/compare/2823d32...a0e22c9)
5+
6+
```diff
7+
@@ browser_protocol.pdl:4700 @@ domain Emulation
8+
protanopia
9+
tritanopia
10+
11+
+ # Emulates the given OS text scale.
12+
+ command setEmulatedOSTextScale
13+
+ parameters
14+
+ optional number scale
15+
+
16+
# Overrides the Geolocation Position or Error. Omitting latitude, longitude or
17+
# accuracy emulates position unavailable.
18+
command setGeolocationOverride
19+
```
20+
321
## Roll protocol to r1468520 — _2025-06-03T04:31:40.000Z_
4-
###### Diff: [`c9a1a5d...d8fdb5f`](https://github.com/ChromeDevTools/devtools-protocol/compare/c9a1a5d...d8fdb5f)
22+
###### Diff: [`c9a1a5d...2823d32`](https://github.com/ChromeDevTools/devtools-protocol/compare/c9a1a5d...2823d32)
523

624
```diff
725
@@ browser_protocol.pdl:8514 @@ domain Page
@@ -13987,19 +14005,4 @@ index 8d8211b..2d56043 100644
1398714005
UntrustworthyReportingOrigin
1398814006
InsecureContext
1398914007
# TODO(apaseltiner): Rename this to InvalidRegisterSourceHeader
13990-
```
13991-
13992-
## Roll protocol to r1044932 — _2022-09-09T04:49:16.000Z_
13993-
###### Diff: [`6ea69cb...08793fb`](https://github.com/ChromeDevTools/devtools-protocol/compare/6ea69cb...08793fb)
13994-
13995-
```diff
13996-
@@ browser_protocol.pdl:2926 @@ domain DOM
13997-
parameters
13998-
# Id of the node that has changed.
13999-
NodeId parentNodeId
14000-
- # If of the previous siblint.
14001-
+ # Id of the previous sibling.
14002-
NodeId previousNodeId
14003-
# Inserted node data.
14004-
Node node
1400514008
```

json/browser_protocol.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10151,6 +10151,17 @@
1015110151
}
1015210152
]
1015310153
},
10154+
{
10155+
"name": "setEmulatedOSTextScale",
10156+
"description": "Emulates the given OS text scale.",
10157+
"parameters": [
10158+
{
10159+
"name": "scale",
10160+
"optional": true,
10161+
"type": "number"
10162+
}
10163+
]
10164+
},
1015410165
{
1015510166
"name": "setGeolocationOverride",
1015610167
"description": "Overrides the Geolocation Position or Error. Omitting latitude, longitude or\naccuracy emulates position unavailable.",

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.1468520",
3+
"version": "0.0.1470888",
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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4700,6 +4700,11 @@ domain Emulation
47004700
protanopia
47014701
tritanopia
47024702

4703+
# Emulates the given OS text scale.
4704+
command setEmulatedOSTextScale
4705+
parameters
4706+
optional number scale
4707+
47034708
# Overrides the Geolocation Position or Error. Omitting latitude, longitude or
47044709
# accuracy emulates position unavailable.
47054710
command setGeolocationOverride

types/protocol-mapping.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2917,6 +2917,13 @@ export namespace ProtocolMapping {
29172917
paramsType: [Protocol.Emulation.SetEmulatedVisionDeficiencyRequest];
29182918
returnType: void;
29192919
};
2920+
/**
2921+
* Emulates the given OS text scale.
2922+
*/
2923+
'Emulation.setEmulatedOSTextScale': {
2924+
paramsType: [Protocol.Emulation.SetEmulatedOSTextScaleRequest?];
2925+
returnType: void;
2926+
};
29202927
/**
29212928
* Overrides the Geolocation Position or Error. Omitting latitude, longitude or
29222929
* accuracy emulates position unavailable.

types/protocol-proxy-api.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1961,6 +1961,11 @@ export namespace ProtocolProxyApi {
19611961
*/
19621962
setEmulatedVisionDeficiency(params: Protocol.Emulation.SetEmulatedVisionDeficiencyRequest): Promise<void>;
19631963

1964+
/**
1965+
* Emulates the given OS text scale.
1966+
*/
1967+
setEmulatedOSTextScale(params: Protocol.Emulation.SetEmulatedOSTextScaleRequest): Promise<void>;
1968+
19641969
/**
19651970
* Overrides the Geolocation Position or Error. Omitting latitude, longitude or
19661971
* accuracy emulates position unavailable.

types/protocol-tests-proxy-api.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2085,6 +2085,11 @@ export namespace ProtocolTestsProxyApi {
20852085
*/
20862086
setEmulatedVisionDeficiency(params: Protocol.Emulation.SetEmulatedVisionDeficiencyRequest): Promise<{id: number, result: void, sessionId: string}>;
20872087

2088+
/**
2089+
* Emulates the given OS text scale.
2090+
*/
2091+
setEmulatedOSTextScale(params: Protocol.Emulation.SetEmulatedOSTextScaleRequest): Promise<{id: number, result: void, sessionId: string}>;
2092+
20882093
/**
20892094
* Overrides the Geolocation Position or Error. Omitting latitude, longitude or
20902095
* accuracy emulates position unavailable.

types/protocol.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8788,6 +8788,10 @@ export namespace Protocol {
87888788
type: ('none' | 'blurredVision' | 'reducedContrast' | 'achromatopsia' | 'deuteranopia' | 'protanopia' | 'tritanopia');
87898789
}
87908790

8791+
export interface SetEmulatedOSTextScaleRequest {
8792+
scale?: number;
8793+
}
8794+
87918795
export interface SetGeolocationOverrideRequest {
87928796
/**
87938797
* Mock latitude

0 commit comments

Comments
 (0)