Closed
Bug 84241
Opened 23 years ago
Closed 23 years ago
Need to disable auto-launch of helper apps by pref
Categories
(SeaMonkey :: General, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla0.9.1
People
(Reporter: phil, Assigned: samir_bugzilla)
Details
(Whiteboard: MUST HAVE; patch; r=vishy; sr=mscott; a=asa)
Attachments
(1 file)
5.18 KB,
patch
|
Details | Diff | Splinter Review |
For unfortunate reasons, Netscape needs our commercial builds to ask users
before launching helper apps for files downloaded from web servers. The reasons
are outlined in http://bugscape.mcom.com/show_bug.cgi?id=5503 and
asa@mozilla.org understands them.
For mozilla builds, we turn this misfeature off by default, leaving the current
behavior in place. So mozilla users can auto-launch apps.
Reporter | ||
Updated•23 years ago
|
Target Milestone: --- → mozilla0.9.1
Reporter | ||
Comment 1•23 years ago
|
||
Reporter | ||
Comment 2•23 years ago
|
||
mscott sr'd. asa approved. need r=
Comment 4•23 years ago
|
||
Phil and I pre-cleared this with Asa, please check in when ready.
Whiteboard: MUST HAVE; patch; r=vishy; sr=mscott; a=asa
Comment 5•23 years ago
|
||
i didn't sr the latest patch that samir posted so it shouldn't say sr=mscott yet =).
I have some comments:
1) can you remove the dump statement
2) can you remove the empty function you added called: getForceAlwaysAskPref()
3) It probably doesn't matter much but I wonder if we should default the
initialization of alwaysAsk to PR_TRUE instead of false just in case
mMimeInfo->GetAlwaysAskBeforeHandling returns an error for some un-expected
reason. Better to err on the side of caution in such a scenario.
sr=mscott
Assignee | ||
Comment 6•23 years ago
|
||
Scott,
Already addressed 1 and 2. I gave item 3 some thought but was not sure what the
rationale for initializing it to false was. I agree with the argument we should
err on the side of caution. Will incorporate the latter into the next patch and
will assume the r, sr, a unless someone feels strongly about seeing the next rev
of the patch.
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P1
Assignee | ||
Comment 7•23 years ago
|
||
Checked in to both trunk and branch. Mozilla will remain unaffected since the
pref "browser.helperApps.alwaysAsk.force" defaults to false for mozilla.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 8•23 years ago
|
||
+ gAskBeforeOpen.checked = handlerInfo.alwaysAsk == "true" ? true :
false;
What's the point of the unnecessarily complex ternary operator? Why not just
gAskBeforeOpen.checked = handlerInfo.alwaysAsk == "true"?
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•