Changeset 84514 in webkit
- Timestamp:
- Apr 21, 2011 10:16:33 AM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r84508 r84514 1 2011-04-20 Ojan Vafai <ojan@chromium.org> 2 3 Reviewed by Tony Chang. 4 5 initial set of tests for new results.html file 6 https://bugs.webkit.org/show_bug.cgi?id=59031 7 8 Also, fix the bugs (mostly innocuous JS errors) the tests found. 9 10 * Scripts/webkitpy/layout_tests/layout_package/json_results.html: 11 * Scripts/webkitpy/layout_tests/layout_package/json_results_test.js: Added. 12 1 13 2011-04-21 Philippe Normand <pnormand@igalia.com> 2 14 -
trunk/Tools/Scripts/webkitpy/layout_tests/layout_package/json_results.html
r84420 r84514 575 575 document.body.innerHTML = html; 576 576 577 if (document.getElementById('results-table')) 577 if (document.getElementById('results-table')) { 578 578 document.getElementById('results-table').addEventListener('click', TableSorter.handleClick, false); 579 TableSorter.sortColumn(0); 579 TableSorter.sortColumn(0); 580 if (!globalState().hasTextFailures) 581 document.getElementById('text-results-header').textContent = ''; 582 if (!globalState().hasImageFailures) 583 document.getElementById('image-results-header').textContent = ''; 584 } 580 585 581 586 updateExpectedResults(); 582 583 if (!globalState().hasTextFailures)584 document.body.getElementById('text-results-header').textContent = '';585 if (!globalState().hasImageFailures)586 document.body.getElementById('image-results-header').textContent = '';587 587 } 588 588 </script> 589 <!-- HACK: when json_results_test.js is included, loading this page runs the tests. 590 It is not copied to the layout-test-results output directory. --> 591 <script src="json_results_test.js"></script> 589 592 <body onload="generatePage()"></body>
Note: See TracChangeset
for help on using the changeset viewer.