Title: [247863] trunk/Tools
Revision
247863
Author
[email protected]
Date
2019-07-26 09:08:15 -0700 (Fri, 26 Jul 2019)

Log Message

Follow-up fix: results.webkit.org: Color should be the worst result, count should include all results
https://bugs.webkit.org/show_bug.cgi?id=200127

Unreviewed follow-up fix.


* resultsdbpy/resultsdbpy/view/static/js/timeline.js:
(Dot.toString): Use self instead of this in render callback.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (247862 => 247863)


--- trunk/Tools/ChangeLog	2019-07-26 09:00:32 UTC (rev 247862)
+++ trunk/Tools/ChangeLog	2019-07-26 16:08:15 UTC (rev 247863)
@@ -1,3 +1,13 @@
+2019-07-26  Jonathan Bedard  <[email protected]>
+
+        Follow-up fix: results.webkit.org: Color should be the worst result, count should include all results
+        https://bugs.webkit.org/show_bug.cgi?id=200127
+
+        Unreviewed follow-up fix.
+
+        * resultsdbpy/resultsdbpy/view/static/js/timeline.js:
+        (Dot.toString): Use self instead of this in render callback.
+
 2019-07-24  Jiewen Tan  <[email protected]>
 
         WebPageProxy::receivedPolicyDecision should check navigation ID before clear pendingAPIRequest

Modified: trunk/Tools/resultsdbpy/resultsdbpy/view/static/js/timeline.js (247862 => 247863)


--- trunk/Tools/resultsdbpy/resultsdbpy/view/static/js/timeline.js	2019-07-26 09:00:32 UTC (rev 247862)
+++ trunk/Tools/resultsdbpy/resultsdbpy/view/static/js/timeline.js	2019-07-26 16:08:15 UTC (rev 247863)
@@ -204,7 +204,7 @@
 
         return render(`dot ${key}`, `<div class="tag" style="color:var(--boldInverseColor)">
                 ${function() {
-                    let percent = Math.ceil(this.failed / self.count * 100 - .5);
+                    let percent = Math.ceil(self.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

Reply via email to