Skip to content

Commit 1474833

Browse files
committed
Roll protocol to r1704684
1 parent 41fafef commit 1474833

6 files changed

Lines changed: 37 additions & 217 deletions

File tree

‎changelog.md‎

Lines changed: 18 additions & 214 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,24 @@
11

22

3+
## Roll protocol to r1704684 — _2026-09-25T10:37:33.000Z_
4+
###### Diff: [`41fafef...0796427`](https://github.com/ChromeDevTools/devtools-protocol/compare/41fafef...0796427)
5+
6+
```diff
7+
@@ domains/Preload.pdl:287 @@ experimental domain Preload
8+
PreloadingAttemptKey key
9+
PreloadPipelineId pipelineId
10+
PreloadingStatus status
11+
+ # The action currently performed by this attempt. This differs from
12+
+ # `key.action` after a prerender-until-script attempt is upgraded in place
13+
+ # to a full prerender.
14+
+ optional SpeculationAction effectiveAction
15+
optional PrerenderFinalStatus prerenderStatus
16+
# This is used to give users more information about the name of Mojo interface
17+
# that is incompatible with prerender and has caused the cancellation of the attempt.
18+
```
19+
320
## Roll protocol to r1704034 — _2026-09-24T04:37:35.000Z_
4-
###### Diff: [`95987cc...93b55a0`](https://github.com/ChromeDevTools/devtools-protocol/compare/95987cc...93b55a0)
21+
###### Diff: [`95987cc...692abe8`](https://github.com/ChromeDevTools/devtools-protocol/compare/95987cc...692abe8)
522

