Bug 1954832: Pass app bundle arguments as unicode. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D242299
This commit is contained in:
@@ -512,7 +512,7 @@ nsresult nsMacDockSupport::EnsureAppIsPinnedToDock(
|
||||
}
|
||||
|
||||
nsresult nsMacDockSupport::LaunchAppBundle(
|
||||
nsIFile* aAppBundle, const nsTArray<nsCString>& aArgs,
|
||||
nsIFile* aAppBundle, const nsTArray<nsString>& aArgs,
|
||||
nsIAppBundleLaunchOptions* aLaunchOptions) {
|
||||
NS_OBJC_BEGIN_TRY_BLOCK_RETURN;
|
||||
|
||||
|
||||
@@ -93,6 +93,6 @@ interface nsIMacDockSupport : nsISupports
|
||||
* The `aLaunchOptions` parameter can control aspects of how the bundle is
|
||||
* launched.
|
||||
*/
|
||||
void launchAppBundle(in nsIFile aAppBundle, in Array<ACString> aArgs,
|
||||
void launchAppBundle(in nsIFile aAppBundle, in Array<AString> aArgs,
|
||||
[optional] in nsIAppBundleLaunchOptions aLaunchOptions);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user