Refactor compareIterations to remove duplicate code.
[WebKit-https.git] / Tools / ChangeLog
index 5c408fc..68f05c5 100644 (file)
@@ -1,3 +1,16 @@
+2016-01-20  Jason Marcell  <jmarcell@apple.com>
+
+        Refactor compareIterations to remove duplicate code.
+        https://bugs.webkit.org/show_bug.cgi?id=152913
+
+        Reviewed by Daniel Bates.
+
+        * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
+        (BuildbotQueue.prototype.compareIterations): Refactored to remove duplicate code.
+        (BuildbotQueue.prototype.sortIterations): Add binding to call to compareIterations.
+        * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/tests.js: Added tests in order to ensure
+        the same behavior before and after refactor.
+
 2016-01-20  Dana Burkart  <dburkart@apple.com>
 
         Botwatcher's dashboard should show an 'X' when the build is broken