Bug 1022498 - Patch1: Passing nsresult while using Promise::MaybeReject, r=btian