| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 return suffixList.unique(); | 129 return suffixList.unique(); |
| 130 } | 130 } |
| 131 | 131 |
| 132 function failureTypeList(failureBlob) | 132 function failureTypeList(failureBlob) |
| 133 { | 133 { |
| 134 return failureBlob.split(' '); | 134 return failureBlob.split(' '); |
| 135 }; | 135 }; |
| 136 | 136 |
| 137 function resultsDirectoryURL(builderName) | 137 function resultsDirectoryURL(builderName) |
| 138 { | 138 { |
| 139 return config.layoutTestResultsURL + '/' + builderName.replace(/[ .()]/g, '_
') + '/results/layout-test-results/'; | 139 return 'https://storage.googleapis.com/chromium-layout-test-archives/' + |
| 140 builderName.replace(/[ .()]/g, '_') + '/results/layout-test-results/'; |
| 140 } | 141 } |
| 141 | 142 |
| 142 results.failureInfo = function(testName, builderName, result) | 143 results.failureInfo = function(testName, builderName, result) |
| 143 { | 144 { |
| 144 return { | 145 return { |
| 145 'testName': testName, | 146 'testName': testName, |
| 146 'builderName': builderName, | 147 'builderName': builderName, |
| 147 'failureTypeList': failureTypeList(result), | 148 'failureTypeList': failureTypeList(result), |
| 148 }; | 149 }; |
| 149 } | 150 } |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 resultURLs.push(url); | 207 resultURLs.push(url); |
| 207 }, | 208 }, |
| 208 function() {})); | 209 function() {})); |
| 209 }); | 210 }); |
| 210 return Promise.all(probePromises).then(function() { | 211 return Promise.all(probePromises).then(function() { |
| 211 return sortResultURLsBySuffix(resultURLs); | 212 return sortResultURLsBySuffix(resultURLs); |
| 212 }); | 213 }); |
| 213 }; | 214 }; |
| 214 | 215 |
| 215 })(); | 216 })(); |
| OLD | NEW |