devtools-protocol 0.0.1509355 → 0.0.1510116
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/Autofill.pdl +6 -2
- package/pdl/domains/Network.pdl +6 -0
- package/types/protocol-mapping.d.ts +8 -0
- package/types/protocol-proxy-api.d.ts +6 -0
- package/types/protocol-tests-proxy-api.d.ts +6 -0
- package/types/protocol.d.ts +15 -2
@@ -2454,7 +2454,7 @@
|
|
2454
2454
|
"properties": [
|
2455
2455
|
{
|
2456
2456
|
"name": "name",
|
2457
|
-
"description": "address field name, for example GIVEN_NAME.",
|
2457
|
+
"description": "address field name, for example GIVEN_NAME.\nThe full list of supported field names:\nhttps://source.chromium.org/chromium/chromium/src/+/main:components/autofill/core/browser/field_types.cc;l=38",
|
2458
2458
|
"type": "string"
|
2459
2459
|
},
|
2460
2460
|
{
|
@@ -2602,8 +2602,15 @@
|
|
2602
2602
|
},
|
2603
2603
|
{
|
2604
2604
|
"name": "card",
|
2605
|
-
"description": "Credit card information to fill out the form. Credit card data is not saved.",
|
2605
|
+
"description": "Credit card information to fill out the form. Credit card data is not saved. Mutually exclusive with `address`.",
|
2606
|
+
"optional": true,
|
2606
2607
|
"$ref": "CreditCard"
|
2608
|
+
},
|
2609
|
+
{
|
2610
|
+
"name": "address",
|
2611
|
+
"description": "Address to fill out the form. Address data is not saved. Mutually exclusive with `card`.",
|
2612
|
+
"optional": true,
|
2613
|
+
"$ref": "Address"
|
2607
2614
|
}
|
2608
2615
|
]
|
2609
2616
|
},
|
@@ -16930,6 +16937,18 @@
|
|
16930
16937
|
}
|
16931
16938
|
]
|
16932
16939
|
},
|
16940
|
+
{
|
16941
|
+
"name": "setIPProtectionProxyBypassEnabled",
|
16942
|
+
"description": "Sets bypass IP Protection Proxy boolean.",
|
16943
|
+
"experimental": true,
|
16944
|
+
"parameters": [
|
16945
|
+
{
|
16946
|
+
"name": "enabled",
|
16947
|
+
"description": "Whether IP Proxy is being bypassed by devtools; false by default.",
|
16948
|
+
"type": "boolean"
|
16949
|
+
}
|
16950
|
+
]
|
16951
|
+
},
|
16933
16952
|
{
|
16934
16953
|
"name": "setAcceptedEncodings",
|
16935
16954
|
"description": "Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.",
|
package/package.json
CHANGED
package/pdl/domains/Autofill.pdl
CHANGED
@@ -22,6 +22,8 @@ experimental domain Autofill
|
|
22
22
|
type AddressField extends object
|
23
23
|
properties
|
24
24
|
# address field name, for example GIVEN_NAME.
|
25
|
+
# The full list of supported field names:
|
26
|
+
# https://source.chromium.org/chromium/chromium/src/+/main:components/autofill/core/browser/field_types.cc;l=38
|
25
27
|
string name
|
26
28
|
# address field value, for example Jon Doe.
|
27
29
|
string value
|
@@ -90,8 +92,10 @@ experimental domain Autofill
|
|
90
92
|
DOM.BackendNodeId fieldId
|
91
93
|
# Identifies the frame that field belongs to.
|
92
94
|
optional Page.FrameId frameId
|
93
|
-
# Credit card information to fill out the form. Credit card data is not saved.
|
94
|
-
CreditCard card
|
95
|
+
# Credit card information to fill out the form. Credit card data is not saved. Mutually exclusive with `address`.
|
96
|
+
optional CreditCard card
|
97
|
+
# Address to fill out the form. Address data is not saved. Mutually exclusive with `card`.
|
98
|
+
optional Address address
|
95
99
|
|
96
100
|
# Set addresses so that developers can verify their forms implementation.
|
97
101
|
command setAddresses
|
package/pdl/domains/Network.pdl
CHANGED
@@ -315,6 +315,12 @@ domain Network
|
|
315
315
|
# Whether IP proxy is available
|
316
316
|
IpProxyStatus status
|
317
317
|
|
318
|
+
# Sets bypass IP Protection Proxy boolean.
|
319
|
+
experimental command setIPProtectionProxyBypassEnabled
|
320
|
+
parameters
|
321
|
+
# Whether IP Proxy is being bypassed by devtools; false by default.
|
322
|
+
boolean enabled
|
323
|
+
|
318
324
|
# The reason why request was blocked.
|
319
325
|
type CorsError extends string
|
320
326
|
enum
|
@@ -4065,6 +4065,14 @@ export namespace ProtocolMapping {
|
|
4065
4065
|
paramsType: [];
|
4066
4066
|
returnType: Protocol.Network.GetIPProtectionProxyStatusResponse;
|
4067
4067
|
};
|
4068
|
+
/**
|
4069
|
+
* Sets bypass IP Protection Proxy boolean.
|
4070
|
+
* @experimental
|
4071
|
+
*/
|
4072
|
+
'Network.setIPProtectionProxyBypassEnabled': {
|
4073
|
+
paramsType: [Protocol.Network.SetIPProtectionProxyBypassEnabledRequest];
|
4074
|
+
returnType: void;
|
4075
|
+
};
|
4068
4076
|
/**
|
4069
4077
|
* Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
|
4070
4078
|
* @experimental
|
@@ -2952,6 +2952,12 @@ export namespace ProtocolProxyApi {
|
|
2952
2952
|
*/
|
2953
2953
|
getIPProtectionProxyStatus(): Promise<Protocol.Network.GetIPProtectionProxyStatusResponse>;
|
2954
2954
|
|
2955
|
+
/**
|
2956
|
+
* Sets bypass IP Protection Proxy boolean.
|
2957
|
+
* @experimental
|
2958
|
+
*/
|
2959
|
+
setIPProtectionProxyBypassEnabled(params: Protocol.Network.SetIPProtectionProxyBypassEnabledRequest): Promise<void>;
|
2960
|
+
|
2955
2961
|
/**
|
2956
2962
|
* Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
|
2957
2963
|
* @experimental
|
@@ -3118,6 +3118,12 @@ export namespace ProtocolTestsProxyApi {
|
|
3118
3118
|
*/
|
3119
3119
|
getIPProtectionProxyStatus(): Promise<{id: number, result: Protocol.Network.GetIPProtectionProxyStatusResponse, sessionId: string}>;
|
3120
3120
|
|
3121
|
+
/**
|
3122
|
+
* Sets bypass IP Protection Proxy boolean.
|
3123
|
+
* @experimental
|
3124
|
+
*/
|
3125
|
+
setIPProtectionProxyBypassEnabled(params: Protocol.Network.SetIPProtectionProxyBypassEnabledRequest): Promise<{id: number, result: void, sessionId: string}>;
|
3126
|
+
|
3121
3127
|
/**
|
3122
3128
|
* Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
|
3123
3129
|
* @experimental
|
package/types/protocol.d.ts
CHANGED
@@ -4020,6 +4020,8 @@ export namespace Protocol {
|
|
4020
4020
|
export interface AddressField {
|
4021
4021
|
/**
|
4022
4022
|
* address field name, for example GIVEN_NAME.
|
4023
|
+
* The full list of supported field names:
|
4024
|
+
* https://source.chromium.org/chromium/chromium/src/+/main:components/autofill/core/browser/field_types.cc;l=38
|
4023
4025
|
*/
|
4024
4026
|
name: string;
|
4025
4027
|
/**
|
@@ -4108,9 +4110,13 @@ export namespace Protocol {
|
|
4108
4110
|
*/
|
4109
4111
|
frameId?: Page.FrameId;
|
4110
4112
|
/**
|
4111
|
-
* Credit card information to fill out the form. Credit card data is not saved.
|
4113
|
+
* Credit card information to fill out the form. Credit card data is not saved. Mutually exclusive with `address`.
|
4112
4114
|
*/
|
4113
|
-
card
|
4115
|
+
card?: CreditCard;
|
4116
|
+
/**
|
4117
|
+
* Address to fill out the form. Address data is not saved. Mutually exclusive with `card`.
|
4118
|
+
*/
|
4119
|
+
address?: Address;
|
4114
4120
|
}
|
4115
4121
|
|
4116
4122
|
export interface SetAddressesRequest {
|
@@ -13388,6 +13394,13 @@ export namespace Protocol {
|
|
13388
13394
|
status: IpProxyStatus;
|
13389
13395
|
}
|
13390
13396
|
|
13397
|
+
export interface SetIPProtectionProxyBypassEnabledRequest {
|
13398
|
+
/**
|
13399
|
+
* Whether IP Proxy is being bypassed by devtools; false by default.
|
13400
|
+
*/
|
13401
|
+
enabled: boolean;
|
13402
|
+
}
|
13403
|
+
|
13391
13404
|
export interface SetAcceptedEncodingsRequest {
|
13392
13405
|
/**
|
13393
13406
|
* List of accepted content encodings.
|