Display test errors in Chrome's console, thanks @Turbo87

This commit is contained in:
Tom Payne
2013-04-30 18:44:04 +02:00
parent 984121e095
commit f0df0d7bf2

View File

@@ -2370,6 +2370,12 @@ function HTML(runner, root) {
}
el.appendChild(fragment('<pre class="error">%e</pre>', str));
// Display errors in Chrome's console
if (window.chrome) {
window.console.error(str);
}
}
// toggle code