Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1796)

Unified Diff: Tools/GardeningServer/ui/ct-failure-grouper.html

Issue 413073004: Show non-Blink ranges in sheriff-o-matic. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address review comments Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Tools/GardeningServer/ui/ct-failure-grouper.html
diff --git a/Tools/GardeningServer/ui/ct-failure-grouper.html b/Tools/GardeningServer/ui/ct-failure-grouper.html
deleted file mode 100644
index 4893bd625feaec82a3e9ca0e20f99c063bdb9785..0000000000000000000000000000000000000000
--- a/Tools/GardeningServer/ui/ct-failure-grouper.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!--
-Copyright 2014 The Chromium Authors. All rights reserved.
-Use of this source code is governed by a BSD-style license that can be
-found in the LICENSE file.
--->
-
-<polymer-element name="ct-failure-grouper" attributes="failures groups">
- <script>
- Polymer({
- failures: [],
- groups: [],
-
- failureComparator: function(a, b) {
- return a.testName < b.testName;
- },
-
- failuresChanged: function() {
- var map = {};
- for (var i = 0; i < this.failures.length; ++i) {
- var failureAnalysis = this.failures[i];
- var key = failureAnalysis.newestPassingRevision + "+" + failureAnalysis.oldestFailingRevision;
- if (!(key in map))
- map[key] = [];
- map[key].push(failureAnalysis);
- }
-
- this.groups = [];
- var keys = Object.getOwnPropertyNames(map).sort();
- for (var i = 0; i < keys.length; ++i) {
- var key = keys[i];
- this.groups[i] = map[key].sort(this.failureComparator.bind(this));
- }
- },
- });
- </script>
-</polymer-element>
« no previous file with comments | « Tools/GardeningServer/ui/ct-failure-card.html ('k') | Tools/GardeningServer/ui/ct-failure-grouper-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698