Commit the right change.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 26 Oct 2013 01:23:41 +0000 (01:23 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 26 Oct 2013 01:23:41 +0000 (01:23 +0000)
* public/index.html:

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

Websites/test-results/ChangeLog
Websites/test-results/public/index.html

index f624217..69994c6 100644 (file)
@@ -1,5 +1,11 @@
 2013-10-25  Ryosuke Niwa  <rniwa@webkit.org>
 
+        Commit the right change.
+
+        * public/index.html:
+
+2013-10-25  Ryosuke Niwa  <rniwa@webkit.org>
+
         The new flakiness dashboard should sort builder and test names
         https://bugs.webkit.org/show_bug.cgi?id=123363
 
index 5064456..b149b5c 100644 (file)
@@ -516,12 +516,9 @@ fetchManifest(function (response) {
     input.autocompleter = new Autocompleter(input, testNames);
 
     var builderListView = document.getElementById('builderListView');
-    var builders = [];
-    for (var builderId in response['builders'])
-        builders.push(response['builders']);
-    
-    for (var builderId in response['builders'])
-        builderListView.appendChild(element('option', [text(response['builders'][builderId].name)]));
+    TestResultsView._sortObjectsByName(response['builders']).forEach(function (builder) {
+        builderListView.appendChild(element('option', [builder.name]));
+    });
 
     var builderDaysView = document.getElementById('builderDaysView');
     var builderFailureTypeView = document.getElementById('builderFailureTypeView');