Closed Bug 671258 Opened 13 years ago Closed 13 years ago

Wrong site preferences listed in the site identity container in the pageaction-reset entry

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 8

People

(Reporter: aaronmt, Assigned: fabrice)

References

Details

Attachments

(1 file)

Mozilla/5.0 (Android; Linux armv7; rv:8.0a1) Gecko/20110713 Firefox/8.0a1 Fennec/8.0a1
Device: Samsung Nexus S
Android: 2.3.4

The pageaction-reset entry in the site-identity panel for site specific preferences and permissions are listing unselected preferences in the description text.

STR:
1. http://www.google.com
2. Install As App -> Select "Desktop Notifications".
3. Open the site-identity panel

ER: "Clear Site Preferences" with a description text, "Desktop Notifications"
AR: "Clear Site Preferences" with a description text, "Offline Storage, Web Notifications"
We should change the code in the dialog a bit:
* If permission is not set before the dialog is shown and the checkbox is not checked on OK - do not touch the permission.
* If permission is set before the dialog is shown and the checkbox is not checked on OK - remove the permission.
* If permission is not set before the dialog is shown and the checkbox is checked on OK - set the permission.
* If permission is set before the dialog is shown and the checkbox is checked on OK - do not touch the permission.

Fabrice, does this make sense?
Assignee: nobody → fabrice
Attached patch patchSplinter Review
Implement the fix by only updating permissions that have changed. Also corrected a typo in "desktop-notification"
Attachment #546183 - Flags: review?(mark.finkle)
Comment on attachment 546183 [details] [diff] [review]
patch

nice
Attachment #546183 - Flags: review?(mark.finkle) → review+
http://hg.mozilla.org/mozilla-central/rev/f46a5cffdb66
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 8
Verified fixed on:
Mozilla/5.0 (Android;Linux armv7l;rv:8.0a1)Gecko/20110901
Firefox/8.0a1 Fennec/8.0a1
Device: Samsung Galaxy S
OS: Android 2.2
Status: RESOLVED → VERIFIED
Filed bug 684244 for the string change
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: