flakiness dashboard doesn't display baselines for virtual tests correctly
Created attachment 130216 [details] Patch
Comment on attachment 130216 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=130216&action=review > Tools/TestResultServer/static-dashboards/flakiness_dashboard.html:2205 > + addExpectationItem(expectationsContainers, expectationsContainer, null, test, TEST_URL_BASE_PATH); May as well put an "if (!suite)" before this since this will always 404 if it is a virtual test, right? > Tools/TestResultServer/static-dashboards/flakiness_dashboard.html:2219 > + if (suite) { > + loadBaselinesForTest(expectationsContainers, expectationsContainer, baseTest(test, suite)); > + } Nit: WebKit style is to not put the curly braces.
(In reply to comment #2) > (From update of attachment 130216 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=130216&action=review > > > Tools/TestResultServer/static-dashboards/flakiness_dashboard.html:2205 > > + addExpectationItem(expectationsContainers, expectationsContainer, null, test, TEST_URL_BASE_PATH); > > May as well put an "if (!suite)" before this since this will always 404 if it is a virtual test, right? > True. Will add. > > Tools/TestResultServer/static-dashboards/flakiness_dashboard.html:2219 > > + if (suite) { > > + loadBaselinesForTest(expectationsContainers, expectationsContainer, baseTest(test, suite)); > > + } > > Nit: WebKit style is to not put the curly braces. Ok.
Committed r109810: <http://trac.webkit.org/changeset/109810>