Bug 657154: browser_bug553455.js checks the wrong preference. r=gavin
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user