mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-29 03:44:37 +00:00
suiterunner doesn't compose using -url b=337020 sr=mscott
This commit is contained in:
parent
5b30fac518
commit
dd48d4653c
@ -1386,10 +1386,12 @@ nsMsgComposeService::Handle(nsICommandLine* aCmdLine)
|
||||
rv = aCmdLine->FindFlag(NS_LITERAL_STRING("compose"), PR_FALSE, &found);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
#ifndef MOZ_SUITE
|
||||
// MAC OS X passes in -url mailto:mscott@mozilla.org into the command line
|
||||
// instead of -compose.
|
||||
if (found == -1)
|
||||
rv = aCmdLine->FindFlag(NS_LITERAL_STRING("url"), PR_FALSE, &found);
|
||||
#endif
|
||||
|
||||
if (found == -1)
|
||||
return NS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user