[Webkit-unassigned] [Bug 176970] Should not mark a platform as missing in summary page if all expecting metrics are exlucded.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 15 00:53:22 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=176970

--- Comment #3 from dewei_zhu at apple.com ---
Comment on attachment 320853
  --> https://bugs.webkit.org/attachment.cgi?id=320853
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=320853&action=review

>> Websites/perf.webkit.org/public/v3/pages/summary-page.js:265
>> +            var excludedMerticCount = 0;
> 
> Use let.

Should I replace all usages of 'var' in this function?

>> Websites/perf.webkit.org/public/v3/pages/summary-page.js:281
>> +            if (!foundInSomeMetric && excludedMerticCount < metrics.length)
> 
> Now we don't need foundInSomeMetric. You can just check excludedMerticCount < metrics.length
> since that condition also implies metrics.length.

I don't think we can do this.
excludedConfigurations[platform.id()] just specifies the expected missing combinations for a platform. So it could be a subset of metrics. In this case, removing foundInSomeMetric could result in marking a platform missing incorrectly.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170915/e0870cfc/attachment-0001.html>


More information about the webkit-unassigned mailing list