The default bug view has changed. See this FAQ.

[tracking] Clean up localization bootstrap in Gaia

RESOLVED FIXED

Status

Firefox OS
Gaia::L10n
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: stas, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
Different apps use different strategies to wait with initialization until the localization is ready.  Most of those strategies work around the mozL10n.ready() bug described in bug 993188.

When the bug is fixed, we will have two methods available: mozL10n.ready and mozL10n.once, which should simplify the bootstrap process for most of the apps.

This is the tracking bug for improving those apps.
(Reporter)

Updated

3 years ago
Depends on: 993188
(Reporter)

Updated

3 years ago
Depends on: 999195
(Reporter)

Updated

3 years ago
Depends on: 999163
(Reporter)

Updated

3 years ago
Depends on: 999155
(Reporter)

Updated

3 years ago
Depends on: 999138
(Reporter)

Updated

3 years ago
Depends on: 996291
(Reporter)

Updated

3 years ago
Depends on: 1000130
(Reporter)

Updated

3 years ago
Depends on: 999193
(Reporter)

Updated

3 years ago
Depends on: 999132
(Reporter)

Updated

3 years ago
Depends on: 996272
(Reporter)

Updated

3 years ago
Depends on: 1000599
(Reporter)

Updated

3 years ago
Depends on: 1000852
(Reporter)

Updated

3 years ago
Depends on: 1000860
(Reporter)

Updated

3 years ago
Depends on: 1000866
(Reporter)

Updated

3 years ago
Depends on: 1000874
(Reporter)

Updated

3 years ago
Depends on: 1000895
I suspect that this effort should have impact on memory usage. We replace a lot of lifelong-lasting-closures (and retain data structures for the whole app) with fire-and-remove closures.

I don't think we can easily measure the impact since we don't have solid memory tracking yet, and we switch it app by app, but it may be important for Gaia team to know about it.
(Reporter)

Updated

3 years ago
Depends on: 1001453
(Reporter)

Updated

3 years ago
Depends on: 1002498
(Reporter)

Updated

3 years ago
Depends on: 1002625
(Reporter)

Updated

3 years ago
Depends on: 1002772
(Reporter)

Updated

3 years ago
Depends on: 1003184
(Reporter)

Updated

3 years ago
Depends on: 1003191
Wohooo! :)
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.