Bug 1696193 - Stop setting Firefox as default handler for FTP r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D107079
This commit is contained in:
@@ -83,9 +83,6 @@ nsMacShellService::SetDefaultBrowser(bool aClaimAllTypes, bool aForAllUsers) {
|
||||
}
|
||||
|
||||
if (aClaimAllTypes) {
|
||||
if (::LSSetDefaultHandlerForURLScheme(CFSTR("ftp"), firefoxID) != noErr) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
if (::LSSetDefaultRoleHandlerForContentType(kUTTypeHTML, kLSRolesAll,
|
||||
firefoxID) != noErr) {
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
Reference in New Issue
Block a user