OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <style> | 2 <style> |
3 html { | 3 html { |
4 height: 100%; | 4 height: 100%; |
5 } | 5 } |
6 body { | 6 body { |
7 margin: 0; | 7 margin: 0; |
8 font-family: Helvetica, sans-serif; | 8 font-family: Helvetica, sans-serif; |
9 font-size: 11pt; | 9 font-size: 11pt; |
10 display: -webkit-flex; | 10 display: -webkit-flex; |
(...skipping 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1325 | 1325 |
1326 if (id == 'flaky-tests-table') | 1326 if (id == 'flaky-tests-table') |
1327 header += '<th>failures</th>'; | 1327 header += '<th>failures</th>'; |
1328 | 1328 |
1329 header += '</tr></thead>'; | 1329 header += '</tr></thead>'; |
1330 | 1330 |
1331 | 1331 |
1332 return header + tableRowHtml + '</table></div>'; | 1332 return header + tableRowHtml + '</table></div>'; |
1333 } | 1333 } |
1334 | 1334 |
1335 | |
1336 function generatePage() | 1335 function generatePage() |
1337 { | 1336 { |
1338 forEachTest(processGlobalStateFor); | 1337 forEachTest(processGlobalStateFor); |
1339 | 1338 |
1340 var html = '<div class=content-container><div id=toolbar>' + | 1339 var html = '<div class=content-container><div id=toolbar>' + |
1341 '<div class="note">Use the i, j, k and l keys to navigate, e, c to expan
d and collapse, and f to flag</div>' + | 1340 '<div class="note">Use the i, j, k and l keys to navigate, e, c to expan
d and collapse, and f to flag</div>' + |
| 1341 '<a href="../dashboard.html" >Archived results </a>' + |
1342 '<a href="javascript:void()" onclick="expandAllExpectations()">expand al
l</a> ' + | 1342 '<a href="javascript:void()" onclick="expandAllExpectations()">expand al
l</a> ' + |
1343 '<a href="javascript:void()" onclick="collapseAllExpectations()">collaps
e all</a> ' + | 1343 '<a href="javascript:void()" onclick="collapseAllExpectations()">collaps
e all</a> ' + |
1344 '<label><input id="toggle-images" type=checkbox checked onchange="handle
ToggleImagesChange()">Toggle images</label>' + | 1344 '<label><input id="toggle-images" type=checkbox checked onchange="handle
ToggleImagesChange()">Toggle images</label>' + |
1345 '<div id=container>Show: '+ | 1345 '<div id=container>Show: '+ |
1346 '<label><input id="show-expected-failures" type=checkbox onchange="handl
eUnexpectedResultsChange()">expected failures</label>' + | 1346 '<label><input id="show-expected-failures" type=checkbox onchange="handl
eUnexpectedResultsChange()">expected failures</label>' + |
1347 '<label><input id="show-flaky-failures" type=checkbox onchange="handleFl
akyFailuresChange()">flaky failures</label>' + | 1347 '<label><input id="show-flaky-failures" type=checkbox onchange="handleFl
akyFailuresChange()">flaky failures</label>' + |
1348 '<label><input id="show-unexpected-passes" type=checkbox onchange="handl
eUnexpectedPassesChange()">unexpected passes</label>' + | 1348 '<label><input id="show-unexpected-passes" type=checkbox onchange="handl
eUnexpectedPassesChange()">unexpected passes</label>' + |
1349 '<label><input id="show-stderr" type=checkbox onchange="handleStderrChan
ge()">stderr</label>' + | 1349 '<label><input id="show-stderr" type=checkbox onchange="handleStderrChan
ge()">stderr</label>' + |
1350 '</div></div>'; | 1350 '</div></div>'; |
1351 | 1351 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1399 updateTestlistCounts(); | 1399 updateTestlistCounts(); |
1400 | 1400 |
1401 TestNavigator.reset(); | 1401 TestNavigator.reset(); |
1402 OptionWriter.apply(); | 1402 OptionWriter.apply(); |
1403 } | 1403 } |
1404 </script> | 1404 </script> |
1405 <!-- HACK: when json_results_test.js is included, loading this page runs the tes
ts. | 1405 <!-- HACK: when json_results_test.js is included, loading this page runs the tes
ts. |
1406 It is not copied to the layout-test-results output directory. --> | 1406 It is not copied to the layout-test-results output directory. --> |
1407 <script src="resources/results-test.js"></script> | 1407 <script src="resources/results-test.js"></script> |
1408 <body onload="generatePage()"></body> | 1408 <body onload="generatePage()"></body> |
OLD | NEW |