Closed Bug 246738 Opened 20 years ago Closed 20 years ago

Confirm remove all cookies

Categories

(Camino Graveyard :: Preferences, enhancement)

PowerPC
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Camino0.9

People

(Reporter: joelcraig23, Assigned: jaas)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040517 Camino/0.8b
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040517 Camino/0.8b

Twice now, while selectively deleting some cookies in the Cookie Manager, I have
inadvertantly clicked "Remove All", instead of "Remove". A confirmation dialogue
when clicking "Remove All" would prevent these accidents. Also, adding a Check
Box as in Mozilla to "Not Allow Sites That Set Removed Cookies To Set Future
Cookies" would also be a very useful enhancement.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → Camino0.9
The confirmation seems like a definite go to me. The check-box is more
debateable; certainly worth considering though.
Summary: Feature Request: Added Cookie Management functionality. → Confirm remove all cookies, and allow cookie removal to blacklist sites
I think this is a good idea as well. This along with the closing-multiple-tabs
warning are just nice to have.. someone wanna patch rm so 'rm -rf /' has a
confirmation dialogue? :-)
A confirmation is a good idea. I'm not a fan of the checkbox idea.
Attached patch patch v1.0Splinter Review
Also add this to the bottom of Localizable.strings:

/* cookie removal warning */
"Remove All Cookies" = "Remove All Cookies";
"RemoveAllCookiesWarningTitle" = "Are you sure you want to remove all
cookies?";
"RemoveAllCookiesWarning" = "You cannot undo this action.";
Assignee: pinkerton → joshmoz
Status: NEW → ASSIGNED
Comment on attachment 166436 [details] [diff] [review]
patch v1.0

Not having confirmation is super irritating. Patch is simple.
Attachment #166436 - Flags: superreview?(pinkerton)
Attachment #166436 - Flags: review?(me)
Summary: Confirm remove all cookies, and allow cookie removal to blacklist sites → Confirm remove all cookies
where's the changes to the localized strings file? I'd like to know what the
message reads before approving.

also,

+      delete mCachedCookies;
+      mCachedCookies = nsnull;
+      mCachedCookies = new nsCOMArray<nsICookie>;

the middle line (setting to nsnull) isn't needed. I know it was present in the
original code, but that doesn't mean we need to carry it over.
Comment on attachment 166436 [details] [diff] [review]
patch v1.0

sr=pink
Attachment #166436 - Flags: superreview?(pinkerton) → superreview+
Attachment #166436 - Flags: review?(me)
checked in on trunk with the line pinkerton pointed out removed
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: