devtools-protocol 0.0.1541592 → 0.0.1545402
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 +1 -48
- package/package.json +1 -1
- package/pdl/domains/Network.pdl +0 -28
- package/pdl/domains/Page.pdl +0 -1
- package/pdl/domains/Target.pdl +2 -1
- package/types/protocol-mapping.d.ts +0 -17
- package/types/protocol-proxy-api.d.ts +0 -13
- package/types/protocol-tests-proxy-api.d.ts +0 -13
- package/types/protocol.d.ts +3 -29
|
@@ -15472,21 +15472,6 @@
|
|
|
15472
15472
|
"sri-message-signature-mismatch"
|
|
15473
15473
|
]
|
|
15474
15474
|
},
|
|
15475
|
-
{
|
|
15476
|
-
"id": "IpProxyStatus",
|
|
15477
|
-
"description": "Sets Controls for IP Proxy of requests.\nPage reload is required before the new behavior will be observed.",
|
|
15478
|
-
"experimental": true,
|
|
15479
|
-
"type": "string",
|
|
15480
|
-
"enum": [
|
|
15481
|
-
"Available",
|
|
15482
|
-
"FeatureNotEnabled",
|
|
15483
|
-
"MaskedDomainListNotEnabled",
|
|
15484
|
-
"MaskedDomainListNotPopulated",
|
|
15485
|
-
"AuthTokensUnavailable",
|
|
15486
|
-
"Unavailable",
|
|
15487
|
-
"BypassedByDevTools"
|
|
15488
|
-
]
|
|
15489
|
-
},
|
|
15490
15475
|
{
|
|
15491
15476
|
"id": "CorsError",
|
|
15492
15477
|
"description": "The reason why request was blocked.",
|
|
@@ -15807,13 +15792,6 @@
|
|
|
15807
15792
|
"description": "Security details for the request.",
|
|
15808
15793
|
"optional": true,
|
|
15809
15794
|
"$ref": "SecurityDetails"
|
|
15810
|
-
},
|
|
15811
|
-
{
|
|
15812
|
-
"name": "isIpProtectionUsed",
|
|
15813
|
-
"description": "Indicates whether the request was sent through IP Protection proxies. If\nset to true, the request used the IP Protection privacy feature.",
|
|
15814
|
-
"experimental": true,
|
|
15815
|
-
"optional": true,
|
|
15816
|
-
"type": "boolean"
|
|
15817
15795
|
}
|
|
15818
15796
|
]
|
|
15819
15797
|
},
|
|
@@ -17120,30 +17098,6 @@
|
|
|
17120
17098
|
}
|
|
17121
17099
|
],
|
|
17122
17100
|
"commands": [
|
|
17123
|
-
{
|
|
17124
|
-
"name": "getIPProtectionProxyStatus",
|
|
17125
|
-
"description": "Returns enum representing if IP Proxy of requests is available\nor reason it is not active.",
|
|
17126
|
-
"experimental": true,
|
|
17127
|
-
"returns": [
|
|
17128
|
-
{
|
|
17129
|
-
"name": "status",
|
|
17130
|
-
"description": "Whether IP proxy is available",
|
|
17131
|
-
"$ref": "IpProxyStatus"
|
|
17132
|
-
}
|
|
17133
|
-
]
|
|
17134
|
-
},
|
|
17135
|
-
{
|
|
17136
|
-
"name": "setIPProtectionProxyBypassEnabled",
|
|
17137
|
-
"description": "Sets bypass IP Protection Proxy boolean.",
|
|
17138
|
-
"experimental": true,
|
|
17139
|
-
"parameters": [
|
|
17140
|
-
{
|
|
17141
|
-
"name": "enabled",
|
|
17142
|
-
"description": "Whether IP Proxy is being bypassed by devtools; false by default.",
|
|
17143
|
-
"type": "boolean"
|
|
17144
|
-
}
|
|
17145
|
-
]
|
|
17146
|
-
},
|
|
17147
17101
|
{
|
|
17148
17102
|
"name": "setAcceptedEncodings",
|
|
17149
17103
|
"description": "Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.",
|
|
@@ -20594,7 +20548,6 @@
|
|
|
20594
20548
|
"otp-credentials",
|
|
20595
20549
|
"payment",
|
|
20596
20550
|
"picture-in-picture",
|
|
20597
|
-
"popins",
|
|
20598
20551
|
"private-aggregation",
|
|
20599
20552
|
"private-state-token-issuance",
|
|
20600
20553
|
"private-state-token-redemption",
|
|
@@ -28221,7 +28174,7 @@
|
|
|
28221
28174
|
},
|
|
28222
28175
|
{
|
|
28223
28176
|
"name": "panelId",
|
|
28224
|
-
"description": "The id of the panel we want DevTools to open initially. Currently\nsupported panels are elements, console, network, sources
|
|
28177
|
+
"description": "The id of the panel we want DevTools to open initially. Currently\nsupported panels are elements, console, network, sources, resources\nand performance.",
|
|
28225
28178
|
"optional": true,
|
|
28226
28179
|
"type": "string"
|
|
28227
28180
|
}
|
package/package.json
CHANGED
package/pdl/domains/Network.pdl
CHANGED
|
@@ -298,31 +298,6 @@ domain Network
|
|
|
298
298
|
corp-not-same-site
|
|
299
299
|
sri-message-signature-mismatch
|
|
300
300
|
|
|
301
|
-
# Sets Controls for IP Proxy of requests.
|
|
302
|
-
# Page reload is required before the new behavior will be observed.
|
|
303
|
-
experimental type IpProxyStatus extends string
|
|
304
|
-
enum
|
|
305
|
-
Available
|
|
306
|
-
FeatureNotEnabled
|
|
307
|
-
MaskedDomainListNotEnabled
|
|
308
|
-
MaskedDomainListNotPopulated
|
|
309
|
-
AuthTokensUnavailable
|
|
310
|
-
Unavailable
|
|
311
|
-
BypassedByDevTools
|
|
312
|
-
|
|
313
|
-
# Returns enum representing if IP Proxy of requests is available
|
|
314
|
-
# or reason it is not active.
|
|
315
|
-
experimental command getIPProtectionProxyStatus
|
|
316
|
-
returns
|
|
317
|
-
# Whether IP proxy is available
|
|
318
|
-
IpProxyStatus status
|
|
319
|
-
|
|
320
|
-
# Sets bypass IP Protection Proxy boolean.
|
|
321
|
-
experimental command setIPProtectionProxyBypassEnabled
|
|
322
|
-
parameters
|
|
323
|
-
# Whether IP Proxy is being bypassed by devtools; false by default.
|
|
324
|
-
boolean enabled
|
|
325
|
-
|
|
326
301
|
# The reason why request was blocked.
|
|
327
302
|
type CorsError extends string
|
|
328
303
|
enum
|
|
@@ -527,9 +502,6 @@ domain Network
|
|
|
527
502
|
Security.SecurityState securityState
|
|
528
503
|
# Security details for the request.
|
|
529
504
|
optional SecurityDetails securityDetails
|
|
530
|
-
# Indicates whether the request was sent through IP Protection proxies. If
|
|
531
|
-
# set to true, the request used the IP Protection privacy feature.
|
|
532
|
-
experimental optional boolean isIpProtectionUsed
|
|
533
505
|
|
|
534
506
|
# WebSocket request data.
|
|
535
507
|
type WebSocketRequest extends object
|
package/pdl/domains/Page.pdl
CHANGED
package/pdl/domains/Target.pdl
CHANGED
|
@@ -323,7 +323,8 @@ domain Target
|
|
|
323
323
|
# This can be the page or tab target ID.
|
|
324
324
|
TargetID targetId
|
|
325
325
|
# The id of the panel we want DevTools to open initially. Currently
|
|
326
|
-
# supported panels are elements, console, network, sources
|
|
326
|
+
# supported panels are elements, console, network, sources, resources
|
|
327
|
+
# and performance.
|
|
327
328
|
optional string panelId
|
|
328
329
|
returns
|
|
329
330
|
# The targetId of DevTools page target.
|
|
@@ -4050,23 +4050,6 @@ export namespace ProtocolMapping {
|
|
|
4050
4050
|
paramsType: [];
|
|
4051
4051
|
returnType: Protocol.Memory.GetSamplingProfileResponse;
|
|
4052
4052
|
};
|
|
4053
|
-
/**
|
|
4054
|
-
* Returns enum representing if IP Proxy of requests is available
|
|
4055
|
-
* or reason it is not active.
|
|
4056
|
-
* @experimental
|
|
4057
|
-
*/
|
|
4058
|
-
'Network.getIPProtectionProxyStatus': {
|
|
4059
|
-
paramsType: [];
|
|
4060
|
-
returnType: Protocol.Network.GetIPProtectionProxyStatusResponse;
|
|
4061
|
-
};
|
|
4062
|
-
/**
|
|
4063
|
-
* Sets bypass IP Protection Proxy boolean.
|
|
4064
|
-
* @experimental
|
|
4065
|
-
*/
|
|
4066
|
-
'Network.setIPProtectionProxyBypassEnabled': {
|
|
4067
|
-
paramsType: [Protocol.Network.SetIPProtectionProxyBypassEnabledRequest];
|
|
4068
|
-
returnType: void;
|
|
4069
|
-
};
|
|
4070
4053
|
/**
|
|
4071
4054
|
* Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
|
|
4072
4055
|
* @experimental
|
|
@@ -2963,19 +2963,6 @@ export namespace ProtocolProxyApi {
|
|
|
2963
2963
|
}
|
|
2964
2964
|
|
|
2965
2965
|
export interface NetworkApi {
|
|
2966
|
-
/**
|
|
2967
|
-
* Returns enum representing if IP Proxy of requests is available
|
|
2968
|
-
* or reason it is not active.
|
|
2969
|
-
* @experimental
|
|
2970
|
-
*/
|
|
2971
|
-
getIPProtectionProxyStatus(): Promise<Protocol.Network.GetIPProtectionProxyStatusResponse>;
|
|
2972
|
-
|
|
2973
|
-
/**
|
|
2974
|
-
* Sets bypass IP Protection Proxy boolean.
|
|
2975
|
-
* @experimental
|
|
2976
|
-
*/
|
|
2977
|
-
setIPProtectionProxyBypassEnabled(params: Protocol.Network.SetIPProtectionProxyBypassEnabledRequest): Promise<void>;
|
|
2978
|
-
|
|
2979
2966
|
/**
|
|
2980
2967
|
* Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
|
|
2981
2968
|
* @experimental
|
|
@@ -3133,19 +3133,6 @@ export namespace ProtocolTestsProxyApi {
|
|
|
3133
3133
|
}
|
|
3134
3134
|
|
|
3135
3135
|
export interface NetworkApi {
|
|
3136
|
-
/**
|
|
3137
|
-
* Returns enum representing if IP Proxy of requests is available
|
|
3138
|
-
* or reason it is not active.
|
|
3139
|
-
* @experimental
|
|
3140
|
-
*/
|
|
3141
|
-
getIPProtectionProxyStatus(): Promise<{id: number, result: Protocol.Network.GetIPProtectionProxyStatusResponse, sessionId: string}>;
|
|
3142
|
-
|
|
3143
|
-
/**
|
|
3144
|
-
* Sets bypass IP Protection Proxy boolean.
|
|
3145
|
-
* @experimental
|
|
3146
|
-
*/
|
|
3147
|
-
setIPProtectionProxyBypassEnabled(params: Protocol.Network.SetIPProtectionProxyBypassEnabledRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
3148
|
-
|
|
3149
3136
|
/**
|
|
3150
3137
|
* Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
|
|
3151
3138
|
* @experimental
|
package/types/protocol.d.ts
CHANGED
|
@@ -12438,13 +12438,6 @@ export namespace Protocol {
|
|
|
12438
12438
|
*/
|
|
12439
12439
|
export type BlockedReason = ('other' | 'csp' | 'mixed-content' | 'origin' | 'inspector' | 'integrity' | 'subresource-filter' | 'content-type' | 'coep-frame-resource-needs-coep-header' | 'coop-sandboxed-iframe-cannot-navigate-to-coop-page' | 'corp-not-same-origin' | 'corp-not-same-origin-after-defaulted-to-same-origin-by-coep' | 'corp-not-same-origin-after-defaulted-to-same-origin-by-dip' | 'corp-not-same-origin-after-defaulted-to-same-origin-by-coep-and-dip' | 'corp-not-same-site' | 'sri-message-signature-mismatch');
|
|
12440
12440
|
|
|
12441
|
-
/**
|
|
12442
|
-
* Sets Controls for IP Proxy of requests.
|
|
12443
|
-
* Page reload is required before the new behavior will be observed.
|
|
12444
|
-
* @experimental
|
|
12445
|
-
*/
|
|
12446
|
-
export type IpProxyStatus = ('Available' | 'FeatureNotEnabled' | 'MaskedDomainListNotEnabled' | 'MaskedDomainListNotPopulated' | 'AuthTokensUnavailable' | 'Unavailable' | 'BypassedByDevTools');
|
|
12447
|
-
|
|
12448
12441
|
/**
|
|
12449
12442
|
* The reason why request was blocked.
|
|
12450
12443
|
*/
|
|
@@ -12640,12 +12633,6 @@ export namespace Protocol {
|
|
|
12640
12633
|
* Security details for the request.
|
|
12641
12634
|
*/
|
|
12642
12635
|
securityDetails?: SecurityDetails;
|
|
12643
|
-
/**
|
|
12644
|
-
* Indicates whether the request was sent through IP Protection proxies. If
|
|
12645
|
-
* set to true, the request used the IP Protection privacy feature.
|
|
12646
|
-
* @experimental
|
|
12647
|
-
*/
|
|
12648
|
-
isIpProtectionUsed?: boolean;
|
|
12649
12636
|
}
|
|
12650
12637
|
|
|
12651
12638
|
/**
|
|
@@ -13538,20 +13525,6 @@ export namespace Protocol {
|
|
|
13538
13525
|
includeCredentials: boolean;
|
|
13539
13526
|
}
|
|
13540
13527
|
|
|
13541
|
-
export interface GetIPProtectionProxyStatusResponse {
|
|
13542
|
-
/**
|
|
13543
|
-
* Whether IP proxy is available
|
|
13544
|
-
*/
|
|
13545
|
-
status: IpProxyStatus;
|
|
13546
|
-
}
|
|
13547
|
-
|
|
13548
|
-
export interface SetIPProtectionProxyBypassEnabledRequest {
|
|
13549
|
-
/**
|
|
13550
|
-
* Whether IP Proxy is being bypassed by devtools; false by default.
|
|
13551
|
-
*/
|
|
13552
|
-
enabled: boolean;
|
|
13553
|
-
}
|
|
13554
|
-
|
|
13555
13528
|
export interface SetAcceptedEncodingsRequest {
|
|
13556
13529
|
/**
|
|
13557
13530
|
* List of accepted content encodings.
|
|
@@ -15849,7 +15822,7 @@ export namespace Protocol {
|
|
|
15849
15822
|
* in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
|
|
15850
15823
|
* @experimental
|
|
15851
15824
|
*/
|
|
15852
|
-
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'attribution-reporting' | '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' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network-access' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | '
|
|
15825
|
+
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'attribution-reporting' | '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' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network-access' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'record-ad-auction-events' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
|
|
15853
15826
|
|
|
15854
15827
|
/**
|
|
15855
15828
|
* Reason for a permissions policy feature to be disabled.
|
|
@@ -20388,7 +20361,8 @@ export namespace Protocol {
|
|
|
20388
20361
|
targetId: TargetID;
|
|
20389
20362
|
/**
|
|
20390
20363
|
* The id of the panel we want DevTools to open initially. Currently
|
|
20391
|
-
* supported panels are elements, console, network, sources
|
|
20364
|
+
* supported panels are elements, console, network, sources, resources
|
|
20365
|
+
* and performance.
|
|
20392
20366
|
*/
|
|
20393
20367
|
panelId?: string;
|
|
20394
20368
|
}
|