Changeset 247863 in webkit


Ignore:
Timestamp:
Jul 26, 2019, 9:08:15 AM (6 years ago)
Author:
Jonathan Bedard
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.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r247851 r247863  
     12019-07-26  Jonathan Bedard  <jbedard@apple.com>
     2
     3        Follow-up fix: results.webkit.org: Color should be the worst result, count should include all results
     4        https://bugs.webkit.org/show_bug.cgi?id=200127
     5
     6        Unreviewed follow-up fix.
     7
     8        * resultsdbpy/resultsdbpy/view/static/js/timeline.js:
     9        (Dot.toString): Use self instead of this in render callback.
     10
    1112019-07-24  Jiewen Tan  <jiewen_tan@apple.com>
    212
  • trunk/Tools/resultsdbpy/resultsdbpy/view/static/js/timeline.js

    r247850 r247863  
    205205        return render(`dot ${key}`, `<div class="tag" style="color:var(--boldInverseColor)">
    206206                ${function() {
    207                     let percent = Math.ceil(this.failed / self.count * 100 - .5);
     207                    let percent = Math.ceil(self.failed / self.count * 100 - .5);
    208208                    if (percent > 0)
    209209                        return percent;
Note: See TracChangeset for help on using the changeset viewer.