devtools-protocol 0.0.1051614 → 0.0.1052822
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 +33 -3
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +33 -4
- package/types/protocol.d.ts +16 -2
@@ -1580,8 +1580,6 @@
|
|
1580
1580
|
"LocalCSSFileExtensionRejected",
|
1581
1581
|
"MediaSourceAbortRemove",
|
1582
1582
|
"MediaSourceDurationTruncatingBuffered",
|
1583
|
-
"NavigateEventRestoreScroll",
|
1584
|
-
"NavigateEventTransitionWhile",
|
1585
1583
|
"NoSysexWebMIDIWithoutPermission",
|
1586
1584
|
"NotificationInsecureOrigin",
|
1587
1585
|
"NotificationPermissionRequestedIframe",
|
@@ -1589,6 +1587,7 @@
|
|
1589
1587
|
"OpenWebDatabaseInsecureContext",
|
1590
1588
|
"OverflowVisibleOnReplacedElement",
|
1591
1589
|
"PaymentInstruments",
|
1590
|
+
"PaymentRequestCSPViolation",
|
1592
1591
|
"PersistentQuotaType",
|
1593
1592
|
"PictureSourceSrc",
|
1594
1593
|
"PrefixedCancelAnimationFrame",
|
@@ -11351,6 +11350,22 @@
|
|
11351
11350
|
"Signing"
|
11352
11351
|
]
|
11353
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
|
+
},
|
11354
11369
|
{
|
11355
11370
|
"id": "Response",
|
11356
11371
|
"description": "HTTP response data.",
|
@@ -11476,6 +11491,13 @@
|
|
11476
11491
|
"optional": true,
|
11477
11492
|
"type": "string"
|
11478
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
|
+
},
|
11479
11501
|
{
|
11480
11502
|
"name": "securityState",
|
11481
11503
|
"description": "Security state of the request resource.",
|
@@ -15231,6 +15253,7 @@
|
|
15231
15253
|
"ch-downlink",
|
15232
15254
|
"ch-ect",
|
15233
15255
|
"ch-prefers-color-scheme",
|
15256
|
+
"ch-prefers-reduced-motion",
|
15234
15257
|
"ch-rtt",
|
15235
15258
|
"ch-save-data",
|
15236
15259
|
"ch-ua",
|
@@ -15257,7 +15280,6 @@
|
|
15257
15280
|
"encrypted-media",
|
15258
15281
|
"execution-while-out-of-viewport",
|
15259
15282
|
"execution-while-not-rendered",
|
15260
|
-
"federated-credentials",
|
15261
15283
|
"focus-without-user-activation",
|
15262
15284
|
"fullscreen",
|
15263
15285
|
"frobulate",
|
@@ -15265,6 +15287,7 @@
|
|
15265
15287
|
"geolocation",
|
15266
15288
|
"gyroscope",
|
15267
15289
|
"hid",
|
15290
|
+
"identity-credential-get",
|
15268
15291
|
"idle-detection",
|
15269
15292
|
"interest-cohort",
|
15270
15293
|
"join-ad-interest-group",
|
@@ -19905,6 +19928,13 @@
|
|
19905
19928
|
"experimental": true,
|
19906
19929
|
"optional": true,
|
19907
19930
|
"$ref": "Browser.BrowserContextID"
|
19931
|
+
},
|
19932
|
+
{
|
19933
|
+
"name": "subtype",
|
19934
|
+
"description": "Provides additional details for specific target types. For example, for\nthe type of \"page\", this may be set to \"portal\" or \"prerender\".",
|
19935
|
+
"experimental": true,
|
19936
|
+
"optional": true,
|
19937
|
+
"type": "string"
|
19908
19938
|
}
|
19909
19939
|
]
|
19910
19940
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2017 The Chromium Authors
|
1
|
+
# Copyright 2017 The Chromium Authors
|
2
2
|
# Use of this source code is governed by a BSD-style license that can be
|
3
3
|
# found in the LICENSE file.
|
4
4
|
#
|
@@ -775,8 +775,6 @@ experimental domain Audits
|
|
775
775
|
LocalCSSFileExtensionRejected
|
776
776
|
MediaSourceAbortRemove
|
777
777
|
MediaSourceDurationTruncatingBuffered
|
778
|
-
NavigateEventRestoreScroll
|
779
|
-
NavigateEventTransitionWhile
|
780
778
|
NoSysexWebMIDIWithoutPermission
|
781
779
|
NotificationInsecureOrigin
|
782
780
|
NotificationPermissionRequestedIframe
|
@@ -784,6 +782,7 @@ experimental domain Audits
|
|
784
782
|
OpenWebDatabaseInsecureContext
|
785
783
|
OverflowVisibleOnReplacedElement
|
786
784
|
PaymentInstruments
|
785
|
+
PaymentRequestCSPViolation
|
787
786
|
PersistentQuotaType
|
788
787
|
PictureSourceSrc
|
789
788
|
PrefixedCancelAnimationFrame
|
@@ -5257,6 +5256,30 @@ domain Network
|
|
5257
5256
|
# Type "send-redemption-record" in the Trust Token API.
|
5258
5257
|
Signing
|
5259
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
|
+
|
5260
5283
|
# HTTP response data.
|
5261
5284
|
type Response extends object
|
5262
5285
|
properties
|
@@ -5302,6 +5325,8 @@ domain Network
|
|
5302
5325
|
optional string cacheStorageCacheName
|
5303
5326
|
# Protocol used to fetch this request.
|
5304
5327
|
optional string protocol
|
5328
|
+
# The reason why Chrome uses a specific transport protocol for HTTP semantics.
|
5329
|
+
experimental optional AlternateProtocolUsage alternateProtocolUsage
|
5305
5330
|
# Security state of the request resource.
|
5306
5331
|
Security.SecurityState securityState
|
5307
5332
|
# Security details for the request.
|
@@ -7107,6 +7132,7 @@ domain Page
|
|
7107
7132
|
ch-downlink
|
7108
7133
|
ch-ect
|
7109
7134
|
ch-prefers-color-scheme
|
7135
|
+
ch-prefers-reduced-motion
|
7110
7136
|
ch-rtt
|
7111
7137
|
ch-save-data
|
7112
7138
|
ch-ua
|
@@ -7133,7 +7159,6 @@ domain Page
|
|
7133
7159
|
encrypted-media
|
7134
7160
|
execution-while-out-of-viewport
|
7135
7161
|
execution-while-not-rendered
|
7136
|
-
federated-credentials
|
7137
7162
|
focus-without-user-activation
|
7138
7163
|
fullscreen
|
7139
7164
|
frobulate
|
@@ -7141,6 +7166,7 @@ domain Page
|
|
7141
7166
|
geolocation
|
7142
7167
|
gyroscope
|
7143
7168
|
hid
|
7169
|
+
identity-credential-get
|
7144
7170
|
idle-detection
|
7145
7171
|
interest-cohort
|
7146
7172
|
join-ad-interest-group
|
@@ -9361,6 +9387,9 @@ domain Target
|
|
9361
9387
|
# Frame id of originating window (is only set if target has an opener).
|
9362
9388
|
experimental optional Page.FrameId openerFrameId
|
9363
9389
|
experimental optional Browser.BrowserContextID browserContextId
|
9390
|
+
# Provides additional details for specific target types. For example, for
|
9391
|
+
# the type of "page", this may be set to "portal" or "prerender".
|
9392
|
+
experimental optional string subtype
|
9364
9393
|
|
9365
9394
|
# A filter used by target query/discovery/auto-attach operations.
|
9366
9395
|
experimental type FilterEntry extends object
|
package/types/protocol.d.ts
CHANGED
@@ -3490,7 +3490,7 @@ export namespace Protocol {
|
|
3490
3490
|
frameId?: Page.FrameId;
|
3491
3491
|
}
|
3492
3492
|
|
3493
|
-
export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'CanRequestURLHTTPContainingNewline' | 'ChromeLoadTimesConnectionInfo' | 'ChromeLoadTimesFirstPaintAfterLoadTime' | 'ChromeLoadTimesWasAlternateProtocolAvailable' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'CSSSelectorInternalMediaControlsOverlayCastButton' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'EventPath' | 'ExpectCTHeader' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'HostCandidateAttributeGetter' | 'IdentityInCanMakePaymentEvent' | 'InsecurePrivateNetworkSubresourceRequest' | 'LocalCSSFileExtensionRejected' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | '
|
3493
|
+
export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'CanRequestURLHTTPContainingNewline' | 'ChromeLoadTimesConnectionInfo' | 'ChromeLoadTimesFirstPaintAfterLoadTime' | 'ChromeLoadTimesWasAlternateProtocolAvailable' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'CSSSelectorInternalMediaControlsOverlayCastButton' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'EventPath' | 'ExpectCTHeader' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'HostCandidateAttributeGetter' | 'IdentityInCanMakePaymentEvent' | 'InsecurePrivateNetworkSubresourceRequest' | 'LocalCSSFileExtensionRejected' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | 'NoSysexWebMIDIWithoutPermission' | 'NotificationInsecureOrigin' | 'NotificationPermissionRequestedIframe' | 'ObsoleteWebRtcCipherSuite' | 'OpenWebDatabaseInsecureContext' | 'OverflowVisibleOnReplacedElement' | 'PaymentInstruments' | 'PaymentRequestCSPViolation' | 'PersistentQuotaType' | 'PictureSourceSrc' | 'PrefixedCancelAnimationFrame' | 'PrefixedRequestAnimationFrame' | 'PrefixedStorageInfo' | 'PrefixedVideoDisplayingFullscreen' | 'PrefixedVideoEnterFullscreen' | 'PrefixedVideoEnterFullScreen' | 'PrefixedVideoExitFullscreen' | 'PrefixedVideoExitFullScreen' | 'PrefixedVideoSupportsFullscreen' | 'RangeExpand' | 'RequestedSubresourceWithEmbeddedCredentials' | 'RTCConstraintEnableDtlsSrtpFalse' | 'RTCConstraintEnableDtlsSrtpTrue' | 'RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics' | 'RTCPeerConnectionSdpSemanticsPlanB' | 'RtcpMuxPolicyNegotiate' | 'SharedArrayBufferConstructedWithoutIsolation' | 'TextToSpeech_DisallowedByAutoplay' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | 'XHRJSONEncodingDetection' | 'XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload' | 'XRSupportsSession');
|
3494
3494
|
|
3495
3495
|
/**
|
3496
3496
|
* This issue tracks information needed to print a deprecation message.
|
@@ -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.
|
@@ -15100,6 +15109,11 @@ export namespace Protocol {
|
|
15100
15109
|
*/
|
15101
15110
|
openerFrameId?: Page.FrameId;
|
15102
15111
|
browserContextId?: Browser.BrowserContextID;
|
15112
|
+
/**
|
15113
|
+
* Provides additional details for specific target types. For example, for
|
15114
|
+
* the type of "page", this may be set to "portal" or "prerender".
|
15115
|
+
*/
|
15116
|
+
subtype?: string;
|
15103
15117
|
}
|
15104
15118
|
|
15105
15119
|
/**
|