author | Makoto Kato <m_kato@ga2.so-net.ne.jp> |
Fri, 14 Oct 2011 11:23:12 +0900 | |
changeset 78722 | 411c5d481dc15a1dfefa4b3ab01bca95d7a74922 |
parent 78721 | c7542ce9069aa584190e6795e549d76dcf0a07bc |
child 78723 | 4d615b5d42d80c0bc978cec95a20be0efdea83a4 |
push id | 21326 |
push user | bmo@edmorley.co.uk |
push date | Fri, 14 Oct 2011 10:00:06 +0000 |
treeherder | mozilla-central@ca73f057dab7 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | bsmedberg |
bugs | 692689 |
milestone | 10.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/toolkit/xre/nsEmbedFunctions.cpp +++ b/toolkit/xre/nsEmbedFunctions.cpp @@ -732,17 +732,17 @@ bool XRE_SendTestShellCommand(JSContext* aCx, JSString* aCommand, void* aCallback) { TestShellParent* tsp = GetOrCreateTestShellParent(); 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); } TestShellCommandParent* callback = static_cast<TestShellCommandParent*>( tsp->SendPTestShellCommandConstructor(command)); NS_ENSURE_TRUE(callback, false);