Title: [292917] trunk/Tools
- Revision
- 292917
- Author
- ross.kirsl...@sony.com
- Date
- 2022-04-15 11:53:28 -0700 (Fri, 15 Apr 2022)
Log Message
Fix parsePlatformFamily on bot watcher's dashboard.
https://bugs.webkit.org/show_bug.cgi?id=239394
Reviewed by Jonathan Bedard.
* CISupport/build-webkit-org/public_html/dashboard/Scripts/Settings.js:
(Settings.prototype.parsePlatformFamily):
Allow for the "family of one" case.
Canonical link: https://commits.webkit.org/249686@main
Modified Paths
Diff
Modified: trunk/Tools/CISupport/build-webkit-org/public_html/dashboard/Scripts/Settings.js (292916 => 292917)
--- trunk/Tools/CISupport/build-webkit-org/public_html/dashboard/Scripts/Settings.js 2022-04-15 18:45:47 UTC (rev 292916)
+++ trunk/Tools/CISupport/build-webkit-org/public_html/dashboard/Scripts/Settings.js 2022-04-15 18:53:28 UTC (rev 292917)
@@ -88,7 +88,7 @@
{
if (!platformName)
return '';
- var result = platformName.substr(0, platformName.indexOf("-"));
+ var result = platformName.split('-', 1)[0];
if (result === "macos")
result = "mac";
return result;
Modified: trunk/Tools/ChangeLog (292916 => 292917)
--- trunk/Tools/ChangeLog 2022-04-15 18:45:47 UTC (rev 292916)
+++ trunk/Tools/ChangeLog 2022-04-15 18:53:28 UTC (rev 292917)
@@ -1,3 +1,14 @@
+2022-04-15 Ross Kirsling <rkirsl...@gmail.com>
+
+ Fix parsePlatformFamily on bot watcher's dashboard.
+ https://bugs.webkit.org/show_bug.cgi?id=239394
+
+ Reviewed by Jonathan Bedard.
+
+ * CISupport/build-webkit-org/public_html/dashboard/Scripts/Settings.js:
+ (Settings.prototype.parsePlatformFamily):
+ Allow for the "family of one" case.
+
2022-04-15 J Pascoe <j_pas...@apple.com>
[WebAuthn] Implement getTransports() and getAuthenticatorData() on AuthenticatorAttestationResponse
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes