Bug 990097 - Fix promise error in Nightly. r=ochameau