зеркало из https://github.com/mozilla/gecko-dev.git
bug 769302 - annotate accessibility instantiation in crash reports r=tbsaunde f=davidb
This commit is contained in:
Родитель
8a81637544
Коммит
bca1339e96
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче