Index: Tools/GardeningServer/model/ct-failure.html |
diff --git a/Tools/GardeningServer/model/ct-failure.html b/Tools/GardeningServer/model/ct-failure.html |
index d007fe1d6b0f90650dbacddc8380d640e4a52140..63dc93a418e2e498ddc08e1280976ecf7f347d2a 100644 |
--- a/Tools/GardeningServer/model/ct-failure.html |
+++ b/Tools/GardeningServer/model/ct-failure.html |
@@ -14,4 +14,12 @@ function CTFailure(step, reason, resultsByBuilder, firstFailingRevisions, lastPa |
this.firstFailingRevisions = firstFailingRevisions; |
this.lastPassingRevisions = lastPassingRevisions; |
} |
+ |
+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> |