Closed
Bug 934727
Opened 11 years ago
Closed 11 years ago
Use xhr.addEventListener in l10n.js
Categories
(Firefox OS Graveyard :: Gaia::L10n, defect)
Firefox OS Graveyard
Gaia::L10n
Tracking
(b2g-v2.0 fixed)
RESOLVED
FIXED
2.0 S1 (9may)
Tracking | Status | |
---|---|---|
b2g-v2.0 | --- | fixed |
People
(Reporter: zbraniecki, Assigned: zbraniecki)
References
Details
Attachments
(3 files)
1.69 KB,
patch
|
stas
:
review+
|
Details | Diff | Splinter Review |
936 bytes,
patch
|
stas
:
review+
|
Details | Diff | Splinter Review |
46 bytes,
text/x-github-pull-request
|
Details | Review |
This is an offspring of bug 914414. We want to use xhr eventListeners but that requires changes to bto, so we'll deal with it as a followup to that bug here.
Assignee | ||
Updated•11 years ago
|
Updated•11 years ago
|
Component: Gaia → Gaia::L10n
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8404195 -
Flags: review?(stas)
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8404196 -
Flags: review?(stas)
Comment 3•11 years ago
|
||
Comment on attachment 8404195 [details] [diff] [review]
patch, l10n part
Review of attachment 8404195 [details] [diff] [review]:
-----------------------------------------------------------------
So much nicer. r=me.
Attachment #8404195 -
Flags: review?(stas) → review+
Updated•11 years ago
|
Attachment #8404196 -
Flags: review?(stas) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #8405205 -
Flags: review?(21)
Comment 5•11 years ago
|
||
Comment on attachment 8405205 [details] [review]
pull request
For this type of changes, that does not really change any behaviors or API, please consider that you don't need me as long you're careful with memory/perf.
Attachment #8405205 -
Flags: review?(21)
Comment 6•11 years ago
|
||
Thank, Vivien, this will help streamline the process.
Gandalf, it looks like the tests don't pass with this pull request:
https://travis-ci.org/mozilla-b2g/gaia/jobs/22751188#L2549
It might have something to do with Sinon's FakeXHR:
https://github.com/mozilla-b2g/gaia/blob/5c56b25486e2b9ac438ef9c3a7825ed4445d5b34/apps/gallery/test/unit/l10n/l10n_test.js#L54
Assignee | ||
Comment 7•11 years ago
|
||
(In reply to Staś Małolepszy :stas from comment #6)
> It might have something to do with Sinon's FakeXHR:
>
> https://github.com/mozilla-b2g/gaia/blob/
> 5c56b25486e2b9ac438ef9c3a7825ed4445d5b34/apps/gallery/test/unit/l10n/
> l10n_test.js#L54
Good catch. Upgrading sinon to 1.9.1 fixed tests. Filed bug 995425.
Assignee | ||
Comment 8•11 years ago
|
||
ok, travis is happy with the updated sinon. Let's land this.
Status: NEW → ASSIGNED
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 9•11 years ago
|
||
Bug 995425 bounced, so I assume this shouldn't land yet.
Keywords: checkin-needed
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 10•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
status-b2g-v2.0:
--- → fixed
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 2.0 S1 (9may)
Assignee | ||
Comment 11•11 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•