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