Last Comment Bug 1020243 - Emit mozDOMLocalized on document when the DOM has been localized
: Emit mozDOMLocalized on document when the DOM has been localized
Status: NEW
:
Product: Firefox OS
Classification: Client Software
Component: Gaia::L10n (show other bugs)
: unspecified
: All All
P4 normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
:
Mentors:
Depends on:
Blocks: 1020247 1020249
  Show dependency treegraph
 
Reported: 2014-06-04 04:11 PDT by Staś Małolepszy :stas
Modified: 2014-06-11 09:01 PDT (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---


Attachments

Description User image Staś Małolepszy :stas 2014-06-04 04:11:59 PDT
The document should emit a mozDOMLocalized event when it becomes localized.  The event does not guarantee the readiness of the l10n context (the pretranslation case).

Additionally, a boolean document.mozLocalized flag could be introduced, to support code which may run after the original event fired.

Note You need to log in before you can comment on or make changes to this bug.