Bustage fix for running browser-chrome tests manually from bug 600413. r=gavin, a=bustage
authorDave Townsend <dtownsend@oxymoronical.com>
Wed, 20 Oct 2010 13:35:22 -0700
changeset 56263 e4e3f54c851ad3e4599842fd7868dcda8332ef03
parent 56262 4fce6753afea0674919e0122ccbedf2ce2be214f
child 56264 f134b9c36a4aeac3d8358d00cd0d6e81b973d80c
push idunknown
push userunknown
push dateunknown
reviewersgavin, bustage
bugs600413
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bustage fix for running browser-chrome tests manually from bug 600413. r=gavin, a=bustage
testing/mochitest/browser-harness.xul
--- a/testing/mochitest/browser-harness.xul
+++ b/testing/mochitest/browser-harness.xul
@@ -205,17 +205,17 @@
         var path = _entityEncode(this.path);
         var html = this.results.map(function (t) {
           var class = t.info ? "info" : "result " + (t.pass ? "passed" : "failed");
           return "<p class=\"" + class + "\">" + t.result + " | " + path +
                  " | " + _entityEncode(t.msg) + "</p>";
         }).join("\n");
         if (this.duration) {
           html += "<p class=\"info\">TEST-END | " + path + " | finished in " +
-                  this.duration + " ms";
+                  this.duration + " ms</p>";
         }
         return html;
       }
     };
 
     // Returns an array of browserTest objects for all the selected tests
     function listTests() {
       var baseURL = 'chrome://mochitests/content';