test harness tests complain about testRunner not being declared inside a browser
https://bugs.webkit.org/show_bug.cgi?id=157056
Reviewed by Alex Christensen.
Don't run the code meant to re-format results for DRT/WTR when testRunner is not defined (i.e. inside a browser).
Also fixed various styling issues with this JavaScript file and removed useless comments.
* resources/testharnessreport.js:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@200255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2 files changed