Backed out changeset b1ce6a65a214 (bug 1414318) for failing xpcshell on toolkit/components/terminator/tests/xpcshell/test_terminator_record.js r=backout on a CLOSED TREE

This commit is contained in:
Coroiu Cristina 2017-11-07 03:12:25 +02:00
Родитель 62062194de
Коммит d4a1a250f2
2 изменённых файлов: 7 добавлений и 8 удалений

Просмотреть файл

@ -228,8 +228,7 @@ void RunWriter(void* arg)
// Setup destinationPath and tmpFilePath
nsCString destinationPath;
destinationPath.Adopt(static_cast<char*>(arg));
nsCString destinationPath(static_cast<char*>(arg));
nsAutoCString tmpFilePath;
tmpFilePath.Append(destinationPath);
tmpFilePath.AppendLiteral(".tmp");
@ -362,12 +361,12 @@ nsTerminator::Start()
{
MOZ_ASSERT(!mInitialized);
StartWatchdog();
#if !defined(NS_FREE_PERMANENT_DATA)
// Only allow nsTerminator to write on non-leak-checked builds so we don't
// get leak warnings on shutdown for intentional leaks (see bug 1242084).
// This will be enabled again by bug 1255484 when 1255478 lands.
#if !defined(DEBUG)
// Only allow nsTerminator to write on non-debug builds so we don't get leak warnings on
// shutdown for intentional leaks (see bug 1242084). This will be enabled again by bug
// 1255484 when 1255478 lands.
StartWriter();
#endif // !defined(NS_FREE_PERMANENT_DATA)
#endif // !defined(DEBUG)
mInitialized = true;
}

Просмотреть файл

@ -2,6 +2,6 @@
head=
[test_terminator_record.js]
skip-if = asan # Disabled by bug 1242084, bug 1255484 will enable it again.
skip-if = debug # Disabled by bug 1242084, bug 1255484 will enable it again.
[test_terminator_reload.js]
skip-if = os == "android"