Closed Bug 1350102 Opened 4 years ago Closed 4 years ago

Remove nsILocaleService

Categories

(Core :: Internationalization, enhancement, P3)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1356263

People

(Reporter: zbraniecki, Unassigned)

References

(Blocks 1 open bug)

Details

We're getting close to be ready to deprecate nsILocaleService as all of its functionality has been migrated to mozILocaleService.

This is a tracker for remaining items.
Depends on: 1349878
Priority: -- → P3
The remaining occurrences:

1) addon-sdk/source/lib/sdk/l10n/locale.js - fix in bug 1334772
2) browser/base/content/utilityOverlay.js - fix in bug 1347272
3) chrome/nsChromeRegistryChrome.cpp - fix in bug 1347306
4) dom/media/webspeech/synth/nsSynthVoiceRegistry.cpp - no fix yet, will fix with removal (with LocaleService::GetAppLocale)
5) chrome/test/unit/test_bug519468.js - fix in bug 1347306

So, we have 4 out of 5 already fixed in patches that are in the review process.
Since a lot of addons still use nsILocaleService, so we cannot remove this until 57.

https://dxr.mozilla.org/addons/search?q=nsILocaleService&redirect=false

From 57, we supports WebExtension API only on release build, so we can remove this.  Also, after comment #1's all code is replaced, we should add deprecated attribute on IDL before 57.
Depends on: 1370142
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1356263
You need to log in before you can comment on or make changes to this bug.