Closed Bug 1000874 Opened 10 years ago Closed 10 years ago

Clean up bootstrap mozL10n API use in FindMyDevice

Categories

(Firefox OS Graveyard :: FindMyDevice, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stas, Assigned: stas)

References

Details

Attachments

(1 file)

FindMyDevice currently uses mozL10n.ready which may exhibit non-deterministic behavior.  Bug 993188 has the fix and bug 993189 introduced mozL10n.once, which is better-suited for initialization tasks.
Attached patch Use mozL10n.onceSplinter Review
https://github.com/mozilla-b2g/gaia/pull/18644
Assignee: nobody → stas
Status: NEW → ASSIGNED
Attachment #8411792 - Flags: review?(dougt)
Comment on attachment 8411792 [details] [diff] [review]
Use mozL10n.once

lgtm
Attachment #8411792 - Flags: review?(dougt) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: