Bot watcher's dashboard has separate settings for "mac" and "macos"
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Mar 2017 01:32:01 +0000 (01:32 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Mar 2017 01:32:01 +0000 (01:32 +0000)
https://bugs.webkit.org/show_bug.cgi?id=170164

Reviewed by Tim Horton.

* BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Settings.js:
(Settings.prototype.parsePlatformFamily): Aded a special case for "macos".

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

Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Settings.js
Tools/ChangeLog

index 643abdb..875c146 100644 (file)
@@ -88,7 +88,10 @@ Settings.prototype = {
     {
         if (!platformName)
             return '';
-        return platformName.substr(0, platformName.indexOf("-"));
+        var result = platformName.substr(0, platformName.indexOf("-"));
+        if (result === "macos")
+            result = "mac";
+        return result;
     },
 
     toggleHiddenPlatformFamily: function(platformFamily)
index 2a8649a..20989fd 100644 (file)
@@ -1,5 +1,15 @@
 2017-03-28  Alexey Proskuryakov  <ap@apple.com>
 
+        Bot watcher's dashboard has separate settings for "mac" and "macos"
+        https://bugs.webkit.org/show_bug.cgi?id=170164
+
+        Reviewed by Tim Horton.
+
+        * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Settings.js:
+        (Settings.prototype.parsePlatformFamily): Aded a special case for "macos".
+
+2017-03-28  Alexey Proskuryakov  <ap@apple.com>
+
         Fix dashboard test results on the dashboard
         https://bugs.webkit.org/show_bug.cgi?id=170158