Title: [199269] trunk/Websites/perf.webkit.org
Revision
199269
Author
[email protected]
Date
2016-04-09 00:40:21 -0700 (Sat, 09 Apr 2016)

Log Message

Build fix. Don't treat a build number 0 as a pending build.

* tools/js/buildbot-syncer.js:
(BuildbotBuildEntry.prototype.isPending):

Modified Paths

Diff

Modified: trunk/Websites/perf.webkit.org/ChangeLog (199268 => 199269)


--- trunk/Websites/perf.webkit.org/ChangeLog	2016-04-09 07:38:32 UTC (rev 199268)
+++ trunk/Websites/perf.webkit.org/ChangeLog	2016-04-09 07:40:21 UTC (rev 199269)
@@ -1,3 +1,10 @@
+2016-04-09  Ryosuke Niwa  <[email protected]>
+
+        Build fix. Don't treat a build number 0 as a pending build.
+
+        * tools/js/buildbot-syncer.js:
+        (BuildbotBuildEntry.prototype.isPending):
+
 2016-04-08  Ryosuke Niwa  <[email protected]>
 
         Escape builder names in url* and pathFor* methods of BuildbotSyncer

Modified: trunk/Websites/perf.webkit.org/tools/js/buildbot-syncer.js (199268 => 199269)


--- trunk/Websites/perf.webkit.org/tools/js/buildbot-syncer.js	2016-04-09 07:38:32 UTC (rev 199268)
+++ trunk/Websites/perf.webkit.org/tools/js/buildbot-syncer.js	2016-04-09 07:40:21 UTC (rev 199269)
@@ -30,7 +30,7 @@
     buildNumber() { return this._buildNumber; }
     slaveName() { return this._slaveName; }
     buildRequestId() { return this._buildRequestId; }
-    isPending() { return !this._buildNumber; }
+    isPending() { return typeof(this._buildNumber) != 'number'; }
     isInProgress() { return this._isInProgress; }
     hasFinished() { return !this.isPending() && !this.isInProgress(); }
     url() { return this.isPending() ? this._syncer.url() : this._syncer.urlForBuildNumber(this._buildNumber); }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to