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

Unified Diff: Tools/GardeningServer/ui/ct-unexpected-failures.html

Issue 409063002: Simplify failing builder lists. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: make resultTypes private 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-unexpected-failures.html
diff --git a/Tools/GardeningServer/ui/ct-unexpected-failures.html b/Tools/GardeningServer/ui/ct-unexpected-failures.html
index 57bf23adb3a082e36b8c10734a988ba388b1f277..77a40ee8f1206685e70f60c625483c67f8097220 100644
--- a/Tools/GardeningServer/ui/ct-unexpected-failures.html
+++ b/Tools/GardeningServer/ui/ct-unexpected-failures.html
@@ -36,15 +36,18 @@ found in the LICENSE file.
<ct-tree-status project="chromium"></ct-tree-status>
<ct-tree-status project="blink"></ct-tree-status>
<ct-failing-builders builders="{{ failures.builders }}"></ct-failing-builders>
- <ct-failure-stream groups="{{ failures.unexpected }}" builderLatestRevisions="{{ builderLatestRevisions }}" commits="{{revisionLog.commits}}"></ct-failure-stream>
+ <ct-failure-stream groups="{{ failures.unexpected }}" commits="{{revisionLog.commits}}"></ct-failure-stream>
</template>
<script>
+ (function() {
+ var kUpdateFrequency = 1000 * 30;
+
Polymer({
revisionLog: new CTCommitLog(),
attached: function() {
this.update();
- setInterval(this.update.bind(this), config.kUpdateFrequency);
+ setInterval(this.update.bind(this), kUpdateFrequency);
},
update: function() {
@@ -56,5 +59,6 @@ found in the LICENSE file.
treeStatuses[i].update();
},
});
+ })();
</script>
</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698