[PALEMOON] Localize a private copy of the pre-richlistbox autocomplete ksmodule

This commit is contained in:
NTD 2018-04-17 13:15:24 -04:00 committed by Roy Tam
commit 51bef58e0b
3 changed files with 298 additions and 0 deletions

View file

@ -35,6 +35,7 @@ Cu.import("resource://gre/modules/Services.jsm");
["OS", "resource://gre/modules/osfile.jsm"],
["LoginManagerParent", "resource://gre/modules/LoginManagerParent.jsm"],
["FormValidationHandler", "resource:///modules/FormValidationHandler.jsm"],
["AutoCompletePopup", "resource:///modules/AutoCompletePopup.jsm"],
["DateTimePickerHelper", "resource://gre/modules/DateTimePickerHelper.jsm"],
].forEach(([name, resource]) => XPCOMUtils.defineLazyModuleGetter(this, name, resource));
@ -405,6 +406,8 @@ BrowserGlue.prototype = {
#endif
FormValidationHandler.init();
AutoCompletePopup.init();
LoginManagerParent.init();
Services.obs.notifyObservers(null, "browser-ui-startup-complete", "");
@ -515,6 +518,7 @@ BrowserGlue.prototype = {
webrtcUI.uninit();
#endif
FormValidationHandler.uninit();
AutoCompletePopup.uninit();
this._dispose();
},