Closed Bug 1035624 Opened 10 years ago Closed 10 years ago

Promise constructor does not work on gaia try server

Categories

(Infrastructure & Operations Graveyard :: CIDuty, task)

x86_64
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: yurenju, Assigned: jgriffin)

References

Details

Attachments

(2 files)

we try to create Promise by constructor on bug 1029967 and it work well on local xulrunner, but it does not work on try server, attachment is a test cast to trigger failure.

now we use Promise.defer() as an workaround for this issue but hopely we can use promise constructor since it will be in es6 draft.[1]

[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise#Specification
and you can apply the patch and execute |make promise|, it works on local xulrunner.
Hmm, I would have thought that bug 1025731 should have fixed this.

jgriffin, missed configs/b2g/gaia_unit_production_config.py perhaps ?
Blocks: 1025731
(In reply to Nick Thomas [:nthomas] from comment #3)
> Hmm, I would have thought that bug 1025731 should have fixed this.
> 
> jgriffin, missed configs/b2g/gaia_unit_production_config.py perhaps ?

Right you are, I'll update it now.
Attachment #8452413 - Flags: review?(nthomas)
Assignee: nobody → jgriffin
Comment on attachment 8452413 [details] [diff] [review]
Update xre for gaia_unit tests,

lgtm
Attachment #8452413 - Flags: review?(nthomas) → review+
(In reply to Jonathan Griffin (:jgriffin) from comment #7)
> Comment on attachment 8452413 [details] [diff] [review]
> Update xre for gaia_unit tests,
> 
> https://hg.mozilla.org/build/mozharness/rev/12ddabf24210

Pushed to production.  https://hg.mozilla.org/build/mozharness/rev/497dd135e8d7

John, can you merge this to your version of mozharness so it works on gaia-try?
Flags: needinfo?(jhford)
Thanks.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Mozharness patch merged to production branch (https://hg.mozilla.org/build/mozharness/rev/497dd135e8d7)
Component: Platform Support → Buildduty
Product: Release Engineering → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: