зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
62062194de
Коммит
d4a1a250f2
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче