Bug 956468 - Fix "ReferenceError: assignment to undeclared variable res" in nsUpdateService.js. r=rstrong

This commit is contained in:
Chris Peterson 2013-12-31 20:18:47 -08:00
Родитель 0e7ba99451
Коммит 37cf564ad1
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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();