Bug 1056842 - shared MockPromise
Merge pull request #23154 from timdream/mock-promise

Bug 1056842 - shared MockPromise, r=sfoster