Skip to content

Commit b6b27f6

Browse files
committed
Roll protocol to r1635485
1 parent e47d08c commit b6b27f6

9 files changed

Lines changed: 35 additions & 163 deletions

changelog.md

Lines changed: 31 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,37 @@
11

22

3+
## Roll protocol to r1635485 — _2026-05-24T05:45:30.000Z_
4+
###### Diff: [`e47d08c...22bd900`](https://github.com/ChromeDevTools/devtools-protocol/compare/e47d08c...22bd900)
5+
6+
```diff
7+
@@ domains/Emulation.pdl:436 @@ domain Emulation
8+
PressureSource source
9+
optional PressureMetadata metadata
10+
11+
- # TODO: OBSOLETE: To remove when setPressureDataOverride is merged.
12+
# Provides a given pressure state that will be processed and eventually be
13+
# delivered to PressureObserver users. |source| must have been previously
14+
# overridden by setPressureSourceOverrideEnabled.
15+
@@ -445,15 +444,6 @@ domain Emulation
16+
PressureSource source
17+
PressureState state
18+
19+
- # Provides a given pressure data set that will be processed and eventually be
20+
- # delivered to PressureObserver users. |source| must have been previously
21+
- # overridden by setPressureSourceOverrideEnabled.
22+
- experimental command setPressureDataOverride
23+
- parameters
24+
- PressureSource source
25+
- PressureState state
26+
- optional number ownContributionEstimate
27+
-
28+
# Overrides the Idle state.
29+
command setIdleOverride
30+
parameters
31+
```
32+
333
## Roll protocol to r1634055 — _2026-05-21T05:48:46.000Z_
4-
###### Diff: [`357026f...c2ea733`](https://github.com/ChromeDevTools/devtools-protocol/compare/357026f...c2ea733)
34+
###### Diff: [`357026f...e47d08c`](https://github.com/ChromeDevTools/devtools-protocol/compare/357026f...e47d08c)
535

636
```diff
737
@@ domains/Target.pdl:36 @@ domain Target
@@ -42829,97 +42859,4 @@ index 4754f17c..8dad9c98 100644
4282942859

4283042860
type CookieOperation extends string
4283142861
enum
42832-
```
42833-
42834-
## Roll protocol to r1173320 — _2023-07-21T04:26:31.000Z_
42835-
###### Diff: [`68de33a...57ca382`](https://github.com/ChromeDevTools/devtools-protocol/compare/68de33a...57ca382)
42836-
42837-
```diff
42838-
@@ browser_protocol.pdl:72 @@ experimental domain Accessibility
42839-
optional AXValue attributeValue
42840-
# Whether this source is superseded by a higher priority source.
42841-
optional boolean superseded
42842-
- # The native markup source for this value, e.g. a <label> element.
42843-
+ # The native markup source for this value, e.g. a `<label>` element.
42844-
optional AXValueNativeSourceType nativeSource
42845-
# The value, such as a node or node list, of the native source.
42846-
optional AXValue nativeSourceValue
42847-
@@ -1503,7 +1503,7 @@ experimental domain CSS
42848-
boolean isInline
42849-
# Whether this stylesheet is mutable. Inline stylesheets become mutable
42850-
# after they have been modified via CSSOM API.
42851-
- # <link> element's stylesheets become mutable only if DevTools modifies them.
42852-
+ # `<link>` element's stylesheets become mutable only if DevTools modifies them.
42853-
# Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation.
42854-
boolean isMutable
42855-
# True if this stylesheet is created through new CSSStyleSheet() or imported as a
42856-
@@ -2326,8 +2326,8 @@ experimental domain Cast
42857-
# the JavaScript object wrapper, etc. It is important that client receives DOM events only for the
42858-
# nodes that are known to the client. Backend keeps track of the nodes that were sent to the client
42859-
# and never sends the same node twice. It is client's responsibility to collect information about
42860-
-# the nodes that were sent to the client.<p>Note that `iframe` owner elements will return
42861-
-# corresponding document elements as their child nodes.</p>
42862-
+# the nodes that were sent to the client. Note that `iframe` owner elements will return
42863-
+# corresponding document elements as their child nodes.
42864-
domain DOM
42865-
depends on Runtime
42866-
42867-
@@ -4107,8 +4107,8 @@ experimental domain HeadlessExperimental
42868-
# Input/Output operations for streams produced by DevTools.
42869-
domain IO
42870-
42871-
- # This is either obtained from another method or specified as `blob:&lt;uuid&gt;` where
42872-
- # `&lt;uuid&gt` is an UUID of a Blob.
42873-
+ # This is either obtained from another method or specified as `blob:<uuid>` where
42874-
+ # `<uuid>` is an UUID of a Blob.
42875-
type StreamHandle extends string
42876-
42877-
# Close the stream, discard any temporary backing storage.
42878-
@@ -5880,7 +5880,7 @@ domain Network
42879-
Headers responseHeaders
42880-
# Signed exchange response signature.
42881-
array of SignedExchangeSignature signatures
42882-
- # Signed exchange header integrity hash in the form of "sha256-<base64-hash-value>".
42883-
+ # Signed exchange header integrity hash in the form of `sha256-<base64-hash-value>`.
42884-
string headerIntegrity
42885-
42886-
# Field type for a signed exchange related error.
42887-
@@ -8359,7 +8359,7 @@ domain Page
42888-
enum mode
42889-
selectSingle
42890-
selectMultiple
42891-
- # Input node id. Only present for file choosers opened via an <input type="file"> element.
42892-
+ # Input node id. Only present for file choosers opened via an `<input type="file">` element.
42893-
experimental optional DOM.BackendNodeId backendNodeId
42894-
42895-
# Fired when frame has been attached to its parent.
42896-
@@ -11096,7 +11096,7 @@ experimental domain Preload
42897-
# Identifies a document which the rule set is associated with.
42898-
Network.LoaderId loaderId
42899-
# Source text of JSON representing the rule set. If it comes from
42900-
- # <script> tag, it is the textContent of the node. Note that it is
42901-
+ # `<script>` tag, it is the textContent of the node. Note that it is
42902-
# a JSON for valid case.
42903-
#
42904-
# See also:
42905-
@@ -11104,9 +11104,9 @@ experimental domain Preload
42906-
# - https://github.com/WICG/nav-speculation/blob/main/triggers.md
42907-
string sourceText
42908-
# A speculation rule set is either added through an inline
42909-
- # <script> tag or through an external resource via the
42910-
+ # `<script>` tag or through an external resource via the
42911-
# 'Speculation-Rules' HTTP header. For the first case, we include
42912-
- # the BackendNodeId of the relevant <script> tag. For the second
42913-
+ # the BackendNodeId of the relevant `<script>` tag. For the second
42914-
# case, we include the external URL where the rule set was loaded
42915-
# from, and also RequestId if Network domain is enabled.
42916-
#
42917-
@@ -11210,7 +11210,6 @@ experimental domain Preload
42918-
AudioOutputDeviceRequested
42919-
MixedContent
42920-
TriggerBackgrounded
42921-
- EmbedderTriggeredAndCrossOriginRedirected
42922-
MemoryLimitExceeded
42923-
# Prerenders can be cancelled when Chrome uses excessive memory. This is
42924-
# recorded when it fails to get the memory usage.
4292542862
```

