Bug 1084241 - use then(done, done) to catch all promise test cases result
Merge pull request #25253 from gasolin/issue-1084241

Bug 1084241 - use then(done, done) to catch all promise test cases resul...r=eragon