Build fix. Added a missing null check.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 14 May 2017 08:18:51 +0000 (08:18 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 14 May 2017 08:18:51 +0000 (08:18 +0000)
* public/v3/pages/analysis-task-page.js:
(AnalysisTaskConfiguratorPane.prototype.setTestGroups):

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

Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/v3/pages/analysis-task-page.js

index 52b0f7b..60c5a65 100644 (file)
@@ -1,3 +1,10 @@
+2017-05-14  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Build fix. Added a missing null check.
+
+        * public/v3/pages/analysis-task-page.js:
+        (AnalysisTaskConfiguratorPane.prototype.setTestGroups):
+
 2017-05-11  Ryosuke Niwa  <rniwa@webkit.org>
 
         Remove the code for old syncing script configuration in BuildbotSyncer
index 8129b28..44a92fb 100644 (file)
@@ -153,7 +153,7 @@ class AnalysisTaskConfiguratorPane extends ComponentBase {
     {
         this._currentGroup = currentGroup;
         const form = this.part('form');
-        if (!form.hasCommitSets())
+        if (!form.hasCommitSets() && currentGroup)
             form.setConfigurations(currentGroup.test(), currentGroup.platform(), currentGroup.repetitionCount(), currentGroup.requestedCommitSets());
         this.enqueueToRender();
     }