Closed
Bug 1223004
Opened 9 years ago
Closed 9 years ago
Some Gaia unit tests misuse Promise static methods
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(blocking-b2g:2.5?)
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
In Gecko right now, Promise.resolve.call(undefined, foo) has the same behavior as Promise.resolve.call(Promise, foo), and some Gaia tests rely on that. However per spec the former should throw while the latter should work. As a result, fixing bug 1170760 breaks Gaia unit tests.
Comment 1•9 years ago
|
||
![]() |
Assignee | |
Updated•9 years ago
|
Attachment #8684914 -
Flags: review?(timdream)
Updated•9 years ago
|
Attachment #8684914 -
Flags: review?(timdream) → review+
Comment 3•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S11 (13Nov)
Comment 4•9 years ago
|
||
[Blocking Requested - why for this release]:
v2.5 would probably need this patch to fix the test failure, too.
blocking-b2g: --- → 2.5?
Flags: needinfo?(cbook)
Comment 5•9 years ago
|
||
@Tim,
Would this Promise misusage issue affect Gaia v2.5 ?
If yes, it may need to be uplifted to v2.5.
Could you take a look at it?
thank you.
Flags: needinfo?(timdream)
Comment 6•9 years ago
|
||
Bug 1170760 only reaches Gecko 45, so it should not affect v2.5, I think.
Assignee: nobody → bzbarsky
Flags: needinfo?(timdream)
Comment 7•9 years ago
|
||
would need approval for 2.5
Flags: needinfo?(mpotharaju)
Flags: needinfo?(jocheng)
Flags: needinfo?(cbook)
Comment 8•9 years ago
|
||
As it doesn't affect 2.5. We do not need a 2.5 uplift.
Thanks
Flags: needinfo?(mpotharaju)
You need to log in
before you can comment on or make changes to this bug.
Description
•