devtools-protocol 0.0.1052219 → 0.0.1055124
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 +27 -2
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +29 -1
- package/types/protocol.d.ts +11 -2
@@ -11350,6 +11350,22 @@
|
|
11350
11350
|
"Signing"
|
11351
11351
|
]
|
11352
11352
|
},
|
11353
|
+
{
|
11354
|
+
"id": "AlternateProtocolUsage",
|
11355
|
+
"description": "The reason why Chrome uses a specific transport protocol for HTTP semantics.",
|
11356
|
+
"experimental": true,
|
11357
|
+
"type": "string",
|
11358
|
+
"enum": [
|
11359
|
+
"alternativeJobWonWithoutRace",
|
11360
|
+
"alternativeJobWonRace",
|
11361
|
+
"mainJobWonRace",
|
11362
|
+
"mappingMissing",
|
11363
|
+
"broken",
|
11364
|
+
"dnsAlpnH3JobWonWithoutRace",
|
11365
|
+
"dnsAlpnH3JobWonRace",
|
11366
|
+
"unspecifiedReason"
|
11367
|
+
]
|
11368
|
+
},
|
11353
11369
|
{
|
11354
11370
|
"id": "Response",
|
11355
11371
|
"description": "HTTP response data.",
|
@@ -11475,6 +11491,13 @@
|
|
11475
11491
|
"optional": true,
|
11476
11492
|
"type": "string"
|
11477
11493
|
},
|
11494
|
+
{
|
11495
|
+
"name": "alternateProtocolUsage",
|
11496
|
+
"description": "The reason why Chrome uses a specific transport protocol for HTTP semantics.",
|
11497
|
+
"experimental": true,
|
11498
|
+
"optional": true,
|
11499
|
+
"$ref": "AlternateProtocolUsage"
|
11500
|
+
},
|
11478
11501
|
{
|
11479
11502
|
"name": "securityState",
|
11480
11503
|
"description": "Security state of the request resource.",
|
@@ -15230,6 +15253,7 @@
|
|
15230
15253
|
"ch-downlink",
|
15231
15254
|
"ch-ect",
|
15232
15255
|
"ch-prefers-color-scheme",
|
15256
|
+
"ch-prefers-reduced-motion",
|
15233
15257
|
"ch-rtt",
|
15234
15258
|
"ch-save-data",
|
15235
15259
|
"ch-ua",
|
@@ -15256,7 +15280,6 @@
|
|
15256
15280
|
"encrypted-media",
|
15257
15281
|
"execution-while-out-of-viewport",
|
15258
15282
|
"execution-while-not-rendered",
|
15259
|
-
"federated-credentials",
|
15260
15283
|
"focus-without-user-activation",
|
15261
15284
|
"fullscreen",
|
15262
15285
|
"frobulate",
|
@@ -15264,6 +15287,7 @@
|
|
15264
15287
|
"geolocation",
|
15265
15288
|
"gyroscope",
|
15266
15289
|
"hid",
|
15290
|
+
"identity-credential-get",
|
15267
15291
|
"idle-detection",
|
15268
15292
|
"interest-cohort",
|
15269
15293
|
"join-ad-interest-group",
|
@@ -16334,7 +16358,8 @@
|
|
16334
16358
|
"HasEffectiveUrl",
|
16335
16359
|
"ActivatedBeforeStarted",
|
16336
16360
|
"InactivePageRestriction",
|
16337
|
-
"StartFailed"
|
16361
|
+
"StartFailed",
|
16362
|
+
"TimeoutBackgrounded"
|
16338
16363
|
]
|
16339
16364
|
}
|
16340
16365
|
],
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -5256,6 +5256,30 @@ domain Network
|
|
5256
5256
|
# Type "send-redemption-record" in the Trust Token API.
|
5257
5257
|
Signing
|
5258
5258
|
|
5259
|
+
# The reason why Chrome uses a specific transport protocol for HTTP semantics.
|
5260
|
+
experimental type AlternateProtocolUsage extends string
|
5261
|
+
enum
|
5262
|
+
# Alternate Protocol was used without racing a normal connection.
|
5263
|
+
alternativeJobWonWithoutRace
|
5264
|
+
# Alternate Protocol was used by winning a race with a normal connection.
|
5265
|
+
alternativeJobWonRace
|
5266
|
+
# Alternate Protocol was not used by losing a race with a normal connection.
|
5267
|
+
mainJobWonRace
|
5268
|
+
# Alternate Protocol was not used because no Alternate-Protocol information
|
5269
|
+
# was available when the request was issued, but an Alternate-Protocol header
|
5270
|
+
# was present in the response.
|
5271
|
+
mappingMissing
|
5272
|
+
# Alternate Protocol was not used because it was marked broken.
|
5273
|
+
broken
|
5274
|
+
# HTTPS DNS protocol upgrade job was used without racing with a normal
|
5275
|
+
# connection and an Alternate Protocol job.
|
5276
|
+
dnsAlpnH3JobWonWithoutRace
|
5277
|
+
# HTTPS DNS protocol upgrade job won a race with a normal connection and
|
5278
|
+
# an Alternate Protocol job.
|
5279
|
+
dnsAlpnH3JobWonRace
|
5280
|
+
# When the reason is unspecified.
|
5281
|
+
unspecifiedReason
|
5282
|
+
|
5259
5283
|
# HTTP response data.
|
5260
5284
|
type Response extends object
|
5261
5285
|
properties
|
@@ -5301,6 +5325,8 @@ domain Network
|
|
5301
5325
|
optional string cacheStorageCacheName
|
5302
5326
|
# Protocol used to fetch this request.
|
5303
5327
|
optional string protocol
|
5328
|
+
# The reason why Chrome uses a specific transport protocol for HTTP semantics.
|
5329
|
+
experimental optional AlternateProtocolUsage alternateProtocolUsage
|
5304
5330
|
# Security state of the request resource.
|
5305
5331
|
Security.SecurityState securityState
|
5306
5332
|
# Security details for the request.
|
@@ -7106,6 +7132,7 @@ domain Page
|
|
7106
7132
|
ch-downlink
|
7107
7133
|
ch-ect
|
7108
7134
|
ch-prefers-color-scheme
|
7135
|
+
ch-prefers-reduced-motion
|
7109
7136
|
ch-rtt
|
7110
7137
|
ch-save-data
|
7111
7138
|
ch-ua
|
@@ -7132,7 +7159,6 @@ domain Page
|
|
7132
7159
|
encrypted-media
|
7133
7160
|
execution-while-out-of-viewport
|
7134
7161
|
execution-while-not-rendered
|
7135
|
-
federated-credentials
|
7136
7162
|
focus-without-user-activation
|
7137
7163
|
fullscreen
|
7138
7164
|
frobulate
|
@@ -7140,6 +7166,7 @@ domain Page
|
|
7140
7166
|
geolocation
|
7141
7167
|
gyroscope
|
7142
7168
|
hid
|
7169
|
+
identity-credential-get
|
7143
7170
|
idle-detection
|
7144
7171
|
interest-cohort
|
7145
7172
|
join-ad-interest-group
|
@@ -8468,6 +8495,7 @@ domain Page
|
|
8468
8495
|
ActivatedBeforeStarted
|
8469
8496
|
InactivePageRestriction
|
8470
8497
|
StartFailed
|
8498
|
+
TimeoutBackgrounded
|
8471
8499
|
|
8472
8500
|
# Fired when a prerender attempt is completed.
|
8473
8501
|
experimental event prerenderAttemptCompleted
|
package/types/protocol.d.ts
CHANGED
@@ -9729,6 +9729,11 @@ export namespace Protocol {
|
|
9729
9729
|
|
9730
9730
|
export type TrustTokenOperationType = ('Issuance' | 'Redemption' | 'Signing');
|
9731
9731
|
|
9732
|
+
/**
|
9733
|
+
* The reason why Chrome uses a specific transport protocol for HTTP semantics.
|
9734
|
+
*/
|
9735
|
+
export type AlternateProtocolUsage = ('alternativeJobWonWithoutRace' | 'alternativeJobWonRace' | 'mainJobWonRace' | 'mappingMissing' | 'broken' | 'dnsAlpnH3JobWonWithoutRace' | 'dnsAlpnH3JobWonRace' | 'unspecifiedReason');
|
9736
|
+
|
9732
9737
|
/**
|
9733
9738
|
* HTTP response data.
|
9734
9739
|
*/
|
@@ -9817,6 +9822,10 @@ export namespace Protocol {
|
|
9817
9822
|
* Protocol used to fetch this request.
|
9818
9823
|
*/
|
9819
9824
|
protocol?: string;
|
9825
|
+
/**
|
9826
|
+
* The reason why Chrome uses a specific transport protocol for HTTP semantics.
|
9827
|
+
*/
|
9828
|
+
alternateProtocolUsage?: AlternateProtocolUsage;
|
9820
9829
|
/**
|
9821
9830
|
* Security state of the request resource.
|
9822
9831
|
*/
|
@@ -12333,7 +12342,7 @@ export namespace Protocol {
|
|
12333
12342
|
* All Permissions Policy features. This enum should match the one defined
|
12334
12343
|
* in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
12335
12344
|
*/
|
12336
|
-
export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-reduced' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | '
|
12345
|
+
export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-reduced' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credential-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'storage-access' | 'sync-xhr' | 'trust-token-redemption' | 'unload' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-placement' | 'xr-spatial-tracking');
|
12337
12346
|
|
12338
12347
|
/**
|
12339
12348
|
* Reason for a permissions policy feature to be disabled.
|
@@ -12874,7 +12883,7 @@ export namespace Protocol {
|
|
12874
12883
|
/**
|
12875
12884
|
* List of FinalStatus reasons for Prerender2.
|
12876
12885
|
*/
|
12877
|
-
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'CrossOriginRedirect' | 'CrossOriginNavigation' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed');
|
12886
|
+
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'CrossOriginRedirect' | 'CrossOriginNavigation' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded');
|
12878
12887
|
|
12879
12888
|
export interface AddScriptToEvaluateOnLoadRequest {
|
12880
12889
|
scriptSource: string;
|