Closed Bug 216638 Opened 22 years ago Closed 22 years ago

Remove "Don't ask me again" checkbox for warning about launching executable

Categories

(Toolkit :: Downloads API, enhancement)

enhancement
Not set
normal

Tracking

()

VERIFIED WONTFIX

People

(Reporter: netdragon, Assigned: bugs)

Details

Attachments

(1 file, 4 obsolete files)

I really don't believe we should give people the option to disable the warning on something of this magnitude. Often times, people share computers with others and even if they know better, their friend might not. Perhaps they might forget, also, or not realize the file is an executable type. If people really know what they are doing, they can set the hidden pref, but I don't believe we should have that option available.
var dontaskmsg = strBundle.getString("dontAskAgain"); var checkbox = {value:0}; var okToProceed = promptService.confirmCheck(window, title, msg, dontaskmsg, checkbox); http://lxr.mozilla.org/seamonkey/source/xpfe/components/download-manager/resources/downloadmanager.js#234 http://lxr.mozilla.org/seamonkey/source/embedding/components/ui/progressDlg/nsProgressDialog.js#491
Attached patch The patch. (obsolete) — Splinter Review
People will download .exe so infrequently that this message isn't like other security warnings like entries in forms. It won't hurt to show it each time, and if they really want to get rid of it, they can do it through about:config.
Attached patch Patch with an additional comment (obsolete) — Splinter Review
This patch is the same, but includes a comment mentioning why there is no checkbox.
Attachment #130044 - Attachment is obsolete: true
This will affect Mozilla Seamonkey, also.
Attached patch The last patch (obsolete) — Splinter Review
Neil noticed some issues with the patch. I needed to remove a value from nsProgressDialog.properties, and use confirm, not confirmcheck. I also made Cancel the default choice so people trigger happy on their space key and mouse buttons don't accidentally launch an executable.
Attachment #130045 - Attachment is obsolete: true
Attached patch Truly the last patch (obsolete) — Splinter Review
A line wasn't properly indented.
Attachment #130049 - Attachment is obsolete: true
Attachment #130050 - Flags: superreview?
Attachment #130050 - Flags: review?
Neil just told me that hitting cancel activates the second button, which would be OK in this case. Therefore, I changed it back to confirm instead of confirmEx. The default button on OK CANCEL dialogs should be Cancel or at least you should be able to choose! :-(
Attachment #130050 - Attachment is obsolete: true
Attachment #130050 - Flags: superreview?
Attachment #130050 - Flags: review?
Attachment #130052 - Flags: superreview?
Attachment #130052 - Flags: review?
Repetitive dialogs are annoying and will be ignored after a while. -> ben, WONTFIX?
Assignee: blake → bugs
QA Contact: asa
Then could we at least make this a bit harder to turn off or give a warning that if you turn this off, other users could unknowingly run excecutable files?
QA Contact: mpconnor
we don't even ask anymore.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WONTFIX
Comment on attachment 130052 [details] [diff] [review] The last patch again Bug is wontfix, removing review requests.
Attachment #130052 - Flags: superreview?
Attachment #130052 - Flags: review?
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: