Title: [247850] trunk/Tools
- Revision
- 247850
- Author
- [email protected]
- Date
- 2019-07-25 18:03:40 -0700 (Thu, 25 Jul 2019)
Log Message
results.webkit.org: Color should be the worst result, count should include all results
https://bugs.webkit.org/show_bug.cgi?id=200127
Rubber-stamped by Aakash Jain.
* resultsdbpy/resultsdbpy/view/static/js/timeline.js:
(Dot.prototype.toString): Do not differentiate the count based on the prevailing failure type.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (247849 => 247850)
--- trunk/Tools/ChangeLog 2019-07-26 00:44:08 UTC (rev 247849)
+++ trunk/Tools/ChangeLog 2019-07-26 01:03:40 UTC (rev 247850)
@@ -1,3 +1,13 @@
+2019-07-25 Jonathan Bedard <[email protected]>
+
+ results.webkit.org: Color should be the worst result, count should include all results
+ https://bugs.webkit.org/show_bug.cgi?id=200127
+
+ Rubber-stamped by Aakash Jain.
+
+ * resultsdbpy/resultsdbpy/view/static/js/timeline.js:
+ (Dot.prototype.toString): Do not differentiate the count based on the prevailing failure type.
+
2019-07-25 Zhifei Fang <[email protected]>
[Timeline]: Make timeline header width automatic, instead of fixed width
Modified: trunk/Tools/resultsdbpy/resultsdbpy/view/static/js/timeline.js (247849 => 247850)
--- trunk/Tools/resultsdbpy/resultsdbpy/view/static/js/timeline.js 2019-07-26 00:44:08 UTC (rev 247849)
+++ trunk/Tools/resultsdbpy/resultsdbpy/view/static/js/timeline.js 2019-07-26 01:03:40 UTC (rev 247850)
@@ -194,22 +194,17 @@
return render('dot success');
let key = 'failed';
- let value = this.failed - this.timeout;
- if (this.timeout) {
+ if (this.timeout)
key = 'timeout';
- value = this.timeout - this.crash;
- }
- if (this.crash) {
+ if (this.crash)
key = 'crash';
- value = this.timeout;
- }
if (!this.combined)
- return render(`dot ${key}`, `<div class="tag" style="color:var(--boldInverseColor)">${value}</div>`);
+ return render(`dot ${key}`, `<div class="tag" style="color:var(--boldInverseColor)">${this.failed}</div>`);
return render(`dot ${key}`, `<div class="tag" style="color:var(--boldInverseColor)">
${function() {
- let percent = Math.ceil(value / self.count * 100 - .5);
+ let percent = Math.ceil(this.failed / self.count * 100 - .5);
if (percent > 0)
return percent;
return '<1';
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes