Fix for default state of exceptionCatching from HTML ui

This commit is contained in:
Dan Hansen and Davis W. Frank
2013-02-26 12:21:02 -08:00
parent e682d18387
commit 2c06e36b9b

View File

@@ -57,7 +57,9 @@
getWindowLocation: function() { return window.location; }
});
env.catchExceptions(queryString.getParam("catch"));
// TODO: move all of catching to raise so we don't break our brains
var catchingExceptions = queryString.getParam("catch");
env.catchExceptions(typeof catchingExceptions === "undefined" ? true : catchingExceptions);
var htmlReporter = new jasmine.HtmlReporter({
env: env,