gecko-dev/toolkit/mozapps/update
Zibi Braniecki 3d91da8726 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N

--HG--
extra : rebase_source : 513ed31d995864939aa893e73c81ffdf591a6617
2017-03-14 16:09:54 -07:00
..
common Bug 1318562 - Remove Navigator.updateManager; r=baku 2016-11-18 09:01:49 -05:00
common-standalone Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium. 2015-08-27 20:44:53 -07:00
content Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike 2017-03-14 16:09:54 -07:00
tests Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws 2017-03-20 12:36:37 +01:00
updater Bug 1338086 - Remove useless else blocks in order to reduce complexity in toolkit/mozapps/update/updater/ r=Ehsan 2017-02-09 10:57:33 +01:00
UpdateTelemetry.jsm client code for Bug 1315506 - Remove app.update.url.override preference. r=mhowell 2016-11-11 12:58:47 -08:00
jar.mn
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
nsIUpdateService.idl bug 1296207 app update client code - Remove unused app update billboard capability. r=mhowell 2016-08-25 13:32:11 -07:00
nsUpdateService.js Bug 1346671 - Enable the no-useless-concat eslint rule in toolkit/ r=jaws 2017-03-13 17:34:24 -05:00
nsUpdateService.manifest client code for Bug 1315505 - Add min and max values to app update integer values configured by preferences as appropriate to prevent prefs from breaking app update. r=mhowell 2016-11-10 09:06:25 -08:00
nsUpdateServiceStub.js Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN 2016-12-29 18:34:54 -05:00