Bug 1228053. syncThenable in loop test code should have catch(), since some of the tests assume that Promise instances have a catch() method. r=mdeboer

This commit is contained in:
Boris Zbarsky 2015-11-25 15:48:08 -05:00
parent 68db7e4534
commit dadf1d4ef7

View File

@ -64,6 +64,8 @@ var LoopMochaUtils = (function(global, _) {
throw result;
};
this.catch = function() {};
asyncFn(this.resolve.bind(this), this.reject.bind(this));
}