mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-08 00:07:30 +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
|
|
@ -14,11 +14,6 @@
|
|||
#include "mozilla/net/DNS.h"
|
||||
#include "TimingStruct.h"
|
||||
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
#include "nsExceptionHandler.h"
|
||||
#include "nsPrintfCString.h"
|
||||
#endif
|
||||
|
||||
namespace IPC {
|
||||
|
||||
// nsIPermissionManager utilities
|
||||
|
|
@ -102,12 +97,6 @@ struct ParamTraits<mozilla::net::NetAddr>
|
|||
aMsg->WriteBytes(aParam.local.path, sizeof(aParam.local.path));
|
||||
#endif
|
||||
} else {
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
if (XRE_IsParentProcess()) {
|
||||
nsPrintfCString msg("%d", aParam.raw.family);
|
||||
CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("Unknown NetAddr socket family"), msg);
|
||||
}
|
||||
#endif
|
||||
NS_RUNTIMEABORT("Unknown socket family");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue