Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2023-06-23 16:08:10 +08:00
commit 629eeda1f1
28 changed files with 25688 additions and 13368 deletions

View file

@ -622,13 +622,12 @@ PtrInfo::AnnotatedReleaseAssert(bool aCondition, const char* aMessage)
return;
}
#ifdef MOZ_CRASHREPORTER
#ifdef MOZ_DEBUG
const char* piName = "Unknown";
if (mParticipant) {
piName = mParticipant->ClassName();
}
nsPrintfCString msg("%s, for class %s", aMessage, piName);
CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("CycleCollector"), msg);
printf("cc: %s, for class %s\n", aMessage, piName);
#endif
MOZ_CRASH();