Bug 990060 - Fix Promise exception on Firefox Nightly. r=jryans