Newer Firefoxen dislike large callback depths; tweak down to keep maximum recursion errors at bay
This commit is contained in:
@@ -477,7 +477,7 @@ getJasmineRequireObj().Env = function(j$) {
|
|||||||
return j$.Spec.isPendingSpecException(e) || catchExceptions;
|
return j$.Spec.isPendingSpecException(e) || catchExceptions;
|
||||||
};
|
};
|
||||||
|
|
||||||
var maximumSpecCallbackDepth = 100;
|
var maximumSpecCallbackDepth = 75;
|
||||||
var currentSpecCallbackDepth = 0;
|
var currentSpecCallbackDepth = 0;
|
||||||
|
|
||||||
function clearStack(fn) {
|
function clearStack(fn) {
|
||||||
|
|||||||
+1
-1
@@ -106,7 +106,7 @@ getJasmineRequireObj().Env = function(j$) {
|
|||||||
return j$.Spec.isPendingSpecException(e) || catchExceptions;
|
return j$.Spec.isPendingSpecException(e) || catchExceptions;
|
||||||
};
|
};
|
||||||
|
|
||||||
var maximumSpecCallbackDepth = 100;
|
var maximumSpecCallbackDepth = 75;
|
||||||
var currentSpecCallbackDepth = 0;
|
var currentSpecCallbackDepth = 0;
|
||||||
|
|
||||||
function clearStack(fn) {
|
function clearStack(fn) {
|
||||||
|
|||||||
Reference in New Issue
Block a user