зеркало из https://github.com/mozilla/pjs.git
bug 408729 - collect time since open stat. r=mento
This commit is contained in:
Родитель
b8e787bfc5
Коммит
e78404e014
|
@ -417,6 +417,12 @@ nsresult SetExceptionHandler(nsILocalFile* aXREDirectory,
|
|||
AnnotateCrashReport(NS_LITERAL_CSTRING("ServerURL"),
|
||||
nsDependentCString(aServerURL));
|
||||
|
||||
// store application start time
|
||||
char timeString[32];
|
||||
XP_TTOA(time(NULL), timeString, 10);
|
||||
AnnotateCrashReport(NS_LITERAL_CSTRING("StartupTime"),
|
||||
nsDependentCString(timeString));
|
||||
|
||||
#if defined(XP_MACOSX)
|
||||
// On OS X, many testers like to see the OS crash reporting dialog
|
||||
// since it offers immediate stack traces. We allow them to set
|
||||
|
|
Загрузка…
Ссылка в новой задаче