devtools-protocol 0.0.1188167 → 0.0.1188743
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.
@@ -2029,24 +2029,119 @@
|
|
2029
2029
|
},
|
2030
2030
|
{
|
2031
2031
|
"name": "value",
|
2032
|
-
"description": "address field
|
2032
|
+
"description": "address field value, for example Jon Doe.",
|
2033
2033
|
"type": "string"
|
2034
2034
|
}
|
2035
2035
|
]
|
2036
2036
|
},
|
2037
|
+
{
|
2038
|
+
"id": "AddressFields",
|
2039
|
+
"description": "A list of address fields.",
|
2040
|
+
"type": "object",
|
2041
|
+
"properties": [
|
2042
|
+
{
|
2043
|
+
"name": "fields",
|
2044
|
+
"type": "array",
|
2045
|
+
"items": {
|
2046
|
+
"$ref": "AddressField"
|
2047
|
+
}
|
2048
|
+
}
|
2049
|
+
]
|
2050
|
+
},
|
2037
2051
|
{
|
2038
2052
|
"id": "Address",
|
2039
2053
|
"type": "object",
|
2040
2054
|
"properties": [
|
2041
2055
|
{
|
2042
2056
|
"name": "fields",
|
2043
|
-
"description": "fields and values defining
|
2057
|
+
"description": "fields and values defining an address.",
|
2044
2058
|
"type": "array",
|
2045
2059
|
"items": {
|
2046
2060
|
"$ref": "AddressField"
|
2047
2061
|
}
|
2048
2062
|
}
|
2049
2063
|
]
|
2064
|
+
},
|
2065
|
+
{
|
2066
|
+
"id": "AddressUI",
|
2067
|
+
"description": "Defines how an address can be displayed like in chrome://settings/addresses.\nAddress UI is a two dimensional array, each inner array is an \"address information line\", and when rendered in a UI surface should be displayed as such.\nThe following address UI for instance:\n[[{name: \"GIVE_NAME\", value: \"Jon\"}, {name: \"FAMILY_NAME\", value: \"Doe\"}], [{name: \"CITY\", value: \"Munich\"}, {name: \"ZIP\", value: \"81456\"}]]\nshould allow the receiver to render:\nJon Doe\nMunich 81456",
|
2068
|
+
"type": "object",
|
2069
|
+
"properties": [
|
2070
|
+
{
|
2071
|
+
"name": "addressFields",
|
2072
|
+
"description": "A two dimension array containing the repesentation of values from an address profile.",
|
2073
|
+
"type": "array",
|
2074
|
+
"items": {
|
2075
|
+
"$ref": "AddressFields"
|
2076
|
+
}
|
2077
|
+
}
|
2078
|
+
]
|
2079
|
+
},
|
2080
|
+
{
|
2081
|
+
"id": "FillingStrategy",
|
2082
|
+
"description": "Specified whether a filled field was done so by using the html autocomplete attribute or autofill heuristics.",
|
2083
|
+
"type": "string",
|
2084
|
+
"enum": [
|
2085
|
+
"autocompleteAttribute",
|
2086
|
+
"autofillInferred"
|
2087
|
+
]
|
2088
|
+
},
|
2089
|
+
{
|
2090
|
+
"id": "FilledField",
|
2091
|
+
"type": "object",
|
2092
|
+
"properties": [
|
2093
|
+
{
|
2094
|
+
"name": "htmlType",
|
2095
|
+
"description": "The type of the field, e.g text, password etc.",
|
2096
|
+
"type": "string"
|
2097
|
+
},
|
2098
|
+
{
|
2099
|
+
"name": "id",
|
2100
|
+
"description": "the html id",
|
2101
|
+
"type": "string"
|
2102
|
+
},
|
2103
|
+
{
|
2104
|
+
"name": "name",
|
2105
|
+
"description": "the html name",
|
2106
|
+
"type": "string"
|
2107
|
+
},
|
2108
|
+
{
|
2109
|
+
"name": "value",
|
2110
|
+
"description": "the field value",
|
2111
|
+
"type": "string"
|
2112
|
+
},
|
2113
|
+
{
|
2114
|
+
"name": "autofillType",
|
2115
|
+
"description": "The actual field type, e.g FAMILY_NAME",
|
2116
|
+
"type": "string"
|
2117
|
+
},
|
2118
|
+
{
|
2119
|
+
"name": "fillingStrategy",
|
2120
|
+
"description": "The filling strategy",
|
2121
|
+
"$ref": "FillingStrategy"
|
2122
|
+
}
|
2123
|
+
]
|
2124
|
+
}
|
2125
|
+
],
|
2126
|
+
"events": [
|
2127
|
+
{
|
2128
|
+
"name": "addressFormFilled",
|
2129
|
+
"description": "Emitted when an address form is filled.",
|
2130
|
+
"parameters": [
|
2131
|
+
{
|
2132
|
+
"name": "filledFields",
|
2133
|
+
"description": "Information about the fields that were filled",
|
2134
|
+
"type": "array",
|
2135
|
+
"items": {
|
2136
|
+
"$ref": "FilledField"
|
2137
|
+
}
|
2138
|
+
},
|
2139
|
+
{
|
2140
|
+
"name": "addressUi",
|
2141
|
+
"description": "An UI representation of the address used to fill the form.\nConsists of a 2D array where each child represents an address/profile line.",
|
2142
|
+
"$ref": "AddressUI"
|
2143
|
+
}
|
2144
|
+
]
|
2050
2145
|
}
|
2051
2146
|
],
|
2052
2147
|
"commands": [
|
@@ -15815,6 +15910,7 @@
|
|
15815
15910
|
"ch-ect",
|
15816
15911
|
"ch-prefers-color-scheme",
|
15817
15912
|
"ch-prefers-reduced-motion",
|
15913
|
+
"ch-prefers-reduced-transparency",
|
15818
15914
|
"ch-rtt",
|
15819
15915
|
"ch-save-data",
|
15820
15916
|
"ch-ua",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -1002,14 +1002,61 @@ experimental domain Autofill
|
|
1002
1002
|
properties
|
1003
1003
|
# address field name, for example GIVEN_NAME.
|
1004
1004
|
string name
|
1005
|
-
# address field
|
1005
|
+
# address field value, for example Jon Doe.
|
1006
1006
|
string value
|
1007
1007
|
|
1008
|
+
# A list of address fields.
|
1009
|
+
type AddressFields extends object
|
1010
|
+
properties
|
1011
|
+
array of AddressField fields
|
1012
|
+
|
1008
1013
|
type Address extends object
|
1009
1014
|
properties
|
1010
|
-
# fields and values defining
|
1015
|
+
# fields and values defining an address.
|
1011
1016
|
array of AddressField fields
|
1012
1017
|
|
1018
|
+
# Defines how an address can be displayed like in chrome://settings/addresses.
|
1019
|
+
# Address UI is a two dimensional array, each inner array is an "address information line", and when rendered in a UI surface should be displayed as such.
|
1020
|
+
# The following address UI for instance:
|
1021
|
+
# [[{name: "GIVE_NAME", value: "Jon"}, {name: "FAMILY_NAME", value: "Doe"}], [{name: "CITY", value: "Munich"}, {name: "ZIP", value: "81456"}]]
|
1022
|
+
# should allow the receiver to render:
|
1023
|
+
# Jon Doe
|
1024
|
+
# Munich 81456
|
1025
|
+
type AddressUI extends object
|
1026
|
+
properties
|
1027
|
+
# A two dimension array containing the repesentation of values from an address profile.
|
1028
|
+
array of AddressFields addressFields
|
1029
|
+
|
1030
|
+
# Specified whether a filled field was done so by using the html autocomplete attribute or autofill heuristics.
|
1031
|
+
type FillingStrategy extends string
|
1032
|
+
enum
|
1033
|
+
autocompleteAttribute
|
1034
|
+
autofillInferred
|
1035
|
+
|
1036
|
+
type FilledField extends object
|
1037
|
+
properties
|
1038
|
+
# The type of the field, e.g text, password etc.
|
1039
|
+
string htmlType
|
1040
|
+
# the html id
|
1041
|
+
string id
|
1042
|
+
# the html name
|
1043
|
+
string name
|
1044
|
+
# the field value
|
1045
|
+
string value
|
1046
|
+
# The actual field type, e.g FAMILY_NAME
|
1047
|
+
string autofillType
|
1048
|
+
# The filling strategy
|
1049
|
+
FillingStrategy fillingStrategy
|
1050
|
+
|
1051
|
+
# Emitted when an address form is filled.
|
1052
|
+
event addressFormFilled
|
1053
|
+
parameters
|
1054
|
+
# Information about the fields that were filled
|
1055
|
+
array of FilledField filledFields
|
1056
|
+
# An UI representation of the address used to fill the form.
|
1057
|
+
# Consists of a 2D array where each child represents an address/profile line.
|
1058
|
+
AddressUI addressUi
|
1059
|
+
|
1013
1060
|
# Trigger autofill on a form identified by the fieldId.
|
1014
1061
|
# If the field and related form cannot be autofilled, returns an error.
|
1015
1062
|
command trigger
|
@@ -7383,6 +7430,7 @@ domain Page
|
|
7383
7430
|
ch-ect
|
7384
7431
|
ch-prefers-color-scheme
|
7385
7432
|
ch-prefers-reduced-motion
|
7433
|
+
ch-prefers-reduced-transparency
|
7386
7434
|
ch-rtt
|
7387
7435
|
ch-save-data
|
7388
7436
|
ch-ua
|
@@ -114,6 +114,10 @@ export namespace ProtocolMapping {
|
|
114
114
|
*/
|
115
115
|
'Animation.animationStarted': [Protocol.Animation.AnimationStartedEvent];
|
116
116
|
'Audits.issueAdded': [Protocol.Audits.IssueAddedEvent];
|
117
|
+
/**
|
118
|
+
* Emitted when an address form is filled.
|
119
|
+
*/
|
120
|
+
'Autofill.addressFormFilled': [Protocol.Autofill.AddressFormFilledEvent];
|
117
121
|
/**
|
118
122
|
* Called when the recording state for the service has been updated.
|
119
123
|
*/
|
@@ -820,6 +820,11 @@ export namespace ProtocolProxyApi {
|
|
820
820
|
*/
|
821
821
|
enable(): Promise<void>;
|
822
822
|
|
823
|
+
/**
|
824
|
+
* Emitted when an address form is filled.
|
825
|
+
*/
|
826
|
+
on(event: 'addressFormFilled', listener: (params: Protocol.Autofill.AddressFormFilledEvent) => void): void;
|
827
|
+
|
823
828
|
}
|
824
829
|
|
825
830
|
export interface BackgroundServiceApi {
|
package/types/protocol.d.ts
CHANGED
@@ -3723,18 +3723,73 @@ export namespace Protocol {
|
|
3723
3723
|
*/
|
3724
3724
|
name: string;
|
3725
3725
|
/**
|
3726
|
-
* address field
|
3726
|
+
* address field value, for example Jon Doe.
|
3727
3727
|
*/
|
3728
3728
|
value: string;
|
3729
3729
|
}
|
3730
3730
|
|
3731
|
+
/**
|
3732
|
+
* A list of address fields.
|
3733
|
+
*/
|
3734
|
+
export interface AddressFields {
|
3735
|
+
fields: AddressField[];
|
3736
|
+
}
|
3737
|
+
|
3731
3738
|
export interface Address {
|
3732
3739
|
/**
|
3733
|
-
* fields and values defining
|
3740
|
+
* fields and values defining an address.
|
3734
3741
|
*/
|
3735
3742
|
fields: AddressField[];
|
3736
3743
|
}
|
3737
3744
|
|
3745
|
+
/**
|
3746
|
+
* Defines how an address can be displayed like in chrome://settings/addresses.
|
3747
|
+
* Address UI is a two dimensional array, each inner array is an "address information line", and when rendered in a UI surface should be displayed as such.
|
3748
|
+
* The following address UI for instance:
|
3749
|
+
* [[{name: "GIVE_NAME", value: "Jon"}, {name: "FAMILY_NAME", value: "Doe"}], [{name: "CITY", value: "Munich"}, {name: "ZIP", value: "81456"}]]
|
3750
|
+
* should allow the receiver to render:
|
3751
|
+
* Jon Doe
|
3752
|
+
* Munich 81456
|
3753
|
+
*/
|
3754
|
+
export interface AddressUI {
|
3755
|
+
/**
|
3756
|
+
* A two dimension array containing the repesentation of values from an address profile.
|
3757
|
+
*/
|
3758
|
+
addressFields: AddressFields[];
|
3759
|
+
}
|
3760
|
+
|
3761
|
+
/**
|
3762
|
+
* Specified whether a filled field was done so by using the html autocomplete attribute or autofill heuristics.
|
3763
|
+
*/
|
3764
|
+
export type FillingStrategy = ('autocompleteAttribute' | 'autofillInferred');
|
3765
|
+
|
3766
|
+
export interface FilledField {
|
3767
|
+
/**
|
3768
|
+
* The type of the field, e.g text, password etc.
|
3769
|
+
*/
|
3770
|
+
htmlType: string;
|
3771
|
+
/**
|
3772
|
+
* the html id
|
3773
|
+
*/
|
3774
|
+
id: string;
|
3775
|
+
/**
|
3776
|
+
* the html name
|
3777
|
+
*/
|
3778
|
+
name: string;
|
3779
|
+
/**
|
3780
|
+
* the field value
|
3781
|
+
*/
|
3782
|
+
value: string;
|
3783
|
+
/**
|
3784
|
+
* The actual field type, e.g FAMILY_NAME
|
3785
|
+
*/
|
3786
|
+
autofillType: string;
|
3787
|
+
/**
|
3788
|
+
* The filling strategy
|
3789
|
+
*/
|
3790
|
+
fillingStrategy: FillingStrategy;
|
3791
|
+
}
|
3792
|
+
|
3738
3793
|
export interface TriggerRequest {
|
3739
3794
|
/**
|
3740
3795
|
* Identifies a field that serves as an anchor for autofill.
|
@@ -3753,6 +3808,21 @@ export namespace Protocol {
|
|
3753
3808
|
export interface SetAddressesRequest {
|
3754
3809
|
addresses: Address[];
|
3755
3810
|
}
|
3811
|
+
|
3812
|
+
/**
|
3813
|
+
* Emitted when an address form is filled.
|
3814
|
+
*/
|
3815
|
+
export interface AddressFormFilledEvent {
|
3816
|
+
/**
|
3817
|
+
* Information about the fields that were filled
|
3818
|
+
*/
|
3819
|
+
filledFields: FilledField[];
|
3820
|
+
/**
|
3821
|
+
* An UI representation of the address used to fill the form.
|
3822
|
+
* Consists of a 2D array where each child represents an address/profile line.
|
3823
|
+
*/
|
3824
|
+
addressUi: AddressUI;
|
3825
|
+
}
|
3756
3826
|
}
|
3757
3827
|
|
3758
3828
|
/**
|
@@ -12684,7 +12754,7 @@ export namespace Protocol {
|
|
12684
12754
|
* All Permissions Policy features. This enum should match the one defined
|
12685
12755
|
* in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
12686
12756
|
*/
|
12687
|
-
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-form-factor' | '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' | '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-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'storage-access' | 'sync-xhr' | 'unload' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking');
|
12757
|
+
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-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factor' | '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' | '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-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'storage-access' | 'sync-xhr' | 'unload' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking');
|
12688
12758
|
|
12689
12759
|
/**
|
12690
12760
|
* Reason for a permissions policy feature to be disabled.
|