devtools-protocol 0.0.1516431 → 0.0.1517051
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/json/browser_protocol.json +13 -0
- package/package.json +1 -1
- package/pdl/domains/Audits.pdl +2 -0
- package/pdl/domains/Page.pdl +11 -0
- package/types/protocol-mapping.d.ts +14 -0
- package/types/protocol-proxy-api.d.ts +12 -0
- package/types/protocol-tests-proxy-api.d.ts +12 -0
- package/types/protocol.d.ts +5 -1
@@ -1563,8 +1563,10 @@
|
|
1563
1563
|
"WriteErrorInsufficientResources",
|
1564
1564
|
"WriteErrorInvalidMatchField",
|
1565
1565
|
"WriteErrorInvalidStructuredHeader",
|
1566
|
+
"WriteErrorInvalidTTLField",
|
1566
1567
|
"WriteErrorNavigationRequest",
|
1567
1568
|
"WriteErrorNoMatchField",
|
1569
|
+
"WriteErrorNonIntegerTTLField",
|
1568
1570
|
"WriteErrorNonListMatchDestField",
|
1569
1571
|
"WriteErrorNonSecureContext",
|
1570
1572
|
"WriteErrorNonStringIdField",
|
@@ -23202,6 +23204,17 @@
|
|
23202
23204
|
"type": "boolean"
|
23203
23205
|
}
|
23204
23206
|
]
|
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
|
+
]
|
23205
23218
|
}
|
23206
23219
|
],
|
23207
23220
|
"events": [
|
package/package.json
CHANGED
package/pdl/domains/Audits.pdl
CHANGED
@@ -309,8 +309,10 @@ experimental domain Audits
|
|
309
309
|
WriteErrorInsufficientResources
|
310
310
|
WriteErrorInvalidMatchField
|
311
311
|
WriteErrorInvalidStructuredHeader
|
312
|
+
WriteErrorInvalidTTLField
|
312
313
|
WriteErrorNavigationRequest
|
313
314
|
WriteErrorNoMatchField
|
315
|
+
WriteErrorNonIntegerTTLField
|
314
316
|
WriteErrorNonListMatchDestField
|
315
317
|
WriteErrorNonSecureContext
|
316
318
|
WriteErrorNonStringIdField
|
package/pdl/domains/Page.pdl
CHANGED
@@ -1768,3 +1768,14 @@ domain Page
|
|
1768
1768
|
experimental command setPrerenderingAllowed
|
1769
1769
|
parameters
|
1770
1770
|
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
|
@@ -5158,6 +5158,20 @@ export namespace ProtocolMapping {
|
|
5158
5158
|
paramsType: [Protocol.Page.SetPrerenderingAllowedRequest];
|
5159
5159
|
returnType: void;
|
5160
5160
|
};
|
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
|
+
};
|
5161
5175
|
/**
|
5162
5176
|
* Disable collecting and reporting metrics.
|
5163
5177
|
*/
|
@@ -4073,6 +4073,18 @@ export namespace ProtocolProxyApi {
|
|
4073
4073
|
*/
|
4074
4074
|
setPrerenderingAllowed(params: Protocol.Page.SetPrerenderingAllowedRequest): Promise<void>;
|
4075
4075
|
|
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
|
+
|
4076
4088
|
on(event: 'domContentEventFired', listener: (params: Protocol.Page.DomContentEventFiredEvent) => void): void;
|
4077
4089
|
|
4078
4090
|
/**
|
@@ -4337,6 +4337,18 @@ export namespace ProtocolTestsProxyApi {
|
|
4337
4337
|
*/
|
4338
4338
|
setPrerenderingAllowed(params: Protocol.Page.SetPrerenderingAllowedRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4339
4339
|
|
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
|
+
|
4340
4352
|
onDomContentEventFired(listener: (event: { params: Protocol.Page.DomContentEventFiredEvent }) => void): void;
|
4341
4353
|
offDomContentEventFired(listener: (event: { params: Protocol.Page.DomContentEventFiredEvent }) => void): void;
|
4342
4354
|
onceDomContentEventFired(eventMatcher?: (event: { params: Protocol.Page.DomContentEventFiredEvent }) => boolean): Promise<{ params: Protocol.Page.DomContentEventFiredEvent }>;
|
package/types/protocol.d.ts
CHANGED
@@ -3640,7 +3640,7 @@ export namespace Protocol {
|
|
3640
3640
|
|
3641
3641
|
export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader' | 'SourceAndTriggerHeaders' | 'SourceIgnored' | 'TriggerIgnored' | 'OsSourceIgnored' | 'OsTriggerIgnored' | 'InvalidRegisterOsSourceHeader' | 'InvalidRegisterOsTriggerHeader' | 'WebAndOsHeaders' | 'NoWebOrOsSupport' | 'NavigationRegistrationWithoutTransientUserActivation' | 'InvalidInfoHeader' | 'NoRegisterSourceHeader' | 'NoRegisterTriggerHeader' | 'NoRegisterOsSourceHeader' | 'NoRegisterOsTriggerHeader' | 'NavigationRegistrationUniqueScopeAlreadySet');
|
3642
3642
|
|
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');
|
3644
3644
|
|
3645
3645
|
export type SRIMessageSignatureError = ('MissingSignatureHeader' | 'MissingSignatureInputHeader' | 'InvalidSignatureHeader' | 'InvalidSignatureInputHeader' | 'SignatureHeaderValueIsNotByteSequence' | 'SignatureHeaderValueIsParameterized' | 'SignatureHeaderValueIsIncorrectLength' | 'SignatureInputHeaderMissingLabel' | 'SignatureInputHeaderValueNotInnerList' | 'SignatureInputHeaderValueMissingComponents' | 'SignatureInputHeaderInvalidComponentType' | 'SignatureInputHeaderInvalidComponentName' | 'SignatureInputHeaderInvalidHeaderComponentParameter' | 'SignatureInputHeaderInvalidDerivedComponentParameter' | 'SignatureInputHeaderKeyIdLength' | 'SignatureInputHeaderInvalidParameter' | 'SignatureInputHeaderMissingRequiredParameters' | 'ValidationFailedSignatureExpired' | 'ValidationFailedInvalidLength' | 'ValidationFailedSignatureMismatch' | 'ValidationFailedIntegrityMismatch');
|
3646
3646
|
|
@@ -17355,6 +17355,10 @@ export namespace Protocol {
|
|
17355
17355
|
isAllowed: boolean;
|
17356
17356
|
}
|
17357
17357
|
|
17358
|
+
export interface SetPrewarmingAllowedRequest {
|
17359
|
+
isAllowed: boolean;
|
17360
|
+
}
|
17361
|
+
|
17358
17362
|
export interface DomContentEventFiredEvent {
|
17359
17363
|
timestamp: Network.MonotonicTime;
|
17360
17364
|
}
|