зеркало из https://github.com/mozilla/gecko-dev.git
Bug 556230: add string bundle service to Services.jsm, r=Mossop
--HG-- extra : rebase_source : 73f5a4950b1d0fea4264c715ff4c9d0693cb62c5
This commit is contained in:
Родитель
1dc4c46db0
Коммит
364c02a5c9
|
@ -112,3 +112,7 @@ XPCOMUtils.defineLazyServiceGetter(Services, "tm",
|
|||
XPCOMUtils.defineLazyServiceGetter(Services, "console",
|
||||
"@mozilla.org/consoleservice;1",
|
||||
"nsIConsoleService");
|
||||
|
||||
XPCOMUtils.defineLazyServiceGetter(Services, "strings",
|
||||
"@mozilla.org/intl/stringbundle;1",
|
||||
"nsIStringBundleService");
|
||||
|
|
|
@ -64,4 +64,5 @@ function checkServices() {
|
|||
checkService("scriptloader", Ci.mozIJSSubScriptLoader);
|
||||
checkService("ww", Ci.nsIWindowWatcher);
|
||||
checkService("tm", Ci.nsIThreadManager);
|
||||
checkService("strings", Ci.nsIStringBundleService);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче