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:
Valentin Gosu
2021-03-04 08:37:02 +00:00
parent cc5f8f3cba
commit ef679fb98f
3 changed files with 1 additions and 5 deletions

View File

@@ -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;