Index: Tools/GardeningServer/model/ct-failure.html |
diff --git a/Tools/GardeningServer/model/ct-failure.html b/Tools/GardeningServer/model/ct-failure.html |
index 0908533a1587300213053d50a3eb02e859b3bd1b..b91363b468b0b09e1dc64c279bfd8287c060b8c0 100644 |
--- a/Tools/GardeningServer/model/ct-failure.html |
+++ b/Tools/GardeningServer/model/ct-failure.html |
@@ -43,4 +43,12 @@ CTFailure.prototype.flakinessDashboardURL = function(tree) { |
CTFailure.prototype.embeddedFlakinessDashboardURL = function(tree) { |
return this.flakinessDashboardURL(tree) + '&showChrome=false'; |
} |
+ |
+CTFailure.prototype.reasonGroupName = function() { |
+ if (!this.testName) |
+ return undefined; |
+ if (this.step == 'webkit_tests') |
+ return this.testName.substr(0, this.testName.lastIndexOf('/')); |
+ return this.testName.substr(0, this.testName.lastIndexOf('.')); |
+}; |
</script> |