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 b0a1ed59db
commit cda7b2404e

View File

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