Bug 657154: browser_bug553455.js checks the wrong preference. r=gavin

This commit is contained in:
Dave Townsend
2011-05-19 11:03:58 -07:00
parent d2cc6f8509
commit c7c82e0ce1

View File

@@ -96,11 +96,10 @@ function test_disabled_install() {
wait_for_notification_close(function() {
try {
Services.prefs.getBoolPref("xpinstall.disabled");
ok(false, "xpinstall.disabled should not be set");
ok(Services.prefs.getBoolPref("xpinstall.enabled"), "Installation should be enabled");
}
catch (e) {
ok(true, "xpinstall.disabled should not be set");
ok(false, "xpinstall.enabled should be set");
}
gBrowser.removeTab(gBrowser.selectedTab);