Title: [196465] trunk/Websites/perf.webkit.org
Revision
196465
Author
[email protected]
Date
2016-02-11 21:21:29 -0800 (Thu, 11 Feb 2016)

Log Message

Land the change that was supposed to be the part of r196463.

* public/v3/pages/analysis-task-page.js:
(AnalysisTaskPage.prototype._didFetchTestGroups): Select the latest test group by default.

Modified Paths

Diff

Modified: trunk/Websites/perf.webkit.org/ChangeLog (196464 => 196465)


--- trunk/Websites/perf.webkit.org/ChangeLog	2016-02-12 05:17:12 UTC (rev 196464)
+++ trunk/Websites/perf.webkit.org/ChangeLog	2016-02-12 05:21:29 UTC (rev 196465)
@@ -1,5 +1,12 @@
 2016-02-11  Ryosuke Niwa  <[email protected]>
 
+        Land the change that was supposed to be the part of r196463.
+
+        * public/v3/pages/analysis-task-page.js:
+        (AnalysisTaskPage.prototype._didFetchTestGroups): Select the latest test group by default.
+
+2016-02-11  Ryosuke Niwa  <[email protected]>
+
         Refine v3 UI's analysis task page
         https://bugs.webkit.org/show_bug.cgi?id=154152
 

Modified: trunk/Websites/perf.webkit.org/public/v3/pages/analysis-task-page.js (196464 => 196465)


--- trunk/Websites/perf.webkit.org/public/v3/pages/analysis-task-page.js	2016-02-12 05:17:12 UTC (rev 196464)
+++ trunk/Websites/perf.webkit.org/public/v3/pages/analysis-task-page.js	2016-02-12 05:21:29 UTC (rev 196465)
@@ -107,7 +107,7 @@
     _didFetchTestGroups(testGroups)
     {
         this._testGroups = testGroups.sort(function (a, b) { return +a.createdAt() - b.createdAt(); });
-        this._currentTestGroup = testGroups.length ? testGroups[0] : null;
+        this._currentTestGroup = testGroups.length ? testGroups[testGroups.length - 1] : null;
 
         this._analysisResultsViewer.setTestGroups(testGroups);
         this._testGroupResultsTable.setTestGroup(this._currentTestGroup);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to