623
```diff
724
@@ domains/Page.pdl:388 @@ domain Page
@@ -43650,217 +43667,4 @@ index 8dad9c98..ee14676c 100644
4365043667

4365143668
# Shared storage was accessed by the associated page.
4365243669
# The following parameters are included in all events.
43653-
```
43654-
43655-
## Roll protocol to r1248698 — _2024-01-18T12:05:32.000Z_
43656-
###### Diff: [`0693202...6d5e973`](https://github.com/ChromeDevTools/devtools-protocol/compare/0693202...6d5e973)
43657-
43658-
```diff
43659-
@@ browser_protocol.pdl:1299 @@ domain Browser
43660-
optional BrowserContextID browserContextId
43661-
43662-
# Reset all permission management for all origins.
43663-
- experimental command resetPermissions
43664-
+ command resetPermissions
43665-
parameters
43666-
# BrowserContext to reset permissions. When omitted, default browser context is used.
43667-
optional BrowserContextID browserContextId
43668-
@@ -2737,7 +2737,7 @@ domain DOM
43669-
# Scrolls the specified rect of the given node into view if not already visible.
43670-
# Note: exactly one between nodeId, backendNodeId and objectId should be passed
43671-
# to identify the node.
43672-
- experimental command scrollIntoViewIfNeeded
43673-
+ command scrollIntoViewIfNeeded
43674-
parameters
43675-
# Identifier of the node.
43676-
optional NodeId nodeId
43677-
@@ -4045,7 +4045,7 @@ domain Emulation
43678-
optional boolean enabled
43679-
43680-
# Enables CPU throttling to emulate slow CPUs.
43681-
- experimental command setCPUThrottlingRate
43682-
+ command setCPUThrottlingRate
43683-
parameters
43684-
# Throttling rate as a slowdown factor (1 is no throttle, 2 is 2x slowdown, etc).
43685-
number rate
43686-
@@ -4124,7 +4124,7 @@ domain Emulation
43687-
optional array of MediaFeature features
43688-
43689-
# Emulates the given vision deficiency.
43690-
- experimental command setEmulatedVisionDeficiency
43691-
+ command setEmulatedVisionDeficiency
43692-
parameters
43693-
# Vision deficiency to emulate. Order: best-effort emulations come first, followed by any
43694-
# physiologically accurate emulations for medically recognized color vision deficiencies.
43695-
@@ -4173,7 +4173,7 @@ domain Emulation
43696-
SensorReading reading
43697-
43698-
# Overrides the Idle state.
43699-
- experimental command setIdleOverride
43700-
+ command setIdleOverride
43701-
parameters
43702-
# Mock isUserActive
43703-
boolean isUserActive
43704-
@@ -4181,7 +4181,7 @@ domain Emulation
43705-
boolean isScreenUnlocked
43706-
43707-
# Clears Idle state overrides.
43708-
- experimental command clearIdleOverride
43709-
+ command clearIdleOverride
43710-
43711-
# Overrides value returned by the javascript navigator object.
43712-
experimental deprecated command setNavigatorOverrides
43713-
@@ -4234,7 +4234,7 @@ domain Emulation
43714-
optional string locale
43715-
43716-
# Overrides default host system timezone with the specified one.
43717-
- experimental command setTimezoneOverride
43718-
+ command setTimezoneOverride
43719-
parameters
43720-
# The timezone identifier. If empty, disables the override and
43721-
# restores default host system timezone.
43722-
@@ -6376,7 +6376,7 @@ domain Network
43723-
array of string urls
43724-
43725-
# Toggles ignoring of service worker for each request.
43726-
- experimental command setBypassServiceWorker
43727-
+ command setBypassServiceWorker
43728-
parameters
43729-
# Bypass service worker and load from network.
43730-
boolean bypass
43731-
@@ -8400,7 +8400,7 @@ domain Page
43732-
boolean enabled
43733-
43734-
# Enable page Content Security Policy by-passing.
43735-
- experimental command setBypassCSP
43736-
+ command setBypassCSP
43737-
parameters
43738-
# Whether to bypass page CSP.
43739-
boolean enabled
43740-
@@ -8512,7 +8512,7 @@ domain Page
43741-
optional number accuracy
43742-
43743-
# Controls whether page will emit lifecycle events.
43744-
- experimental command setLifecycleEventsEnabled
43745-
+ command setLifecycleEventsEnabled
43746-
parameters
43747-
# If true, starts emitting lifecycle events.
43748-
boolean enabled
43749-
@@ -8552,7 +8552,7 @@ domain Page
43750-
experimental command crash
43751-
43752-
# Tries to close page, running its beforeunload hooks, if any.
43753-
- experimental command close
43754-
+ command close
43755-
43756-
# Tries to update the web lifecycle state of the page.
43757-
# It will transition the page to the given state according to:
43758-
@@ -8622,7 +8622,7 @@ domain Page
43759-
# Intercept file chooser requests and transfer control to protocol clients.
43760-
# When file chooser interception is enabled, native file chooser dialog is not shown.
43761-
# Instead, a protocol event `Page.fileChooserOpened` is emitted.
43762-
- experimental command setInterceptFileChooserDialog
43763-
+ command setInterceptFileChooserDialog
43764-
parameters
43765-
boolean enabled
43766-
43767-
@@ -9308,7 +9308,7 @@ domain Security
43768-
command enable
43769-
43770-
# Enable/disable whether all certificate errors should be ignored.
43771-
- experimental command setIgnoreCertificateErrors
43772-
+ command setIgnoreCertificateErrors
43773-
parameters
43774-
# If true, all certificate errors will be ignored.
43775-
boolean ignore
43776-
@@ -10374,23 +10374,23 @@ domain Target
43777-
43778-
# Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than
43779-
# one.
43780-
- experimental command createBrowserContext
43781-
+ command createBrowserContext
43782-
parameters
43783-
# If specified, disposes this context when debugging session disconnects.
43784-
- optional boolean disposeOnDetach
43785-
+ experimental optional boolean disposeOnDetach
43786-
# Proxy server, similar to the one passed to --proxy-server
43787-
- optional string proxyServer
43788-
+ experimental optional string proxyServer
43789-
# Proxy bypass list, similar to the one passed to --proxy-bypass-list
43790-
- optional string proxyBypassList
43791-
+ experimental optional string proxyBypassList
43792-
# An optional list of origins to grant unlimited cross-origin access to.
43793-
# Parts of the URL other than those constituting origin are ignored.
43794-
- optional array of string originsWithUniversalNetworkAccess
43795-
+ experimental optional array of string originsWithUniversalNetworkAccess
43796-
returns
43797-
# The id of the context created.
43798-
Browser.BrowserContextID browserContextId
43799-
43800-
# Returns all browser contexts created with `Target.createBrowserContext` method.
43801-
- experimental command getBrowserContexts
43802-
+ command getBrowserContexts
43803-
returns
43804-
# An array of browser context ids.
43805-
array of Browser.BrowserContextID browserContextIds
43806-
@@ -10430,7 +10430,7 @@ domain Target
43807-
43808-
# Deletes a BrowserContext. All the belonging pages will be closed without calling their
43809-
# beforeunload hooks.
43810-
- experimental command disposeBrowserContext
43811-
+ command disposeBrowserContext
43812-
parameters
43813-
Browser.BrowserContextID browserContextId
43814-
43815-
@@ -10468,7 +10468,7 @@ domain Target
43816-
# automatically detaches from all currently attached targets.
43817-
# This also clears all targets added by `autoAttachRelated` from the list of targets to watch
43818-
# for creation of related targets.
43819-
- experimental command setAutoAttach
43820-
+ command setAutoAttach
43821-
parameters
43822-
# Whether to auto-attach to related targets.
43823-
boolean autoAttach
43824-
@@ -10478,7 +10478,7 @@ domain Target
43825-
# Enables "flat" access to the session via specifying sessionId attribute in the commands.
43826-
# We plan to make this the default, deprecate non-flattened mode,
43827-
# and eventually retire it. See crbug.com/991325.
43828-
- optional boolean flatten
43829-
+ experimental optional boolean flatten
43830-
# Only targets matching filter will be attached.
43831-
experimental optional TargetFilter filter
43832-
43833-
diff --git a/pdl/js_protocol.pdl b/pdl/js_protocol.pdl
43834-
index 4754f17c..8dad9c98 100644
43835-
--- a/pdl/js_protocol.pdl
43836-
+++ b/pdl/js_protocol.pdl
43837-
@@ -1665,7 +1665,7 @@ domain Runtime
43838-
# Binding function takes exactly one argument, this argument should be string,
43839-
# in case of any other input, function throws an exception.
43840-
# Each binding function call produces Runtime.bindingCalled notification.
43841-
- experimental command addBinding
43842-
+ command addBinding
43843-
parameters
43844-
string name
43845-
# If specified, the binding would only be exposed to the specified
43846-
@@ -1675,17 +1675,17 @@ domain Runtime
43847-
# Deprecated in favor of `executionContextName` due to an unclear use case
43848-
# and bugs in implementation (crbug.com/1169639). `executionContextId` will be
43849-
# removed in the future.
43850-
- deprecated optional ExecutionContextId executionContextId
43851-
+ experimental deprecated optional ExecutionContextId executionContextId
43852-
# If specified, the binding is exposed to the executionContext with
43853-
# matching name, even for contexts created after the binding is added.
43854-
# See also `ExecutionContext.name` and `worldName` parameter to
43855-
# `Page.addScriptToEvaluateOnNewDocument`.
43856-
# This parameter is mutually exclusive with `executionContextId`.
43857-
- experimental optional string executionContextName
43858-
+ optional string executionContextName
43859-
43860-
# This method does not remove binding function from global object but
43861-
# unsubscribes current runtime agent from Runtime.bindingCalled notifications.
43862-
- experimental command removeBinding
43863-
+ command removeBinding
43864-
parameters
43865-
string name
4386643670
```

‎json/browser_protocol.json‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26205,6 +26205,12 @@
2620526205
"name": "status",
2620626206
"$ref": "PreloadingStatus"
2620726207
},
26208+
{
26209+
"name": "effectiveAction",
26210+
"description": "The action currently performed by this attempt. This differs from\n`key.action` after a prerender-until-script attempt is upgraded in place\nto a full prerender.",
26211+
"optional": true,
26212+
"$ref": "SpeculationAction"
26213+
},
2620826214
{
2620926215
"name": "prerenderStatus",
2621026216
"optional": true,

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

‎pdl/domains/Preload.pdl‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,10 @@ experimental domain Preload
287287
PreloadingAttemptKey key
288288
PreloadPipelineId pipelineId
289289
PreloadingStatus status
290+
# The action currently performed by this attempt. This differs from
291+
# `key.action` after a prerender-until-script attempt is upgraded in place
292+
# to a full prerender.
293+
optional SpeculationAction effectiveAction
290294
optional PrerenderFinalStatus prerenderStatus
291295
# This is used to give users more information about the name of Mojo interface
292296
# that is incompatible with prerender and has caused the cancellation of the attempt.

‎types/protocol.d.ts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19341,6 +19341,12 @@ export namespace Protocol {
1934119341
key: PreloadingAttemptKey;
1934219342
pipelineId: PreloadPipelineId;
1934319343
status: PreloadingStatus;
19344+
/**
19345+
* The action currently performed by this attempt. This differs from
19346+
* `key.action` after a prerender-until-script attempt is upgraded in place
19347+
* to a full prerender.
19348+
*/
19349+
effectiveAction?: SpeculationAction;
1934419350
prerenderStatus?: PrerenderFinalStatus;
1934519351
/**
1934619352
* This is used to give users more information about the name of Mojo interface

0 commit comments

Comments
 (0)