OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 26 matching lines...) Expand all Loading... |
37 ui.displayNameForBuilder = function(builderName) | 37 ui.displayNameForBuilder = function(builderName) |
38 { | 38 { |
39 return builderName.replace(/Webkit /, ''); | 39 return builderName.replace(/Webkit /, ''); |
40 } | 40 } |
41 | 41 |
42 ui.urlForTest = function(testName) | 42 ui.urlForTest = function(testName) |
43 { | 43 { |
44 return 'http://trac.webkit.org/browser/trunk/LayoutTests/' + testName; | 44 return 'http://trac.webkit.org/browser/trunk/LayoutTests/' + testName; |
45 } | 45 } |
46 | 46 |
| 47 ui.urlForCrbug = function(bugID) |
| 48 { |
| 49 return 'http://crbug.com/' + bugID; |
| 50 } |
| 51 |
47 ui.urlForFlakinessDashboard = function(opt_testNameList) | 52 ui.urlForFlakinessDashboard = function(opt_testNameList) |
48 { | 53 { |
49 var testsParameter = opt_testNameList ? opt_testNameList.join(',') : ''; | 54 var testsParameter = opt_testNameList ? opt_testNameList.join(',') : ''; |
50 return 'http://test-results.appspot.com/dashboards/flakiness_dashboard.html#
tests=' + encodeURIComponent(testsParameter); | 55 return 'http://test-results.appspot.com/dashboards/flakiness_dashboard.html#
tests=' + encodeURIComponent(testsParameter); |
51 } | 56 } |
52 | 57 |
53 ui.urlForEmbeddedFlakinessDashboard = function(opt_testNameList) | 58 ui.urlForEmbeddedFlakinessDashboard = function(opt_testNameList) |
54 { | 59 { |
55 return ui.urlForFlakinessDashboard(opt_testNameList) + '&showChrome=false'; | 60 return ui.urlForFlakinessDashboard(opt_testNameList) + '&showChrome=false'; |
56 } | 61 } |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 if (roll.isStopped) | 352 if (roll.isStopped) |
348 theSpan.appendChild(document.createTextNode(' (STOPPED) ')); | 353 theSpan.appendChild(document.createTextNode(' (STOPPED) ')); |
349 } else { | 354 } else { |
350 theSpan.appendChild(document.createTextNode(' None')); | 355 theSpan.appendChild(document.createTextNode(' None')); |
351 } | 356 } |
352 }); | 357 }); |
353 } | 358 } |
354 }); | 359 }); |
355 | 360 |
356 })(); | 361 })(); |
OLD | NEW |