Index: LayoutTests/fast/harness/resources/archived-results-dashboard-test.js |
diff --git a/LayoutTests/fast/harness/resources/archived-results-dashboard-test.js b/LayoutTests/fast/harness/resources/archived-results-dashboard-test.js |
index ca83eb458f1230c0e6389054a5144ab8bab9fe10..902dbf28d63f0836945add56488bf6f824e860a6 100644 |
--- a/LayoutTests/fast/harness/resources/archived-results-dashboard-test.js |
+++ b/LayoutTests/fast/harness/resources/archived-results-dashboard-test.js |
@@ -70,20 +70,20 @@ function runTests() |
runTest(results, function() { |
var table = document.getElementById('results-table'); |
assertTrue(table.rows.length == 4); |
- assertTrue(table.rows[0].cells.length == 4); |
- assertTrue(table.rows[1].cells[0].innerHTML == 'foo-1.html'); |
- assertTrue(table.rows[3].cells[0].innerHTML == 'virtual/foo-3.html'); |
- assertTrue(table.rows[1].cells[1].className == 'test-pass'); |
- assertTrue(table.rows[1].cells[2].className == 'test-fail'); |
- assertTrue(table.rows[1].cells[3].className == 'test-skip'); |
+ assertTrue(table.rows[0].cells.length == 5); |
+ assertTrue(table.rows[1].cells[1].innerHTML == 'foo-1.html'); |
+ assertTrue(table.rows[3].cells[1].innerHTML == 'virtual/foo-3.html'); |
+ assertTrue(table.rows[1].cells[2].className == 'test-pass'); |
+ assertTrue(table.rows[1].cells[3].className == 'test-fail'); |
+ assertTrue(table.rows[1].cells[4].className == 'test-skip'); |
var row = table.rows[1]; |
var dummyhref = document.createElement("a"); |
dummyhref.href = 'dir1/results.html'; |
- assertTrue(row.cells[1].getElementsByTagName('a')[0] == dummyhref.href); |
- dummyhref.href = 'dir2/results.html'; |
assertTrue(row.cells[2].getElementsByTagName('a')[0] == dummyhref.href); |
- dummyhref.href = 'dir3/results.html'; |
+ dummyhref.href = 'dir2/results.html'; |
assertTrue(row.cells[3].getElementsByTagName('a')[0] == dummyhref.href); |
+ dummyhref.href = 'dir3/results.html'; |
+ assertTrue(row.cells[4].getElementsByTagName('a')[0] == dummyhref.href); |
}); |
document.body.innerHTML = '<pre>' + g_log.join('\n') + '</pre>'; |
} |