Closed
Bug 175359
Opened 22 years ago
Closed 21 years ago
Add confirm dialog for Remove All Cookies/Remove All Sites
Categories
(Core :: Networking: Cookies, enhancement, P3)
Core
Networking: Cookies
Tracking
()
VERIFIED
FIXED
mozilla1.7alpha
People
(Reporter: junkmail, Assigned: mconnor)
Details
(Whiteboard: checkmac checklinux)
Attachments
(1 file, 1 obsolete file)
4.86 KB,
patch
|
mvl
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
Both the Stored Cookies and Cookie Sites tabs in the Cookie Manager dialog box
work the same way, and have the same problem: The Remove [one] button is
adjacent to the Remove [All] button, and there's no safety for the Remove all.
This bit me on the Cookie site tab but I guess it could be an issue on the
Stored Cookie tab as well. I tend to block all cookies and then go back and
allow specific sites. If I slip and hit the Remove All Sites button instead of
Remove Site, I lose months and months of accumulated information about which
sites can and can't set cookies. A confirmation dialog would solve the problem
of mis-clicks.
Comment 1•22 years ago
|
||
sounds like a good idea to me, Steve what do you think?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Too easy to "Remove All Sites" and "Remove All Cookies" → [rfe] Add confirm dialog for Remove All Cookies button (was Too easy to "Remove All Sites" and "Remove All Cookies")
Jatin, can you please review the text/string used in this patch?
+deleteAllCookies=Are you sure you want to delete all the cookies?
+deleteAllCookiesSites=Are you sure you want to delete all the cookies sites?
Thanks!
Comment 5•22 years ago
|
||
Looks good to me, r=jatin
Updated•22 years ago
|
Severity: minor → enhancement
Summary: [rfe] Add confirm dialog for Remove All Cookies button (was Too easy to "Remove All Sites" and "Remove All Cookies") → Add confirm dialog for Remove All Cookies button (was Too easy to "Remove All Sites" and "Remove All Cookies")
Comment 6•21 years ago
|
||
Since a patch and review for it is available for 9 months already - isn't it a
good idea to include it into nearest Mozilla milestone?
Comment 7•21 years ago
|
||
Comment on attachment 113733 [details] [diff] [review]
patch
> function DeleteAllCookies() {
>+ if (!confirm(cookieBundle.getString("deleteAllCookies")))
>+ return;
Use the promptservice instead of confirm().
Attachment #113733 -
Flags: review-
Assignee | ||
Comment 8•21 years ago
|
||
-> me
Assignee: skasinathan → mconnor
Status: ASSIGNED → NEW
Target Milestone: --- → mozilla1.7alpha
Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P3
QA Contact: tever → cookieqa
Summary: Add confirm dialog for Remove All Cookies button (was Too easy to "Remove All Sites" and "Remove All Cookies") → Add confirm dialog for Remove All Cookies/Remove All Sites
Assignee | ||
Comment 9•21 years ago
|
||
this also differentiates the dialog for Remove All Sites depending on whether
it is for images or cookies, which the original did not do.
Attachment #113733 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #138504 -
Flags: review?(mvl)
Comment 10•21 years ago
|
||
Comment on attachment 138504 [details] [diff] [review]
patch against tip using promptservice.
>Index: mozilla/extensions/wallet/cookieviewer/resources/content/CookieViewer.js
>@@ -532,14 +540,20 @@ function buttonEnabling(textfield) {
>+ var msgType = dialogType == cookieType ? "deleteAllCookiesSites" : "deleteAllImagesSites";
I personally find it more clear to write | msgType = (dialogType == cookieType)
? |
>Index: mozilla/extensions/wallet/cookieviewer/resources/locale/en-US/CookieViewer.properties
>+deleteAllCookies=Are you sure you want to delete all the cookies?
>+deleteAllCookiesTitle=Remove All Cookies
>+deleteAllCookiesSites=Are you sure you want to delete all of the cookie sites?
>+deleteAllImagesSites=Are you sure you want to delete all of the image sites?
>+deleteAllSitesTitle=Remove All Sites
r=mvl, but i'm not sure i like the "delete cookie sites" part. I would like to
delete doubleclick.net, but i can't ;) But maybe it is just me not being native
english. Let someone else look at that.
Attachment #138504 -
Flags: review?(mvl) → review+
Assignee | ||
Comment 11•21 years ago
|
||
Comment on attachment 138504 [details] [diff] [review]
patch against tip using promptservice.
I guess my feeling on the cookie sites bit is that its not perfect, but that's
what the tab is called.
Attachment #138504 -
Flags: superreview?(darin)
Assignee | ||
Comment 12•21 years ago
|
||
Comment on attachment 138504 [details] [diff] [review]
patch against tip using promptservice.
moving this to alecf, darin is pretty swamped for SR
Attachment #138504 -
Flags: superreview?(darin) → superreview?(alecf)
Comment 13•21 years ago
|
||
Comment on attachment 138504 [details] [diff] [review]
patch against tip using promptservice.
nice. sr=alecf
Attachment #138504 -
Flags: superreview?(alecf) → superreview+
Assignee | ||
Comment 14•21 years ago
|
||
landed on trunk 01/27/2004 08:41
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 15•21 years ago
|
||
V/fixed:
Mac OS X, 1.7.2.
Status: RESOLVED → VERIFIED
Whiteboard: checkmac checklinux
You need to log in
before you can comment on or make changes to this bug.
Description
•