devtools-protocol 0.0.1714151 → 0.0.1717327
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 +21 -2
- package/package.json +1 -1
- package/pdl/domains/IO.pdl +1 -1
- package/pdl/domains/Network.pdl +3 -0
- package/pdl/domains/Page.pdl +7 -4
- package/types/protocol-mapping.d.ts +9 -0
- package/types/protocol-proxy-api.d.ts +7 -0
- package/types/protocol-tests-proxy-api.d.ts +7 -0
- package/types/protocol.d.ts +14 -1
|
@@ -13570,6 +13570,7 @@
|
|
|
13570
13570
|
{
|
|
13571
13571
|
"name": "resolveBlob",
|
|
13572
13572
|
"description": "Return UUID of Blob object specified by a remote object id.",
|
|
13573
|
+
"deprecated": true,
|
|
13573
13574
|
"parameters": [
|
|
13574
13575
|
{
|
|
13575
13576
|
"name": "objectId",
|
|
@@ -19456,6 +19457,13 @@
|
|
|
19456
19457
|
"name": "encodedDataLength",
|
|
19457
19458
|
"description": "Total number of bytes received for this request.",
|
|
19458
19459
|
"type": "number"
|
|
19460
|
+
},
|
|
19461
|
+
{
|
|
19462
|
+
"name": "encodedBodyLength",
|
|
19463
|
+
"description": "Size of the response body before removing content encodings.\nIncludes cached bodies, but excludes headers and transfer framing.",
|
|
19464
|
+
"experimental": true,
|
|
19465
|
+
"optional": true,
|
|
19466
|
+
"type": "number"
|
|
19459
19467
|
}
|
|
19460
19468
|
]
|
|
19461
19469
|
},
|
|
@@ -22137,8 +22145,6 @@
|
|
|
22137
22145
|
"rewriter",
|
|
22138
22146
|
"screen-wake-lock",
|
|
22139
22147
|
"serial",
|
|
22140
|
-
"shared-storage",
|
|
22141
|
-
"shared-storage-select-url",
|
|
22142
22148
|
"smart-card",
|
|
22143
22149
|
"speaker-selection",
|
|
22144
22150
|
"storage-access",
|
|
@@ -25052,6 +25058,19 @@
|
|
|
25052
25058
|
"type": "string"
|
|
25053
25059
|
}
|
|
25054
25060
|
]
|
|
25061
|
+
},
|
|
25062
|
+
{
|
|
25063
|
+
"name": "setInputVisualization",
|
|
25064
|
+
"description": "Configures input visualization on the page.",
|
|
25065
|
+
"experimental": true,
|
|
25066
|
+
"parameters": [
|
|
25067
|
+
{
|
|
25068
|
+
"name": "clicks",
|
|
25069
|
+
"description": "Whether to enable click visualization.",
|
|
25070
|
+
"optional": true,
|
|
25071
|
+
"type": "boolean"
|
|
25072
|
+
}
|
|
25073
|
+
]
|
|
25055
25074
|
}
|
|
25056
25075
|
],
|
|
25057
25076
|
"events": [
|
package/package.json
CHANGED
package/pdl/domains/IO.pdl
CHANGED
package/pdl/domains/Network.pdl
CHANGED
|
@@ -1300,6 +1300,9 @@ domain Network
|
|
|
1300
1300
|
MonotonicTime timestamp
|
|
1301
1301
|
# Total number of bytes received for this request.
|
|
1302
1302
|
number encodedDataLength
|
|
1303
|
+
# Size of the response body before removing content encodings.
|
|
1304
|
+
# Includes cached bodies, but excludes headers and transfer framing.
|
|
1305
|
+
experimental optional number encodedBodyLength
|
|
1303
1306
|
|
|
1304
1307
|
# Fired if request ended up loading from cache.
|
|
1305
1308
|
event requestServedFromCache
|
package/pdl/domains/Page.pdl
CHANGED
|
@@ -156,10 +156,6 @@ domain Page
|
|
|
156
156
|
rewriter
|
|
157
157
|
screen-wake-lock
|
|
158
158
|
serial
|
|
159
|
-
# Deprecated.
|
|
160
|
-
shared-storage
|
|
161
|
-
# Deprecated.
|
|
162
|
-
shared-storage-select-url
|
|
163
159
|
smart-card
|
|
164
160
|
speaker-selection
|
|
165
161
|
storage-access
|
|
@@ -1831,3 +1827,10 @@ domain Page
|
|
|
1831
1827
|
# The format is defined by the `AnnotatedPageContent` message in
|
|
1832
1828
|
# components/optimization_guide/proto/features/common_quality_data.proto
|
|
1833
1829
|
binary content
|
|
1830
|
+
|
|
1831
|
+
# Configures input visualization on the page.
|
|
1832
|
+
experimental command setInputVisualization
|
|
1833
|
+
parameters
|
|
1834
|
+
# Whether to enable click visualization.
|
|
1835
|
+
optional boolean clicks
|
|
1836
|
+
|
|
@@ -3970,6 +3970,7 @@ export namespace ProtocolMapping {
|
|
|
3970
3970
|
};
|
|
3971
3971
|
/**
|
|
3972
3972
|
* Return UUID of Blob object specified by a remote object id.
|
|
3973
|
+
* @deprecated
|
|
3973
3974
|
*/
|
|
3974
3975
|
'IO.resolveBlob': {
|
|
3975
3976
|
paramsType: [Protocol.IO.ResolveBlobRequest];
|
|
@@ -5481,6 +5482,14 @@ export namespace ProtocolMapping {
|
|
|
5481
5482
|
paramsType: [Protocol.Page.GetAnnotatedPageContentRequest?];
|
|
5482
5483
|
returnType: Protocol.Page.GetAnnotatedPageContentResponse;
|
|
5483
5484
|
};
|
|
5485
|
+
/**
|
|
5486
|
+
* Configures input visualization on the page.
|
|
5487
|
+
* @experimental
|
|
5488
|
+
*/
|
|
5489
|
+
'Page.setInputVisualization': {
|
|
5490
|
+
paramsType: [Protocol.Page.SetInputVisualizationRequest?];
|
|
5491
|
+
returnType: void;
|
|
5492
|
+
};
|
|
5484
5493
|
/**
|
|
5485
5494
|
* Disable collecting and reporting metrics.
|
|
5486
5495
|
*/
|
|
@@ -2774,6 +2774,7 @@ export namespace ProtocolProxyApi {
|
|
|
2774
2774
|
|
|
2775
2775
|
/**
|
|
2776
2776
|
* Return UUID of Blob object specified by a remote object id.
|
|
2777
|
+
* @deprecated
|
|
2777
2778
|
*/
|
|
2778
2779
|
resolveBlob(params: Protocol.IO.ResolveBlobRequest): Promise<Protocol.IO.ResolveBlobResponse>;
|
|
2779
2780
|
|
|
@@ -4281,6 +4282,12 @@ export namespace ProtocolProxyApi {
|
|
|
4281
4282
|
*/
|
|
4282
4283
|
getAnnotatedPageContent(params: Protocol.Page.GetAnnotatedPageContentRequest): Promise<Protocol.Page.GetAnnotatedPageContentResponse>;
|
|
4283
4284
|
|
|
4285
|
+
/**
|
|
4286
|
+
* Configures input visualization on the page.
|
|
4287
|
+
* @experimental
|
|
4288
|
+
*/
|
|
4289
|
+
setInputVisualization(params: Protocol.Page.SetInputVisualizationRequest): Promise<void>;
|
|
4290
|
+
|
|
4284
4291
|
on(event: 'domContentEventFired', listener: (params: Protocol.Page.DomContentEventFiredEvent) => void): void;
|
|
4285
4292
|
|
|
4286
4293
|
/**
|
|
@@ -2924,6 +2924,7 @@ export namespace ProtocolTestsProxyApi {
|
|
|
2924
2924
|
|
|
2925
2925
|
/**
|
|
2926
2926
|
* Return UUID of Blob object specified by a remote object id.
|
|
2927
|
+
* @deprecated
|
|
2927
2928
|
*/
|
|
2928
2929
|
resolveBlob(params: Protocol.IO.ResolveBlobRequest): Promise<{id: number, result: Protocol.IO.ResolveBlobResponse, sessionId: string}>;
|
|
2929
2930
|
|
|
@@ -4555,6 +4556,12 @@ export namespace ProtocolTestsProxyApi {
|
|
|
4555
4556
|
*/
|
|
4556
4557
|
getAnnotatedPageContent(params: Protocol.Page.GetAnnotatedPageContentRequest): Promise<{id: number, result: Protocol.Page.GetAnnotatedPageContentResponse, sessionId: string}>;
|
|
4557
4558
|
|
|
4559
|
+
/**
|
|
4560
|
+
* Configures input visualization on the page.
|
|
4561
|
+
* @experimental
|
|
4562
|
+
*/
|
|
4563
|
+
setInputVisualization(params: Protocol.Page.SetInputVisualizationRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
4564
|
+
|
|
4558
4565
|
onDomContentEventFired(listener: (event: { params: Protocol.Page.DomContentEventFiredEvent }) => void): void;
|
|
4559
4566
|
offDomContentEventFired(listener: (event: { params: Protocol.Page.DomContentEventFiredEvent }) => void): void;
|
|
4560
4567
|
onceDomContentEventFired(eventMatcher?: (event: { params: Protocol.Page.DomContentEventFiredEvent }) => boolean): Promise<{ params: Protocol.Page.DomContentEventFiredEvent }>;
|
package/types/protocol.d.ts
CHANGED
|
@@ -15121,6 +15121,12 @@ export namespace Protocol {
|
|
|
15121
15121
|
* Total number of bytes received for this request.
|
|
15122
15122
|
*/
|
|
15123
15123
|
encodedDataLength: number;
|
|
15124
|
+
/**
|
|
15125
|
+
* Size of the response body before removing content encodings.
|
|
15126
|
+
* Includes cached bodies, but excludes headers and transfer framing.
|
|
15127
|
+
* @experimental
|
|
15128
|
+
*/
|
|
15129
|
+
encodedBodyLength?: number;
|
|
15124
15130
|
}
|
|
15125
15131
|
|
|
15126
15132
|
/**
|
|
@@ -16872,7 +16878,7 @@ export namespace Protocol {
|
|
|
16872
16878
|
* in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
|
|
16873
16879
|
* @experimental
|
|
16874
16880
|
*/
|
|
16875
|
-
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'autofill' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-multicast' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'haptics' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'magnetometer' | 'manual-text' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'publickey-credentials-remote-client-data-json' | 'rewriter' | 'screen-wake-lock' | 'serial' | '
|
|
16881
|
+
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'autofill' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-multicast' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'haptics' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'magnetometer' | 'manual-text' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'publickey-credentials-remote-client-data-json' | 'rewriter' | 'screen-wake-lock' | 'serial' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'tools' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'webnn' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
|
|
16876
16882
|
|
|
16877
16883
|
/**
|
|
16878
16884
|
* Reason for a permissions policy feature to be disabled.
|
|
@@ -18582,6 +18588,13 @@ export namespace Protocol {
|
|
|
18582
18588
|
content: string;
|
|
18583
18589
|
}
|
|
18584
18590
|
|
|
18591
|
+
export interface SetInputVisualizationRequest {
|
|
18592
|
+
/**
|
|
18593
|
+
* Whether to enable click visualization.
|
|
18594
|
+
*/
|
|
18595
|
+
clicks?: boolean;
|
|
18596
|
+
}
|
|
18597
|
+
|
|
18585
18598
|
export interface DomContentEventFiredEvent {
|
|
18586
18599
|
timestamp: Network.MonotonicTime;
|
|
18587
18600
|
}
|