* public/v3/models/analysis-results.js:
(AnalysisResults.prototype.containsTest):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@219322
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
2017-07-10 Ryosuke Niwa <rniwa@webkit.org>
+ Address Antti's review comment.
+
+ * public/v3/models/analysis-results.js:
+ (AnalysisResults.prototype.containsTest):
+
+2017-07-10 Ryosuke Niwa <rniwa@webkit.org>
+
A/B testing results page show results for the top-level tests instead of the one being analyzed
https://bugs.webkit.org/show_bug.cgi?id=174304
containsTest(test)
{
console.assert(test instanceof Test);
- for (let metric of test.metrics()) {
+ for (const metric of test.metrics()) {
if (metric.id() in this._metricToBuildMap)
return true;
}