Build fix after r215633.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 May 2017 04:06:02 +0000 (04:06 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 May 2017 04:06:02 +0000 (04:06 +0000)
* public/v3/models/test-group.js:
(TestGroup.prototype._computeRequestedCommitSets):
(TestGroup.prototype.requestsForCommitSet):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216649 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/v3/models/test-group.js

index 7e68ae8..0c20447 100644 (file)
@@ -1,5 +1,13 @@
 2017-05-10  Ryosuke Niwa  <rniwa@webkit.org>
 
+        Build fix after r215633.
+
+        * public/v3/models/test-group.js:
+        (TestGroup.prototype._computeRequestedCommitSets):
+        (TestGroup.prototype.requestsForCommitSet):
+
+2017-05-10  Ryosuke Niwa  <rniwa@webkit.org>
+
         Add API to upload a patched build for a custom A/B testing
         https://bugs.webkit.org/show_bug.cgi?id=171956
 
index 7452a85..cb9f9a3 100644 (file)
@@ -90,15 +90,15 @@ class TestGroup extends LabeledObject {
         const commitSetLabelMap = new Map;
         for (const request of orderedBuildRequests) {
             const set = request.commitSet();
-            if (!this._requestedCommitSets.includes(set))
-                this._requestedCommitSets.push(set);
+            if (!requestedCommitSets.includes(set))
+                requestedCommitSets.push(set);
         }
         return requestedCommitSets;
     }
 
     requestsForCommitSet(commitSet)
     {
-        this._orderedBuildRequests().filter((request) => request.commitSet() == commitSet);
+        return this._orderedBuildRequests().filter((request) => request.commitSet() == commitSet);
     }
 
     labelForCommitSet(commitSet)