Display test errors in Chrome's console, thanks @Turbo87
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user