Though Microsoft claimed that storing plaintext passwords in memory was by design, the company has changed the behavior to better protect your passwords.
Source: ADnet
Source Link: https://www.zdnet.com/article/microsoft-edge-passwords-ram-plaintext/