cleaned whitespace

This commit is contained in:
Collin Anderson 2015-02-02 10:12:52 -05:00
parent 76a24d8a5b
commit 54e984c763
89 changed files with 56 additions and 126 deletions

View file

@ -68,7 +68,7 @@ window.onload = function() {
ID("logEntry").value = params.log;
logPasted();
} else if (params.web) {
loadFromWeb(params.web);
loadFromWeb(params.web);
}
ID("logEntry").focus();
}
@ -189,7 +189,7 @@ window.onload = function() {
var random = match[2];
var url = match[3];
var extra = match[4];
gTestItems.push({
pass: !state.match(/FAIL$/),
// only one of the following three should ever be true
@ -220,7 +220,7 @@ window.onload = function() {
var table = document.getElementById("itemtable");
while (table.childNodes.length > 0) {
table.removeChild(table.childNodes[table.childNodes.length - 1]);
}
}
var tbody = document.createElement("tbody");
table.appendChild(tbody);
@ -234,7 +234,7 @@ window.onload = function() {
var rowclass = item.pass ? "pass" : "fail";
var td = document.createElement("td");
var text = "";
if (item.unexpected) {
text += "!";
rowclass += " unexpected";
@ -253,7 +253,7 @@ window.onload = function() {
td = document.createElement("td");
td.id = "url" + i;
td.className = "url";
var match = item.url.match(/\/mozilla\/(.*)/);
text = document.createTextNode(match ? match[1] : item.url);
if (item.images.length > 0) {