1 description("JSRegress/" + ("" + window
.location
).split('/').pop().split('.')[0]);
2 _JSRegress_didSucceed
= true;
3 _JSRegress_oldOnError
= window
.onerror
;
4 window
.onerror = function(message
) {
5 debug("FAIL caught exception: " + message
);
6 _JSRegress_didSucceed
= false;
7 _JSRegress_oldOnError
.apply(this, arguments
);