mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 657154: browser_bug553455.js checks the wrong preference. r=gavin
This commit is contained in:
parent
7385967f03
commit
dc5482813f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user