Bug 301353 (followup): return value from JS_ThrowReportedError, telepathic

r=brendan, a=shaver.
This commit is contained in:
shaver%mozilla.org 2005-07-20 15:35:13 +00:00
parent 58acff1ca2
commit 42c6c08978

View File

@ -4478,7 +4478,7 @@ JS_PUBLIC_API(JSBool)
JS_ThrowReportedError(JSContext *cx, const char *message,
JSErrorReport *reportp)
{
js_ErrorToException(cx, message, reportp);
return js_ErrorToException(cx, message, reportp);
}
#ifdef JS_THREADSAFE