You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specs/Autofill.md
+31-31Lines changed: 31 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
# Background
2
-
The WebView2 team has been asked for an API to allow end developers to set the autofill preferences. We are exposing two of the autofill preferences that will allow enabling and disabling autofill for addresses and passwords. Addresses includes things like email addresses, shipping addresses, phone numbers, and names. Passwords includes things like usernames and passwords for login.
2
+
The WebView2 team has been asked for an API to allow end developers to set the autofill preferences. We are exposing two of the autofill preferences that will allow enabling and disabling general and password autofill. General autofill includes things like email addresses, shipping addresses, phone numbers, and names. Password autofill includes things like usernames and passwords for login.
3
3
4
4
In this document we describe the updated API. We'd appreciate your feedback.
5
5
6
6
7
7
# Description
8
8
9
9
Autofilling has three components
10
-
* Autostuffing - Filling the corresponding form fields automatically on page load.
11
-
* Suggesting - When the user clicks on the form field, drop down suggestions of previously saved forms will be displayed.
12
-
* Populating - When clicking on one of the suggestions, the form data will populate the respective fields.
10
+
* Autostuffing - Filling the corresponding form fields automatically on page load
11
+
* Suggesting - When the user clicks on the form field, drop down suggestions of previously saved forms will be displayed
12
+
* Populating - When clicking on one of the suggestions, the form data will populate the respective fields
The behaviour of the two types of autofill preferences behaves differently when toggling between enable and disable.
59
-
If address autofill is enabled:
60
-
*Address data will be saved
61
-
* Upon clicking on the form field, suggestions will appear
62
-
* Clicking on one of the suggestions will populate the corresponding fields
58
+
The two types of autofill preferences behave differently when toggling between enable and disable.
59
+
If general autofill is enabled:
60
+
*General data will be saved
61
+
* Upon clicking on the form field, suggestions will appear.
62
+
* Clicking on one of the suggestions will populate the corresponding fields.
63
63
64
-
If address autofill is disabled
65
-
* No new address data will be saved
66
-
* Upon clicking on the form field, suggestions will not appear
64
+
If general autofill is disabled
65
+
* No new general data will be saved.
66
+
* Upon clicking on the form field, suggestions will not appear.
67
67
68
68
If password autofill is enabled
69
-
* Password data will be autostuffed
70
-
* Upon clicking on the form field, suggestions will appear
71
-
* Clicking on one of the suggestions will populate the corresponding fields
72
-
* Upon submitting the password data, a save password prompt will be displayed that will give the user the option to save or update the password data. If the user selects `Yes`, the new password data will be saved or updated depending on if they have previously entered password data while password autofill is enabled
69
+
* Password data will be autostuffed.
70
+
* Upon clicking on the form field, suggestions will appear.
71
+
* Clicking on one of the suggestions will populate the corresponding fields.
72
+
* Upon submitting the password data, a save password prompt will be displayed that will give the user the option to save or update the password data. If the user selects `Yes`, the new password data will be saved or updated depending on if they have previously entered password data while password autofill is enabled.
73
73
74
74
If password autofill is disabled
75
-
* The password data will be autostuffed
76
-
* Upon clicking on the form field, suggestions will appear
77
-
* Clicking on one of the suggestions will populate the corresponding fields
78
-
* Upon submitting the password data, no save password prompt will be displayed and no password information is saved or updated
75
+
* The password data will be autostuffed.
76
+
* Upon clicking on the form field, suggestions will appear.
77
+
* Clicking on one of the suggestions will populate the corresponding fields.
78
+
* Upon submitting the password data, no save password prompt will be displayed and no password information is saved or updated.
0 commit comments