зеркало из https://github.com/mozilla/gecko-dev.git
Bug 956468 - Fix "ReferenceError: assignment to undeclared variable res" in nsUpdateService.js. r=rstrong
This commit is contained in:
Родитель
0e7ba99451
Коммит
37cf564ad1
|
@ -1305,7 +1305,7 @@ function getLocale() {
|
|||
if (gLocale)
|
||||
return gLocale;
|
||||
|
||||
for each (res in ['app', 'gre']) {
|
||||
for (let res of ['app', 'gre']) {
|
||||
var channel = Services.io.newChannel("resource://" + res + "/" + FILE_UPDATE_LOCALE, null, null);
|
||||
try {
|
||||
var inputStream = channel.open();
|
||||
|
|
Загрузка…
Ссылка в новой задаче