mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
76bf714c29
This patch changes Firefox Health Report to pull crash counts from the newly-implemented crash manager. The crash manager is now the canonical source of crash data, so all the code for reading crash dump files from disk has been removed. This regresses the collection capability of Firefox Health Report by removing plugin crashes and hangs from the reported values. This regression is intended to be temporary and a follow-up bug will be created to add plugin process event recording to the crash events system. This regression has been justified because the old crash reporting mechanism was severely flawed and wasn't sending accurate data (not all crashes were being saved to dumps and some dumps would be deleted). --HG-- extra : amend_source : d54bb3bf9f740508cb4eda286536ce16a4c3bee5
25 lines
537 B
ReStructuredText
25 lines
537 B
ReStructuredText
.. _crashes_crashmanager:
|
|
|
|
=============
|
|
Crash Manager
|
|
=============
|
|
|
|
The **Crash Manager** is a service and interface for managing crash
|
|
data within the Gecko application.
|
|
|
|
From JavaScript, the service can be accessed via::
|
|
|
|
Cu.import("resource://gre/modules/Services.jsm");
|
|
let crashManager = Services.crashmanager;
|
|
|
|
That will give you an instance of ``CrashManager`` from ``CrashManager.jsm``.
|
|
From there, you can access and manipulate crash data.
|
|
|
|
Other Documents
|
|
===============
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
|
|
crash-events
|