diff options
Diffstat (limited to 'toolkit/mozapps/extensions/test/xpcshell/test_undouninstall.js')
-rw-r--r-- | toolkit/mozapps/extensions/test/xpcshell/test_undouninstall.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/toolkit/mozapps/extensions/test/xpcshell/test_undouninstall.js b/toolkit/mozapps/extensions/test/xpcshell/test_undouninstall.js index 4680a3c4a..a589361b6 100644 --- a/toolkit/mozapps/extensions/test/xpcshell/test_undouninstall.js +++ b/toolkit/mozapps/extensions/test/xpcshell/test_undouninstall.js @@ -253,7 +253,7 @@ add_task(function* uninstallInactiveIsCancellable() { yield promiseRestartManager(); }); -// Test that an inactive item can be uninstalled +//Test that an inactive item can be uninstalled add_task(function* uninstallInactive() { let a1 = yield promiseAddonByID("addon1@tests.mozilla.org"); @@ -335,7 +335,7 @@ add_task(function* uninstallRestartless() { BootstrapMonitor.checkAddonNotStarted(ID); }); -// Tests that an enabled restartless add-on can be uninstalled and then cancelled +//Tests that an enabled restartless add-on can be uninstalled and then cancelled add_task(function* cancelUninstallOfRestartless() { prepare_test({ "undouninstall1@tests.mozilla.org": [ @@ -350,7 +350,7 @@ add_task(function* cancelUninstallOfRestartless() { yield promiseInstallAllFiles([do_get_addon("test_undouninstall1")]); ensure_test_completed(); - let a1 = yield promiseAddonByID(ID); + a1 = yield promiseAddonByID(ID); do_check_neq(a1, null); BootstrapMonitor.checkAddonInstalled(ID, "1.0"); @@ -547,7 +547,7 @@ add_task(function* uninstallDisabledRestartless() { do_check_eq(getUninstallReason(ID), ADDON_UNINSTALL); }); -// Tests that a disabled restartless add-on can be uninstalled and then cancelled +//Tests that a disabled restartless add-on can be uninstalled and then cancelled add_task(function* cancelUninstallDisabledRestartless() { prepare_test({ "undouninstall1@tests.mozilla.org": [ @@ -633,8 +633,8 @@ add_task(function* cancelUninstallDisabledRestartless() { a1.uninstall(); }); -// Tests that reinstalling a disabled restartless add-on waiting to be -// uninstalled aborts the uninstall and leaves the add-on disabled +//Tests that reinstalling a disabled restartless add-on waiting to be +//uninstalled aborts the uninstall and leaves the add-on disabled add_task(function* reinstallDisabledAddonAwaitingUninstall() { yield promiseInstallAllFiles([do_get_addon("test_undouninstall1")]); |