Closed Bug 718705 Opened 14 years ago Closed 13 years ago

Doorhanger prompts again to remember password after going back to page

Categories

(Firefox for Android Graveyard :: General, defect, P5)

ARM
Android
defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 16

People

(Reporter: martijn.martijn, Assigned: Margaret)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

Attached file testcase
See testcase, steps to reproduce: - Visit testcase, fill in some values for the 2 inputs you see at the top - Submit the form, the password manager doorhanger notification pops up - Press the Android back button to dismiss it - Press the Android back button again to go back a page Expected result: - Nothing happening (apart from going back a page) Actual result: - Password manager doorhanger notification pops up again.
Bugzilla might interfere with the str, so the testcase is here also: http://people.mozilla.org/~mwargers/tests/forms/password/password.html
Assignee: nobody → margaret.leibovic
This is happening because of the timeout we're setting on the doorhanger. We have to set a timeout to persist this remember password doorhanger for a certain amount of time because website authentication systems can sometimes have multiple redirects, so we can't just say we'll keep the notification for one location change. There's no perfect solution here, but we kinda dealt with this for desktop in bug 595175 by also adding a "persistWhileVisible" option that always keeps the doorhanger around if it hasn't been dismissed. We could do something like that for mobile, but it might be more complicated because of the Java/Gecko divide. I'm not sure if it's worth it.
agreed.
Priority: -- → P5
Attached patch patchSplinter Review
This patch just ports over the desktop change from bug 595175 (I also added docs for the checkbox option, since I didn't do that before). If you navigate quickly, the doorhanger will still reappear because of the timeout. I think we kept the timeout on desktop because we didn't want the user to be screwed if he/she accidentally clicked outside the doorhanger. However, we have no way to bring back the popups on mobile right now, so the user gets screwed all the time, so maybe we should get rid of the timeout on mobile?
Attachment #638826 - Flags: review?(mark.finkle)
Comment on attachment 638826 [details] [diff] [review] patch Let's leave the timeout for now and see how it works.
Attachment #638826 - Flags: review?(mark.finkle) → review+
Blocks: 759085
Target Milestone: --- → Firefox 16
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: