Bug 1481009 Part 1 - Enable the crash reporter exception handler in recording, replaying, and middleman processes, r=gsvelto.

--HG--
extra : rebase_source : bf51ed95a0e06b6e5710700785e2c37c0636bc03
This commit is contained in:
Brian Hackett 2018-08-13 20:45:59 +00:00
Родитель 288e82c02c
Коммит ecd9c2fa25
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -295,10 +295,7 @@ XRE_SetRemoteExceptionHandler(const char* aPipe /*= 0*/,
XRE_SetRemoteExceptionHandler(const char* aPipe /*= 0*/)
#endif
{
// Crash reporting is disabled for now when recording or replaying executions.
if (recordreplay::IsRecordingOrReplaying() || recordreplay::IsMiddleman()) {
return true;
}
recordreplay::AutoPassThroughThreadEvents pt;
#if defined(XP_WIN)
return CrashReporter::SetRemoteExceptionHandler(nsDependentCString(aPipe),
aCrashTimeAnnotationFile);