mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +09:00
Remove base conditional code for crash reporter and injector.
This commit is contained in:
parent
87fa26d31e
commit
434f3590e3
131 changed files with 39 additions and 4139 deletions
|
|
@ -188,10 +188,6 @@
|
|||
#include "mozilla/Telemetry.h"
|
||||
#include "mozilla/ThreadLocal.h"
|
||||
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
#include "nsExceptionHandler.h"
|
||||
#endif
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
//#define COLLECT_TIME_DEBUG
|
||||
|
|
@ -3150,14 +3146,6 @@ nsCycleCollector::ScanWhiteNodes(bool aFullySynchGraphBuild)
|
|||
}
|
||||
|
||||
if (pi->mInternalRefs > pi->mRefCount) {
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
const char* piName = "Unknown";
|
||||
if (pi->mParticipant) {
|
||||
piName = pi->mParticipant->ClassName();
|
||||
}
|
||||
nsPrintfCString msg("More references to an object than its refcount, for class %s", piName);
|
||||
CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("CycleCollector"), msg);
|
||||
#endif
|
||||
MOZ_CRASH();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue