Fixed a bug preventing the overall sore to be displayed on JetStream2
authorjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Mar 2019 21:45:41 +0000 (21:45 +0000)
committerjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Mar 2019 21:45:41 +0000 (21:45 +0000)
https://bugs.webkit.org/show_bug.cgi?id=195817

Rubber-stamped by Saam Barati.

* JetStream2/JetStreamDriver.js:
(Driver.prototype.async.start):

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

PerformanceTests/ChangeLog
PerformanceTests/JetStream2/JetStreamDriver.js

index 2f324df..5ca1dda 100644 (file)
@@ -1,3 +1,13 @@
+2019-03-15  Jon Davis  <jond@apple.com>
+
+        Fixed a bug preventing the overall sore to be displayed on JetStream2
+        https://bugs.webkit.org/show_bug.cgi?id=195817
+
+        Rubber-stamped by Saam Barati.
+
+        * JetStream2/JetStreamDriver.js:
+        (Driver.prototype.async.start):
+
 2019-03-14  Jon Davis  <jond@apple.com>
 
         Implement a new design for JetStream2
index 842eff9..69100c2 100644 (file)
@@ -151,9 +151,11 @@ class Driver {
     }
 
     async start() {
+        let statusElement = false;
+        let summaryElement = false;
         if (isInBrowser) {
-            let statusElement = document.getElementById("status");
-            let summaryElement = document.getElementById("result-summary");
+            statusElement = document.getElementById("status");
+            summaryElement = document.getElementById("result-summary");
             statusElement.innerHTML = `<label>Running...</label>`;
         } else {
             console.log("Starting JetStream2");
@@ -177,6 +179,7 @@ class Driver {
 
             benchmark.updateUIAfterRun();
         }
+
         let totalTime = Date.now() - start;
         if (measureTotalTimeAsSubtest) {
             if (isInBrowser)