Closed Bug 601163 Opened 14 years ago Closed 14 years ago

"Clear Site Preferences: Password" appears in site menu on all sites when "Remember Passwords" is disabled

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mbrubeck, Assigned: mbrubeck)

Details

Attachments

(1 file)

In today's Android nightly build, "Clear Site Preferences: Password" appears every time the site menu is opened on any page.
After moving prefs.js out of my profile, I am not seeing this bug anymore. I saved the prefs.js file, and will try to figure out which pref caused the problem.
This happens whenever "Remember Passwords" (signon.rememberSignons) is disabled at startup.
tracking-fennec: --- → ?
OS: Android → All
Summary: "Clear Site Preferences: Password" appears in site menu on all pages on Android → "Clear Site Preferences: Password" appears in site menu on all sites when "Remember Passwords" is disabled
Attached patch patchSplinter Review
getLoginSavingEnabled always returns false when signon.rememberSignons is false. There's one edge case this patch doesn't handle - the bug still appears if you flip the preference from "false" to "true" while Fennec is running. The bug goes away once Fennec restarts. (It seems the login service still returns false after this happens, even though it appears to have a preference observer that should prevent this.)
Assignee: nobody → mbrubeck
Status: NEW → ASSIGNED
Attachment #480159 - Flags: review?(mark.finkle)
Comment on attachment 480159 [details] [diff] [review] patch * Keep the {} on the outer "if" * Add a comment as to why we need to check the pref, maybe a short one with a link to this bug
Attachment #480159 - Flags: review?(mark.finkle) → review+
(In reply to comment #4) > * Keep the {} on the outer "if" > * Add a comment as to why we need to check the pref, maybe a short one with a > link to this bug Done and done. Pushed: http://hg.mozilla.org/mobile-browser/rev/33f11512d5cd
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
This issue is not reproducible on Mozilla/5.0 (Android;Linux armv7l;rv:9.0a1)Gecko/20110912 Firefox/9.0a1 Fennec/9.0a1 Device: HTC Desire OS: Android 2.2
Status: RESOLVED → VERIFIED
tracking-fennec: ? → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: