Open
Bug 1405467
Opened 7 years ago
Updated 2 years ago
Add a test that verifies that no string is requested before langpack is registered
Categories
(Core :: Internationalization, enhancement, P3)
Core
Internationalization
Tracking
()
NEW
People
(Reporter: zbraniecki, Unassigned)
References
(Blocks 1 open bug)
Details
We know that langpacks are not deterministic and are registered asynchronously. That means that it is not impossible for startup code to request strings before langpacks are registered which will result in wrong language resources being used.
In L20n world, all the declarative code (XUL/HTML etc.) can retranslate on fly, but any requests for strings that are manual should not resolve until langpacks are registered.
If we allow for synchronous string retrieving, we should have a test that:
1) Installs a langpack
2) Switches language to the langpack
3) Starts an instrumented browser
4) If the synchronous `getString` API is called before langpack is installed, report error.
Updated•7 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•