Closed Bug 884810 Opened 12 years ago Closed 12 years ago

ctx.ready does not register event listener target if available

Categories

(L20n :: JS Library, defect, P1)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zbraniecki, Assigned: zbraniecki)

Details

Attachments

(2 files)

If at the time when programmer calls ctx.ready() the context is available, it will only fire the callback and exit. In result the eventListener onready will never be set and in result the callback will never be executed after locale switch.
Assignee: nobody → gandalf
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → 1.0
Attached patch patchSplinter Review
Attachment #764733 - Flags: review?(stas)
Attachment #764733 - Attachment is patch: true
Attachment #764733 - Attachment mime type: text/x-patch → text/plain
Comment on attachment 764733 [details] [diff] [review] patch Review of attachment 764733 [details] [diff] [review]: ----------------------------------------------------------------- Can you add a few tests please?
Attachment #764733 - Flags: review?(stas) → review+
Attached patch testsSplinter Review
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: