mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +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
|
|
@ -7,9 +7,6 @@
|
|||
#include "mozilla/BasePrincipal.h"
|
||||
|
||||
#include "nsDocShell.h"
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
#include "nsExceptionHandler.h"
|
||||
#endif
|
||||
#include "nsIAddonPolicyService.h"
|
||||
#include "nsIContentSecurityPolicy.h"
|
||||
#include "nsIEffectiveTLDService.h"
|
||||
|
|
@ -149,10 +146,6 @@ OriginAttributes::CreateSuffix(nsACString& aStr) const
|
|||
|
||||
if (!mAddonId.IsEmpty()) {
|
||||
if (mAddonId.FindCharInSet(dom::quota::QuotaManager::kReplaceChars) != kNotFound) {
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("Crash_AddonId"),
|
||||
NS_ConvertUTF16toUTF8(mAddonId));
|
||||
#endif
|
||||
MOZ_CRASH();
|
||||
}
|
||||
params->Set(NS_LITERAL_STRING("addonId"), mAddonId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue