搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Why does the password manager prompt on submit instead of on, and only on, successful response?

  • 1 回覆
  • 1 有這個問題
  • 11 次檢視
  • 最近回覆由 jayelbe

more options

I am comparing different browser-based password manager implementations.

I noticed that Firefox prompts to remember credentials when a form is submitted, but some other browsers, e.g., Google Chrome, wait until the server responds with a success status before prompting (and, if the server responds with an error status, then the browser does not prompt to remember the credentials).

I assume there are pros/cons to these different approaches, and I would like to better understand the trade-offs.

Right now, all I see is that it is possible—even likely—for a user to tell Firefox to remember an incorrect/invalid password—which seems like a downside to Firefox's approach.

I am comparing different browser-based password manager implementations. I noticed that Firefox prompts to remember credentials when a form is submitted, but some other browsers, e.g., Google Chrome, wait until the server responds with a success status before prompting (and, if the server responds with an error status, then the browser does not prompt to remember the credentials). I assume there are pros/cons to these different approaches, and I would like to better understand the trade-offs. Right now, all I see is that it is possible—even likely—for a user to tell Firefox to remember an incorrect/invalid password—which seems like a downside to Firefox's approach.
附加的畫面擷圖

被選擇的解決方法

Hi Adam,

Excellent question!

It's actually quite difficult for Firefox to tell that a login has succeeded. From the browser's perspective, a login form has been submitted, the server has responded and a new page has loaded.

Actually drilling down into that new page to figure out whether the login was successful or not is a real challenge. There are many different techniques that a website might use to tell a user that a login was not successful, using different designs and different layouts, so it would be difficult to automatically detect an error.

It is on the Password Manager team's list as a possible feature improvement. I just don't think the developers have had the time to look at it yet!

Bw,


Josh

從原來的回覆中察看解決方案 👍 1

所有回覆 (1)

more options

選擇的解決方法

Hi Adam,

Excellent question!

It's actually quite difficult for Firefox to tell that a login has succeeded. From the browser's perspective, a login form has been submitted, the server has responded and a new page has loaded.

Actually drilling down into that new page to figure out whether the login was successful or not is a real challenge. There are many different techniques that a website might use to tell a user that a login was not successful, using different designs and different layouts, so it would be difficult to automatically detect an error.

It is on the Password Manager team's list as a possible feature improvement. I just don't think the developers have had the time to look at it yet!

Bw,


Josh