Display more readable stack trace in HTML file that runs single test
<script type="text/javascript">
main(["${IDENTIFIER}"], function(result) {
var message = result instanceof Error ? buildErrorMessage(result) : "OK";
- document.body.appendChild(document.createTextNode(message))
+ var pre = document.createElement("pre");
+ document.body.appendChild(pre);
+ pre.appendChild(document.createTextNode(message));
});
function buildErrorMessage(e) {
