Bug 990059 - Fix promise errors in Nightly. r=ochameau