зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1360788 - Part 2: Remove some dead code that is left over from bug 1077652
This commit is contained in:
Родитель
584faa1af2
Коммит
64526e4433
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче