Bug 1052633 - Add infrastructure to throw on uncaught promise rejections during tests
Merge pull request #1580 from jsantell/1052633

bug 1052633 - add infrastructure to throw on uncaught promise rejections, r=@erikvold