Bug 1580642 - Fix failing test_bootstrap.js. r=mkmelin DONTBUILD

This commit is contained in:
Geoff Lankow 2019-09-19 21:23:48 +12:00
Родитель 4fc80ffe10
Коммит b747a8d03a
1 изменённых файлов: 2 добавлений и 3 удалений

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

@ -543,15 +543,15 @@ add_task(async function test_8() {
await checkBootstrappedPref(); await checkBootstrappedPref();
}); });
/* Disabled test 9 and test 10, see bug 1580642.
// Test that items detected as removed during startup get removed properly // Test that items detected as removed during startup get removed properly
add_task(async function test_9() { add_task(async function test_9() {
await promiseShutdownManager(); await promiseShutdownManager();
manuallyUninstall(profileDir, ID1); manuallyUninstall(profileDir, ID1);
BootstrapMonitor.clear(ID1);
await promiseStartupManager(); await promiseStartupManager();
startupCacheMonitor.check(true);
BootstrapMonitor.clear(ID1);
let b1 = await AddonManager.getAddonByID(ID1); let b1 = await AddonManager.getAddonByID(ID1);
equal(b1, null); equal(b1, null);
@ -652,7 +652,6 @@ add_task(async function test_10() {
await checkBootstrappedPref(); await checkBootstrappedPref();
startupCacheMonitor.check(false); startupCacheMonitor.check(false);
}); });
*/
// Tests that uninstalling a disabled add-on still calls the uninstall method // Tests that uninstalling a disabled add-on still calls the uninstall method
add_task(async function test_11() { add_task(async function test_11() {