Skip to content

Commit 418ab00

Browse files
committed
Roll protocol to r1517051
1 parent 86cf20a commit 418ab00

10 files changed

Lines changed: 109 additions & 22 deletions

changelog.md

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

22

3+
## Roll protocol to r1517051 — _2025-09-18T04:31:09.000Z_
4+
###### Diff: [`86cf20a...a0d1f79`](https://github.com/ChromeDevTools/devtools-protocol/compare/86cf20a...a0d1f79)
5+
6+
```diff
7+
@@ domains/Audits.pdl:309 @@ experimental domain Audits
8+
WriteErrorInsufficientResources
9+
WriteErrorInvalidMatchField
10+
WriteErrorInvalidStructuredHeader
11+
+ WriteErrorInvalidTTLField
12+
WriteErrorNavigationRequest
13+
WriteErrorNoMatchField
14+
+ WriteErrorNonIntegerTTLField
15+
WriteErrorNonListMatchDestField
16+
WriteErrorNonSecureContext
17+
WriteErrorNonStringIdField
18+
diff --git a/pdl/domains/Page.pdl b/pdl/domains/Page.pdl
19+
index c1708696..bc07b8a2 100644
20+
--- a/pdl/domains/Page.pdl
21+
+++ b/pdl/domains/Page.pdl
22+
@@ -1768,3 +1768,14 @@ domain Page
23+
experimental command setPrerenderingAllowed
24+
parameters
25+
boolean isAllowed
26+
+
27+
+ # Enable/disable prewarming triggers manually.
28+
+ #
29+
+ # This command manages DSE Prewarming triggers. While a client is connected,
30+
+ # prewarming triggers are disabled by default. This command can change this
31+
+ # default behavior to allow the triggers, or to disallow them again.
32+
+ # See https://chromestatus.com/feature/6266608741908480 for more details on
33+
+ # the DSE Prewarming feature.
34+
+ experimental command setPrewarmingAllowed
35+
+ parameters
36+
+ boolean isAllowed
37+
```
38+
339
## Roll protocol to r1516431 — _2025-09-17T04:30:57.000Z_
4-
###### Diff: [`0cac6fd...86d499e`](https://github.com/ChromeDevTools/devtools-protocol/compare/0cac6fd...86d499e)
40+
###### Diff: [`0cac6fd...86cf20a`](https://github.com/ChromeDevTools/devtools-protocol/compare/0cac6fd...86cf20a)
541

642
```diff
743
@@ domains/Network.pdl:211 @@ domain Network
@@ -42019,21 +42055,4 @@ index d4102f5c..6285d9b6 100644
4201942055
IdTokenHttpNotFound
4202042056
IdTokenNoResponse
4202142057
IdTokenInvalidResponse
42022-
```
42023-
42024-
## Roll protocol to r1089613 — _2023-01-06T04:28:04.000Z_
42025-
###### Diff: [`6eb86f8...e97a9e4`](https://github.com/ChromeDevTools/devtools-protocol/compare/6eb86f8...e97a9e4)
42026-
42027-
```diff
42028-
@@ js_protocol.pdl:1741 @@ domain Runtime
42029-
event executionContextDestroyed
42030-
parameters
42031-
# Id of the destroyed context
42032-
- ExecutionContextId executionContextId
42033-
+ deprecated ExecutionContextId executionContextId
42034-
+ # Unique Id of the destroyed context
42035-
+ experimental string executionContextUniqueId
42036-
42037-
# Issued when all executionContexts were cleared in browser
42038-
event executionContextsCleared
4203942058
```

