1 2013-10-18 Ryosuke Niwa <rniwa@webkit.org>
3 New flakiness dashboard should support showing the failing tests per builder
4 https://bugs.webkit.org/show_bug.cgi?id=123011
6 Reviewed by Timothy Hatcher.
8 Added the feature. Also did some refactoring to add this feature.
11 * api/failing-tests.php: Added.
12 * api/manifest.php: Removed the code to make maps by id. The work is now done in index.html.
14 * common.css: Added. Extracted from index.html.
15 * include/test-results.php: Extracted parse_revisions_array and format_result_rows from results.php.
18 (TestResultsView.setAvailableTests): Added.
19 (TestResultsView.showTooltip): Fixed the code to compute x and y coordinates of the tooltip to take
20 scrolled positions into account.
21 (TestResultsView._createTestResultRow): Extracted from _populateTestPane.
22 (TestResultsView.fetchTest): Added the code to show "Loading..." in the pane while loading the JSON.
23 (TestResultsView.fetchTests): Respect the doNotUpdateHash flag.
24 (TestResultsView._populateBuilderPane): Added.
25 (TestResultsView.fetchFailingTestsForBuilder): Added.
26 (TestResultsView.updateLocationHash): Serialize builder & builderDays.
27 (TestResultsView.locationHashChanged): Don't delete existing test panes since that's now done in
28 loadTestsFromLocationHash.
29 (TestResultsView.loadTestsFromLocationHash): Take care of both 'tests' and 'builder' components.
30 (fetchManifest): Setup the UI to select a builder.