|
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 toggling between enable and disable autofill for addresses and passwords. Addresses includes things like email addresses, shipping addresses, phone numbers, and names. Passwords includes things like username 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 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. |
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 | | -* Auto-stuffing - filling the corresponding form fields automatically on page load. |
| 10 | +* Autostuffing - Filling the corresponding form fields automatically on page load. |
11 | 11 | * Suggesting - When the user clicks on the form field, drop down suggestions of previously saved forms will be displayed. |
12 | 12 | * Populating - When clicking on one of the suggestions, the form data will populate the respective fields. |
13 | 13 |
|
@@ -60,19 +60,22 @@ If address autofill is enabled: |
60 | 60 | * Address data will be saved |
61 | 61 | * Upon clicking on the form field, suggestions will appear |
62 | 62 | * Clicking on one of the suggestions will populate the corresponding fields |
| 63 | + |
63 | 64 | If address autofill is disabled |
64 | 65 | * No new address data will be saved |
65 | 66 | * Upon clicking on the form field, suggestions will not appear |
| 67 | + |
66 | 68 | If password autofill is enabled |
67 | 69 | * Password data will be autostuffed |
68 | 70 | * Upon clicking on the form field, suggestions will appear |
69 | 71 | * Clicking on one of the suggestions will populate the corresponding fields |
70 | | -* 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. |
| 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 | + |
71 | 74 | If password autofill is disabled |
72 | 75 | * The password data will be autostuffed |
73 | 76 | * Upon clicking on the form field, suggestions will appear |
74 | | -* Clicking on one of the suggestions will populate the corresponding fields. |
75 | | -* Upon submitting the password data, no save password prompt will be displayed and no password information is saved or updated. |
| 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 |
76 | 79 |
|
77 | 80 |
|
78 | 81 | # API Notes |
|
0 commit comments