Commit Graph

18 Commits

Author SHA1 Message Date
Gregory Szorc
f4f2d2baf5 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
David Rajchenbach-Teller
2d7f522c3b Bug 854169 - Build the binary support for Lz4.js. r=glandium 2014-01-09 17:10:04 +01:00
Yura Zenevich
666e631d51 Bug 853439 - Add js-ctypes bindings for sqlite. r=yoric, r=gps, sr=Mossop 2013-12-19 11:47:25 -05:00
Michael Brennan
8e01e3a394 Bug 888373: Simple API for detecting startup/shutdown crashes;r=yoric,gps 2013-11-15 16:46:44 +01:00
Ryan VanderMeulen
02679e3cd5 Backed out changesets 4117364f58fb and cb99aff2574e (bug 888373) for xpcshell failures. 2013-12-02 13:11:44 -05:00
Michael Brennan
27372412fa Bug 888373 - Simple API for detecting startup/shutdown crashes. r=yoric 2013-11-15 16:46:44 +01:00
Ryan VanderMeulen
4669225953 Backed out 5 changesets (bug 854169) for Android crashes.
Backed out changeset 8898b6c66941 (bug 854169)
Backed out changeset 12cebd8b5669 (bug 854169)
Backed out changeset 844860e32631 (bug 854169)
Backed out changeset 4ede802f8dbb (bug 854169)
Backed out changeset ccae8b3f0a7d (bug 854169)
2013-11-08 10:52:02 -05:00
David Rajchenbach-Teller
48cfc67869 Bug 854169 - Build the binary support for Lz4.js. r=glandium 2013-11-08 09:16:04 -05:00
David Rajchenbach-Teller
982856f764 Bug 903433 - Add FinalizationWitnessService. r=Waldo, r=glandium, sr=Mossop 2013-10-12 14:17:43 -04:00
Joey Armstrong
bfded569cf bug 870370: move EXTRA_COMPONENTS to moz.build (file batch #2). r=mshal 2013-06-10 11:19:28 -04:00
David Rajchenbach-Teller
5f88c081a4 Bug 872421 - Simple module loader for workers. r=gozala 2013-06-10 11:01:59 -04:00
Shane Caraveo
d2202245ba bug 869209 order provider entries by frecency, r=mak 2013-05-11 10:54:31 -07:00
Fabrice Desré
559e6dfd4a Bug 853350 - Implement a notification system to monitor disk space r=bent 2013-05-09 15:57:31 -07:00
Paolo Amadini
678122da22 Bug 851461 - Make the JavaScript API for downloads available in parallel to nsIDownloadManager. r=mak 2013-04-22 04:23:25 +02:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Gregory Szorc
cc8470b5e8 Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00