gecko-dev/devtools/shared
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
..
acorn Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps 2017-01-18 10:30:39 +00:00
apps Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
client Bug 1268134 - Add client and toolbox access to specific windows. r=ochameau 2016-04-14 17:09:49 -05:00
css Bug 1326100 - Restore notable inline comments in DevTools. r=tromey 2017-03-20 16:22:55 -05:00
discovery Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps 2017-01-18 10:30:39 +00:00
fronts Bug 1345112 - Fix invalid console.trace() calls in inspector front. r=jdescottes 2017-03-11 05:39:00 -05:00
gcli Bug 1342928 - Keep the commands / buttons state in sync; r=jwalker 2017-03-20 14:54:03 +01:00
heapsnapshot Bug 1326100 - Restore notable inline comments in DevTools. r=tromey 2017-03-20 16:22:55 -05:00
inspector Bug 1327773 - Fix non-functioning devtools option 'Indent using spaces' by modifying prettifyCSS.js; r=tromey 2017-02-07 21:06:28 +05:30
jsbeautify Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
layout Bug 1348267 - used display density pixel ratio to scale the font size; r=pbro 2017-03-17 12:07:11 +01:00
locales Bug 1316855 - Tooltip of "Toolbox Buttons" should show their shortcut. r=jryans 2016-11-29 13:21:00 -05:00
node-properties Bug 1298012 - move l10n.js from devtools/client/shared to devtools/shared;r=bgrins 2016-08-25 17:51:42 +02:00
performance Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps 2017-01-18 10:30:39 +00:00
platform Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
pretty-fast Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps 2017-01-18 10:30:39 +00:00
qrcode Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
security 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
shims Bug 1320084 - Remove useless devtools JSM shims. r=jryans 2017-01-04 09:11:25 -08:00
sourcemap Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps 2017-01-18 10:30:39 +00:00
specs Bug 1329111 - Update devtools users of nsIProfiler.getSharedLibraryInformation. r=gregtatum 2017-03-14 19:20:21 -04:00
sprintfjs Bug 1298012 - move l10n.js from devtools/client/shared to devtools/shared;r=bgrins 2016-08-25 17:51:42 +02:00
tests Bug 1314361 - Part 3: Stop using origin attributes for add-on ID in console filtering. r=baku 2017-02-26 13:13:45 -08:00
touch Bug 1326100 - Restore notable inline comments in DevTools. r=tromey 2017-03-20 16:22:55 -05:00
transport Bug 1326410 - Fixing ESLint Errors. r=ntim 2017-02-06 06:53:00 +00:00
webconsole 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
worker Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
.eslintrc.js Bug 1338585 - Add an eslint rule to require using .ownerGlobal instead of .ownerDocument.defaultView, r=jaws. 2017-02-13 13:01:32 +01:00
DevToolsUtils.js Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Loader.jsm Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Parser.jsm Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
ThreadSafeDevToolsUtils.js Bug 1321839 - make devtools/shared eslint-clean; r=jryans 2016-12-02 10:32:04 -07:00
async-storage.js Bug 1291834 - make indexDB a global via devtools loader; r=jryans 2016-08-03 13:26:34 -06:00
async-utils.js Bug 1292245 - remove some unnecessary imports of chrome from devtools; r=gregtatum 2016-08-04 11:55:40 -06:00
builtin-modules.js Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
content-observer.js Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
defer.js Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
deprecated-sync-thenables.js Bug 1321839 - make devtools/shared eslint-clean; r=jryans 2016-12-02 10:32:04 -07:00
dom-node-constants.js Bug 1321839 - make devtools/shared eslint-clean; r=jryans 2016-12-02 10:32:04 -07:00
dom-node-filter-constants.js Bug 1274609 - Replace uses of Ci.nsIDOMNodeFilter constants. r=jlongster 2016-07-11 20:28:00 +02:00
event-emitter.js Bug 1342928 - Keep the commands / buttons state in sync; r=jwalker 2017-03-20 14:54:03 +01:00
flags.js Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
indentation.js Bug 1327773 - Fix non-functioning devtools option 'Indent using spaces' by modifying prettifyCSS.js; r=tromey 2017-02-07 21:06:28 +05:30
jar.mn
l10n.js Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
loader-plugin-raw.jsm Backed out 2 changesets (bug 1312041) for mass failures a=backout 2016-11-01 10:30:45 -07:00
moz.build Bug 1330325 - add BUG_COMPONENT to devtools/* files. r=jryans 2017-01-13 08:40:35 -05:00
path.js Bug 1321839 - make devtools/shared eslint-clean; r=jryans 2016-12-02 10:32:04 -07:00
plural-form.js Backed out 2 changesets (bug 1312041) for mass failures a=backout 2016-11-01 10:30:45 -07:00
protocol.js Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
system.js Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike 2017-03-14 16:09:54 -07:00
task.js Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00