Newer Firefoxen dislike large callback depths; tweak down to keep maximum recursion errors at bay

This commit is contained in:
JR Boyens
2013-07-26 17:26:17 -07:00
parent 0420e295f4
commit edd7e3932b
2 changed files with 2 additions and 2 deletions

View File

@@ -477,7 +477,7 @@ getJasmineRequireObj().Env = function(j$) {
return j$.Spec.isPendingSpecException(e) || catchExceptions;
};
var maximumSpecCallbackDepth = 100;
var maximumSpecCallbackDepth = 75;
var currentSpecCallbackDepth = 0;
function clearStack(fn) {

View File

@@ -106,7 +106,7 @@ getJasmineRequireObj().Env = function(j$) {
return j$.Spec.isPendingSpecException(e) || catchExceptions;
};
var maximumSpecCallbackDepth = 100;
var maximumSpecCallbackDepth = 75;
var currentSpecCallbackDepth = 0;
function clearStack(fn) {