Report question

Question: How does browser know when to prompt user to save password?