gecko-dev/browser
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
..
app No bug, Automated blocklist update from host bld-linux64-spot-388 - a=blocklist-update 2017-03-22 07:50:21 -07:00
base Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike 2017-03-14 16:09:54 -07:00
branding
components Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike 2017-03-14 16:09:54 -07:00
config
docs
experiments Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike 2017-03-14 16:09:54 -07:00
extensions Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike 2017-03-14 16:09:54 -07:00
fonts
installer
locales Bug 1346736 - invalid icon in default bookmarks. r=standard8 2017-03-22 12:13:42 +01:00
modules
themes Merge m-c to inbound, a=merge 2017-03-21 16:20:08 -07:00
tools/mozscreenshots
.eslintrc.js Bug 1348801 - bump eslint to fix orange a=tomcat r=Standard8 2017-03-22 15:52:20 +01:00
LICENSE
Makefile.in
app-rules.mk
app.mozbuild
build.mk
confvars.sh
defs.mk
moz.build
moz.configure