bug 769302 - annotate accessibility instantiation in crash reports r=tbsaunde f=davidb

This commit is contained in:
Arun Sukumaran Latha 2012-07-20 14:43:49 -04:00
Родитель 8a81637544
Коммит bca1339e96
1 изменённых файлов: 10 добавлений и 0 удалений

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

@ -42,6 +42,10 @@
#include "Logging.h"
#endif
#ifdef MOZ_CRASHREPORTER
#include "nsExceptionHandler.h"
#endif
#include "nsIDOMDocument.h"
#include "nsIDOMHTMLObjectElement.h"
#include "nsIDOMXULElement.h"
@ -1223,6 +1227,12 @@ nsAccessibilityService::Init()
// Initialize accessibility.
nsAccessNodeWrap::InitAccessibility();
#ifdef MOZ_CRASHREPORTER
CrashReporter::
AnnotateCrashReport(NS_LITERAL_CSTRING("Accessibility"),
NS_LITERAL_CSTRING("Active"));
#endif
gIsShutdown = false;
return true;
}