getAdditionalLanguages returns an object not an array

RESOLVED FIXED

Status

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

People

(Reporter: stas, Assigned: stas)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

40 bytes, text/x-github-pull-request
gandalf
: review+
Details | Review | Splinter Review
(Assignee)

Description

2 years ago
Some of our code expects the return promise of navigator.mozApps.getAdditionalLanguages() to resolve to an array.  Instead it resolves to an object.
(Assignee)

Comment 1

2 years ago
Created attachment 8696807 [details] [review]
Pull request
Assignee: nobody → stas
Status: NEW → ASSIGNED
Attachment #8696807 - Flags: review?(gandalf)
Attachment #8696807 - Flags: review?(gandalf) → review+
(Assignee)

Comment 2

2 years ago
https://github.com/l20n/l20n.js/commit/c170eb74885cb9cba7aca66eeead7ecf90f7cff0
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.