Bug 867691 - Make browser_urlbarAutoFillTrimURLs.js clean up after itself properly. r=dao

This commit is contained in:
Gavin Sharp 2013-05-02 15:04:46 -07:00
parent 9ad8d59e1d
commit ae242958d1

View File

@ -14,7 +14,7 @@ function test() {
registerCleanupFunction(function () {
Services.prefs.clearUserPref(PREF_TRIMURL);
Services.prefs.clearUserPref(PREF_AUTOFILL);
URLBarSetURI();
gURLBar.handleRevert();
});
Services.prefs.setBoolPref(PREF_TRIMURL, true);
Services.prefs.setBoolPref(PREF_AUTOFILL, true);