gecko-dev/dom/encoding
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
..
test Bug 1341668. Reenable various stylo dom reftests. r=bholley 2017-02-22 11:18:59 -05:00
EncodingUtils.cpp Bug 1335207: Add constexpr to data tables under dom/ for better codegen on Windows. r=ehsan 2017-02-01 15:42:33 +13:00
EncodingUtils.h
FallbackEncoding.cpp Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike 2017-03-14 16:09:54 -07:00
FallbackEncoding.h
TextDecoder.cpp
TextDecoder.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
TextEncoder.cpp Bug 1331434 - Part 9: Return after ErrorResult::Throw in /dom, r=ehsan 2017-03-07 19:06:48 -05:00
TextEncoder.h
domainsfallbacks.properties
encodingsgroups.properties
labelsencodings.properties
localesfallbacks.properties
moz.build Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt 2017-03-01 08:20:25 -05:00
nonparticipatingdomains.properties