From 68eb6887ec580d164c0042da561742166e25a1ac Mon Sep 17 00:00:00 2001 From: Makoto Kato Date: Fri, 14 Oct 2011 11:23:12 +0900 Subject: [PATCH] Bug 692689 - XRE_SendTestShellCommand returns NS_ERROR_FAILURE. r=bsmedberg --- toolkit/xre/nsEmbedFunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/xre/nsEmbedFunctions.cpp b/toolkit/xre/nsEmbedFunctions.cpp index 2c8c5a16538f..9c05d61aabfb 100644 --- a/toolkit/xre/nsEmbedFunctions.cpp +++ b/toolkit/xre/nsEmbedFunctions.cpp @@ -737,7 +737,7 @@ XRE_SendTestShellCommand(JSContext* aCx, NS_ENSURE_TRUE(tsp, false); nsDependentJSString command; - NS_ENSURE_TRUE(command.init(aCx, aCommand), NS_ERROR_FAILURE); + NS_ENSURE_TRUE(command.init(aCx, aCommand), false); if (!aCallback) { return tsp->SendExecuteCommand(command);