gecko/toolkit
Gregory Szorc 72d5471898 Bug 875562 - Part 2: Create CrashManager API for managing crash data; r=ted, Yoric
The tree doesn't have a robust and reusable API for interfacing with
crash data. This patch is the start of a new API.

In this patch, the CrashManager type is introduced. It has APIs for
retrieving the lists of files related to crash dumps. In subsequent
patches, I will convert existing code in the tree that does similar
things to the new API. I will also build the events/timeline API onto
this type.

I made CrashManager generic because I hate, hate, hate singletons and
global variables. Allowing it to be instantiated multiple times with
different options (instead of say binding a global instance to ProfD)
makes the testing story much, much nicer. That is reason enough, IMO. In
a subsequent patch, I'll add an XPCOM service that instantiates the
"global" instance of CrashManager with the appropriate options.

It was tempting to add this code into the existing CrashReports.jsm.
However, this file does not import cleanly in xpcshell tests and I
didn't want to bloat scope to include fixing that file... yet.
CrashReports.jsm is using synchronous I/O. So, depending on how
adventerous I feel, I may replace consumers of CrashReports.jsm with the
new CrashManager.jsm, remove CrashReports.jsm, and eliminate another
source of synchronous I/O in the tree.

--HG--
extra : rebase_source : 379fa6a78b53bc0dea0c7c64e8b1bdcf85b61a7c
2013-11-19 14:08:25 -08:00
..
components Bug 875562 - Part 2: Create CrashManager API for managing crash data; r=ted, Yoric 2013-11-19 14:08:25 -08:00
content Merge fx-team to m-c. 2014-01-24 17:00:09 -05:00
crashreporter Bug 414071 - Let escape key close crash reporter dialog. r=ted 2014-01-16 08:44:45 -05:00
devtools Bug 961392 - B2G RemoteDebugger.start() and toolkit DebuggerServer.addBrowserActors() duplicate code. r=ochameau, r=past 2014-01-24 12:11:00 +02:00
forgetaboutsite Bug 937380 - Fix forgetaboutsite/test/browser/browser_clearplugindata.js failure when browser-chrome tests are split into chunks. r=bsmedberg 2013-11-19 14:47:43 -08:00
identity Bug 963674 - Remove xul appinfo from xpcshell tests. r=MattN 2014-01-24 13:23:21 -08:00
library Bug 958108 - Remove delayload from some DLLs on windows because it was causing webapps to hang at startup. r=glandium 2014-01-21 13:53:48 -05:00
locales Bug 960095 - Remove extra saveStyleSheet.title entities from browser/devtools/styleeditor.properties. r=dcamp 2014-01-27 08:11:48 -05:00
modules Bug 964064 - shortcuts should always be uppercase, r=Unfocused 2014-01-26 23:53:22 +00:00
mozapps Bug 963848 - head_update.js is copied to unit_service_updater even when MOZ_MAINTENANCE_SERVICE is not defined. r=bbondy 2014-01-27 10:35:43 -08:00
obsolete Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium 2013-12-10 16:18:11 +09:00
profile Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium 2013-12-10 16:18:11 +09:00
system Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
themes Bug 960528 - Removed dotted outline from richlistbox as used in the Places modal -> Downloads list. r=dao 2014-01-25 17:14:08 +01:00
webapps Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
xre Merge mozilla-central to b2g-inbound 2014-01-13 14:44:08 +01:00
moz.build
toolkit.mozbuild Bug 891066, part 2: Move CertVerifier to security/certverifier, r=keeler 2014-01-26 19:36:28 -08:00