Bug 1360788 - Part 2: Remove some dead code that is left over from bug 1077652

This commit is contained in:
Ehsan Akhgari 2017-05-02 19:03:57 -04:00
Родитель 584faa1af2
Коммит 64526e4433
1 изменённых файлов: 0 добавлений и 7 удалений

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

@ -77,13 +77,6 @@ registerCleanupFunction(function() {
}
});
// Stop any update timers to prevent unexpected updates in later tests
let timer = NewTabUtils.allPages._scheduleUpdateTimeout;
if (timer) {
clearTimeout(timer);
delete NewTabUtils.allPages._scheduleUpdateTimeout;
}
Services.prefs.clearUserPref(PREF_NEWTAB_ENABLED);
Services.prefs.setCharPref(PREF_NEWTAB_DIRECTORYSOURCE, gOrigDirectorySource);