mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 663748 - js shell doesn't sometimes output exceptions on Win64. r=luke
This commit is contained in:
parent
5164fb3ecf
commit
010d6b4185
@ -4871,6 +4871,7 @@ my_ErrorReporter(JSContext *cx, const char *message, JSErrorReport *report)
|
||||
|
||||
if (!report) {
|
||||
fprintf(gErrFile, "%s\n", message);
|
||||
fflush(gErrFile);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -4933,6 +4934,7 @@ my_ErrorReporter(JSContext *cx, const char *message, JSErrorReport *report)
|
||||
}
|
||||
fputs("^\n", gErrFile);
|
||||
out:
|
||||
fflush(gErrFile);
|
||||
if (!JSREPORT_IS_WARNING(report->flags)) {
|
||||
if (report->errorNumber == JSMSG_OUT_OF_MEMORY) {
|
||||
gExitCode = EXITCODE_OUT_OF_MEMORY;
|
||||
|
Loading…
Reference in New Issue
Block a user