Changeset 109606 in webkit
- Timestamp:
- Mar 2, 2012 1:13:19 PM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r109581 r109606 1 2012-03-02 Dirk Pranke <dpranke@chromium.org> 2 3 links for virtual tests are broken in the flakiness dashboard 4 https://bugs.webkit.org/show_bug.cgi?id=80180 5 6 Reviewed by Ojan Vafai. 7 8 * TestResultServer/static-dashboards/flakiness_dashboard.html: 9 (linkHTMLToOpenWindow): 10 * TestResultServer/static-dashboards/flakiness_dashboard_tests.js: 11 (testLinkHTMLToOpenWindow): added. 12 1 13 2012-03-02 Philippe Normand <pnormand@igalia.com> 2 14 -
trunk/Tools/TestResultServer/static-dashboards/flakiness_dashboard.html
r104735 r109606 1175 1175 function linkHTMLToOpenWindow(url, text) 1176 1176 { 1177 // FIXME: We probably need a more general way to map virtual tests 1178 // to their underlying actual tests. 1179 url = url.replace('platform/chromium/virtual/gpu/', '') 1177 1180 return '<a href="' + url + '" target="_blank">' + text + '</a>'; 1178 1181 } -
trunk/Tools/TestResultServer/static-dashboards/flakiness_dashboard_tests.js
r109063 r109606 405 405 } 406 406 407 function testLinkHTMLToOpenWindow() 408 { 409 var text = 'text'; 410 // Test that we map regular tests and virtual tests properly. 411 self.assertEquals(linkHTMLToOpenWindow('http://localhost/fast/canvas/foo.html', text), 412 '<a href="http://localhost/fast/canvas/foo.html" target="_blank">text</a>'); 413 self.assertEquals(linkHTMLToOpenWindow('http://localhost/platform/chromium/virtual/gpu/fast/canvas/foo.html', text), 414 '<a href="http://localhost/fast/canvas/foo.html" target="_blank">text</a>'); 415 } 416 407 417 function runTests() 408 418 {
Note: See TracChangeset
for help on using the changeset viewer.