When is the autocomplete="new-password" saved?

I have a single page webapp where the saving of the new-password is completed using an AJAX request to the server and updating the display to indicate the sucess of not of the change.


When does the Safari Browser (Technology Preview Release 58 (Safari 12.0, WebKit 13606.1.18.2) know to update the keychain? Do I have to chear the input fields, hide them, make a form submission, ....


Is there a way to tell the KeyChain to update the password from JS.


I can't seem to get it to update the keychain. The browser fills in a nice new secure password but I can't get the keychain updated (I can get the new password to my server).


Help.


Also thanks.


Yorick

Accepted Reply

For those looking for an answer to the above I found somebody on the Safari team who was kind enough to tp me off that history.pushState(...) or history.changeState(...) *should* trigger the save.

Replies

For those looking for an answer to the above I found somebody on the Safari team who was kind enough to tp me off that history.pushState(...) or history.changeState(...) *should* trigger the save.