json/browser_protocol.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1563,8 +1563,10 @@
15631563
"WriteErrorInsufficientResources",
15641564
"WriteErrorInvalidMatchField",
15651565
"WriteErrorInvalidStructuredHeader",
1566+
"WriteErrorInvalidTTLField",
15661567
"WriteErrorNavigationRequest",
15671568
"WriteErrorNoMatchField",
1569+
"WriteErrorNonIntegerTTLField",
15681570
"WriteErrorNonListMatchDestField",
15691571
"WriteErrorNonSecureContext",
15701572
"WriteErrorNonStringIdField",
@@ -23202,6 +23204,17 @@
2320223204
"type": "boolean"
2320323205
}
2320423206
]
23207+
},
23208+
{
23209+
"name": "setPrewarmingAllowed",
23210+
"description": "Enable/disable prewarming triggers manually.\n\nThis command manages DSE Prewarming triggers. While a client is connected,\nprewarming triggers are disabled by default. This command can change this\ndefault behavior to allow the triggers, or to disallow them again.\nSee https://chromestatus.com/feature/6266608741908480 for more details on\nthe DSE Prewarming feature.",
23211+
"experimental": true,
23212+
"parameters": [
23213+
{
23214+
"name": "isAllowed",
23215+
"type": "boolean"
23216+
}
23217+
]
2320523218
}
2320623219
],
2320723220
"events": [

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

pdl/domains/Audits.pdl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,10 @@ experimental domain Audits
309309
WriteErrorInsufficientResources
310310
WriteErrorInvalidMatchField
311311
WriteErrorInvalidStructuredHeader
312+
WriteErrorInvalidTTLField
312313
WriteErrorNavigationRequest
313314
WriteErrorNoMatchField
315+
WriteErrorNonIntegerTTLField
314316
WriteErrorNonListMatchDestField
315317
WriteErrorNonSecureContext
316318
WriteErrorNonStringIdField

pdl/domains/Page.pdl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1768,3 +1768,14 @@ domain Page
17681768
experimental command setPrerenderingAllowed
17691769
parameters
17701770
boolean isAllowed
1771+
1772+
# Enable/disable prewarming triggers manually.
1773+
#
1774+
# This command manages DSE Prewarming triggers. While a client is connected,
1775+
# prewarming triggers are disabled by default. This command can change this
1776+
# default behavior to allow the triggers, or to disallow them again.
1777+
# See https://chromestatus.com/feature/6266608741908480 for more details on
1778+
# the DSE Prewarming feature.
1779+
experimental command setPrewarmingAllowed
1780+
parameters
1781+
boolean isAllowed

types/protocol-mapping.d.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5158,6 +5158,20 @@ export namespace ProtocolMapping {
51585158
paramsType: [Protocol.Page.SetPrerenderingAllowedRequest];
51595159
returnType: void;
51605160
};
5161+
/**
5162+
* Enable/disable prewarming triggers manually.
5163+
*
5164+
* This command manages DSE Prewarming triggers. While a client is connected,
5165+
* prewarming triggers are disabled by default. This command can change this
5166+
* default behavior to allow the triggers, or to disallow them again.
5167+
* See https://chromestatus.com/feature/6266608741908480 for more details on
5168+
* the DSE Prewarming feature.
5169+
* @experimental
5170+
*/
5171+
'Page.setPrewarmingAllowed': {
5172+
paramsType: [Protocol.Page.SetPrewarmingAllowedRequest];
5173+
returnType: void;
5174+
};
51615175
/**
51625176
* Disable collecting and reporting metrics.
51635177
*/

types/protocol-proxy-api.d.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4073,6 +4073,18 @@ export namespace ProtocolProxyApi {
40734073
*/
40744074
setPrerenderingAllowed(params: Protocol.Page.SetPrerenderingAllowedRequest): Promise<void>;
40754075

4076+
/**
4077+
* Enable/disable prewarming triggers manually.
4078+
*
4079+
* This command manages DSE Prewarming triggers. While a client is connected,
4080+
* prewarming triggers are disabled by default. This command can change this
4081+
* default behavior to allow the triggers, or to disallow them again.
4082+
* See https://chromestatus.com/feature/6266608741908480 for more details on
4083+
* the DSE Prewarming feature.
4084+
* @experimental
4085+
*/
4086+
setPrewarmingAllowed(params: Protocol.Page.SetPrewarmingAllowedRequest): Promise<void>;
4087+
40764088
on(event: 'domContentEventFired', listener: (params: Protocol.Page.DomContentEventFiredEvent) => void): void;
40774089

40784090
/**

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4337,6 +4337,18 @@ export namespace ProtocolTestsProxyApi {
43374337
*/
43384338
setPrerenderingAllowed(params: Protocol.Page.SetPrerenderingAllowedRequest): Promise<{id: number, result: void, sessionId: string}>;
43394339

4340+
/**
4341+
* Enable/disable prewarming triggers manually.
4342+
*
4343+
* This command manages DSE Prewarming triggers. While a client is connected,
4344+
* prewarming triggers are disabled by default. This command can change this
4345+
* default behavior to allow the triggers, or to disallow them again.
4346+
* See https://chromestatus.com/feature/6266608741908480 for more details on
4347+
* the DSE Prewarming feature.
4348+
* @experimental
4349+
*/
4350+
setPrewarmingAllowed(params: Protocol.Page.SetPrewarmingAllowedRequest): Promise<{id: number, result: void, sessionId: string}>;
4351+
43404352
onDomContentEventFired(listener: (event: { params: Protocol.Page.DomContentEventFiredEvent }) => void): void;
43414353
offDomContentEventFired(listener: (event: { params: Protocol.Page.DomContentEventFiredEvent }) => void): void;
43424354
onceDomContentEventFired(eventMatcher?: (event: { params: Protocol.Page.DomContentEventFiredEvent }) => boolean): Promise<{ params: Protocol.Page.DomContentEventFiredEvent }>;

types/protocol.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3640,7 +3640,7 @@ export namespace Protocol {
36403640

36413641
export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader' | 'SourceAndTriggerHeaders' | 'SourceIgnored' | 'TriggerIgnored' | 'OsSourceIgnored' | 'OsTriggerIgnored' | 'InvalidRegisterOsSourceHeader' | 'InvalidRegisterOsTriggerHeader' | 'WebAndOsHeaders' | 'NoWebOrOsSupport' | 'NavigationRegistrationWithoutTransientUserActivation' | 'InvalidInfoHeader' | 'NoRegisterSourceHeader' | 'NoRegisterTriggerHeader' | 'NoRegisterOsSourceHeader' | 'NoRegisterOsTriggerHeader' | 'NavigationRegistrationUniqueScopeAlreadySet');
36423642

3643-
export type SharedDictionaryError = ('UseErrorCrossOriginNoCorsRequest' | 'UseErrorDictionaryLoadFailure' | 'UseErrorMatchingDictionaryNotUsed' | 'UseErrorUnexpectedContentDictionaryHeader' | 'WriteErrorCossOriginNoCorsRequest' | 'WriteErrorDisallowedBySettings' | 'WriteErrorExpiredResponse' | 'WriteErrorFeatureDisabled' | 'WriteErrorInsufficientResources' | 'WriteErrorInvalidMatchField' | 'WriteErrorInvalidStructuredHeader' | 'WriteErrorNavigationRequest' | 'WriteErrorNoMatchField' | 'WriteErrorNonListMatchDestField' | 'WriteErrorNonSecureContext' | 'WriteErrorNonStringIdField' | 'WriteErrorNonStringInMatchDestList' | 'WriteErrorNonStringMatchField' | 'WriteErrorNonTokenTypeField' | 'WriteErrorRequestAborted' | 'WriteErrorShuttingDown' | 'WriteErrorTooLongIdField' | 'WriteErrorUnsupportedType');
3643+
export type SharedDictionaryError = ('UseErrorCrossOriginNoCorsRequest' | 'UseErrorDictionaryLoadFailure' | 'UseErrorMatchingDictionaryNotUsed' | 'UseErrorUnexpectedContentDictionaryHeader' | 'WriteErrorCossOriginNoCorsRequest' | 'WriteErrorDisallowedBySettings' | 'WriteErrorExpiredResponse' | 'WriteErrorFeatureDisabled' | 'WriteErrorInsufficientResources' | 'WriteErrorInvalidMatchField' | 'WriteErrorInvalidStructuredHeader' | 'WriteErrorInvalidTTLField' | 'WriteErrorNavigationRequest' | 'WriteErrorNoMatchField' | 'WriteErrorNonIntegerTTLField' | 'WriteErrorNonListMatchDestField' | 'WriteErrorNonSecureContext' | 'WriteErrorNonStringIdField' | 'WriteErrorNonStringInMatchDestList' | 'WriteErrorNonStringMatchField' | 'WriteErrorNonTokenTypeField' | 'WriteErrorRequestAborted' | 'WriteErrorShuttingDown' | 'WriteErrorTooLongIdField' | 'WriteErrorUnsupportedType');
36443644

36453645
export type SRIMessageSignatureError = ('MissingSignatureHeader' | 'MissingSignatureInputHeader' | 'InvalidSignatureHeader' | 'InvalidSignatureInputHeader' | 'SignatureHeaderValueIsNotByteSequence' | 'SignatureHeaderValueIsParameterized' | 'SignatureHeaderValueIsIncorrectLength' | 'SignatureInputHeaderMissingLabel' | 'SignatureInputHeaderValueNotInnerList' | 'SignatureInputHeaderValueMissingComponents' | 'SignatureInputHeaderInvalidComponentType' | 'SignatureInputHeaderInvalidComponentName' | 'SignatureInputHeaderInvalidHeaderComponentParameter' | 'SignatureInputHeaderInvalidDerivedComponentParameter' | 'SignatureInputHeaderKeyIdLength' | 'SignatureInputHeaderInvalidParameter' | 'SignatureInputHeaderMissingRequiredParameters' | 'ValidationFailedSignatureExpired' | 'ValidationFailedInvalidLength' | 'ValidationFailedSignatureMismatch' | 'ValidationFailedIntegrityMismatch');
36463646

@@ -17355,6 +17355,10 @@ export namespace Protocol {
1735517355
isAllowed: boolean;
1735617356
}
1735717357

17358+
export interface SetPrewarmingAllowedRequest {
17359+
isAllowed: boolean;
17360+
}
17361+
1735817362
export interface DomContentEventFiredEvent {
1735917363
timestamp: Network.MonotonicTime;
1736017364
}

0 commit comments

Comments
 (0)