mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
3d91da8726
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 |
||
---|---|---|
.. | ||
android | ||
gonk | ||
mac | ||
tests | ||
uikit | ||
unix | ||
win | ||
ContentHandlerService.cpp | ||
ContentHandlerService.h | ||
ExternalHelperAppChild.cpp | ||
ExternalHelperAppChild.h | ||
ExternalHelperAppParent.cpp | ||
ExternalHelperAppParent.h | ||
HandlerServiceChild.h | ||
HandlerServiceParent.cpp | ||
HandlerServiceParent.h | ||
moz.build | ||
nsCExternalHandlerService.idl | ||
nsContentHandlerApp.cpp | ||
nsContentHandlerApp.h | ||
nsDBusHandlerApp.cpp | ||
nsDBusHandlerApp.h | ||
nsExternalHelperAppService.cpp | ||
nsExternalHelperAppService.h | ||
nsExternalProtocolHandler.cpp | ||
nsExternalProtocolHandler.h | ||
nsHandlerService-json.js | ||
nsHandlerService-json.manifest | ||
nsHandlerService.js | ||
nsHandlerService.manifest | ||
nsIContentDispatchChooser.idl | ||
nsIExternalHelperAppService.idl | ||
nsIExternalProtocolService.idl | ||
nsIExternalSharingAppService.idl | ||
nsIExternalURLHandlerService.idl | ||
nsIHandlerService.idl | ||
nsIHelperAppLauncherDialog.idl | ||
nsLocalHandlerApp.cpp | ||
nsLocalHandlerApp.h | ||
nsMIMEInfoImpl.cpp | ||
nsMIMEInfoImpl.h | ||
nsWebHandlerApp.js | ||
nsWebHandlerApp.manifest | ||
PExternalHelperApp.ipdl | ||
PHandlerService.ipdl |