json/browser_protocol.json

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11406,7 +11406,7 @@
1140611406
},
1140711407
{
1140811408
"name": "setPressureStateOverride",
11409-
"description": "TODO: OBSOLETE: To remove when setPressureDataOverride is merged.\nProvides a given pressure state that will be processed and eventually be\ndelivered to PressureObserver users. |source| must have been previously\noverridden by setPressureSourceOverrideEnabled.",
11409+
"description": "Provides a given pressure state that will be processed and eventually be\ndelivered to PressureObserver users. |source| must have been previously\noverridden by setPressureSourceOverrideEnabled.",
1141011410
"experimental": true,
1141111411
"parameters": [
1141211412
{
@@ -11419,26 +11419,6 @@
1141911419
}
1142011420
]
1142111421
},
11422-
{
11423-
"name": "setPressureDataOverride",
11424-
"description": "Provides a given pressure data set that will be processed and eventually be\ndelivered to PressureObserver users. |source| must have been previously\noverridden by setPressureSourceOverrideEnabled.",
11425-
"experimental": true,
11426-
"parameters": [
11427-
{
11428-
"name": "source",
11429-
"$ref": "PressureSource"
11430-
},
11431-
{
11432-
"name": "state",
11433-
"$ref": "PressureState"
11434-
},
11435-
{
11436-
"name": "ownContributionEstimate",
11437-
"optional": true,
11438-
"type": "number"
11439-
}
11440-
]
11441-
},
1144211422
{
1144311423
"name": "setIdleOverride",
1144411424
"description": "Overrides the Idle state.",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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.1634055",
3+
"version": "0.0.1635485",
44
"description": "The Chrome DevTools Protocol JSON",
55
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
66
"author": "The Chromium Authors",

pdl/domains/Emulation.pdl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,6 @@ domain Emulation
436436
PressureSource source
437437
optional PressureMetadata metadata
438438

439-
# TODO: OBSOLETE: To remove when setPressureDataOverride is merged.
440439
# Provides a given pressure state that will be processed and eventually be
441440
# delivered to PressureObserver users. |source| must have been previously
442441
# overridden by setPressureSourceOverrideEnabled.
@@ -445,15 +444,6 @@ domain Emulation
445444
PressureSource source
446445
PressureState state
447446

448-
# Provides a given pressure data set that will be processed and eventually be
449-
# delivered to PressureObserver users. |source| must have been previously
450-
# overridden by setPressureSourceOverrideEnabled.
451-
experimental command setPressureDataOverride
452-
parameters
453-
PressureSource source
454-
PressureState state
455-
optional number ownContributionEstimate
456-
457447
# Overrides the Idle state.
458448
command setIdleOverride
459449
parameters

types/protocol-mapping.d.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3442,7 +3442,6 @@ export namespace ProtocolMapping {
34423442
returnType: void;
34433443
};
34443444
/**
3445-
* TODO: OBSOLETE: To remove when setPressureDataOverride is merged.
34463445
* Provides a given pressure state that will be processed and eventually be
34473446
* delivered to PressureObserver users. |source| must have been previously
34483447
* overridden by setPressureSourceOverrideEnabled.
@@ -3452,16 +3451,6 @@ export namespace ProtocolMapping {
34523451
paramsType: [Protocol.Emulation.SetPressureStateOverrideRequest];
34533452
returnType: void;
34543453
};
3455-
/**
3456-
* Provides a given pressure data set that will be processed and eventually be
3457-
* delivered to PressureObserver users. |source| must have been previously
3458-
* overridden by setPressureSourceOverrideEnabled.
3459-
* @experimental
3460-
*/
3461-
'Emulation.setPressureDataOverride': {
3462-
paramsType: [Protocol.Emulation.SetPressureDataOverrideRequest];
3463-
returnType: void;
3464-
};
34653454
/**
34663455
* Overrides the Idle state.
34673456
*/

types/protocol-proxy-api.d.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2279,22 +2279,13 @@ export namespace ProtocolProxyApi {
22792279
setPressureSourceOverrideEnabled(params: Protocol.Emulation.SetPressureSourceOverrideEnabledRequest): Promise<void>;
22802280

22812281
/**
2282-
* TODO: OBSOLETE: To remove when setPressureDataOverride is merged.
22832282
* Provides a given pressure state that will be processed and eventually be
22842283
* delivered to PressureObserver users. |source| must have been previously
22852284
* overridden by setPressureSourceOverrideEnabled.
22862285
* @experimental
22872286
*/
22882287
setPressureStateOverride(params: Protocol.Emulation.SetPressureStateOverrideRequest): Promise<void>;
22892288

2290-
/**
2291-
* Provides a given pressure data set that will be processed and eventually be
2292-
* delivered to PressureObserver users. |source| must have been previously
2293-
* overridden by setPressureSourceOverrideEnabled.
2294-
* @experimental
2295-
*/
2296-
setPressureDataOverride(params: Protocol.Emulation.SetPressureDataOverrideRequest): Promise<void>;
2297-
22982289
/**
22992290
* Overrides the Idle state.
23002291
*/

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2417,22 +2417,13 @@ export namespace ProtocolTestsProxyApi {
24172417
setPressureSourceOverrideEnabled(params: Protocol.Emulation.SetPressureSourceOverrideEnabledRequest): Promise<{id: number, result: void, sessionId: string}>;
24182418

24192419
/**
2420-
* TODO: OBSOLETE: To remove when setPressureDataOverride is merged.
24212420
* Provides a given pressure state that will be processed and eventually be
24222421
* delivered to PressureObserver users. |source| must have been previously
24232422
* overridden by setPressureSourceOverrideEnabled.
24242423
* @experimental
24252424
*/
24262425
setPressureStateOverride(params: Protocol.Emulation.SetPressureStateOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
24272426

2428-
/**
2429-
* Provides a given pressure data set that will be processed and eventually be
2430-
* delivered to PressureObserver users. |source| must have been previously
2431-
* overridden by setPressureSourceOverrideEnabled.
2432-
* @experimental
2433-
*/
2434-
setPressureDataOverride(params: Protocol.Emulation.SetPressureDataOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
2435-
24362427
/**
24372428
* Overrides the Idle state.
24382429
*/

types/protocol.d.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9706,12 +9706,6 @@ export namespace Protocol {
97069706
state: PressureState;
97079707
}
97089708

9709-
export interface SetPressureDataOverrideRequest {
9710-
source: PressureSource;
9711-
state: PressureState;
9712-
ownContributionEstimate?: number;
9713-
}
9714-
97159709
export interface SetIdleOverrideRequest {
97169710
/**
97179711
* Mock isUserActive

0 commit comments

Comments
 (0)