Title: [221039] trunk/PerformanceTests
Revision
221039
Author
[email protected]
Date
2017-08-22 13:42:23 -0700 (Tue, 22 Aug 2017)

Log Message

Speedometer 2.0: Add button to select and unselect all tests to InteractiveRunner.html
https://bugs.webkit.org/show_bug.cgi?id=175816

Reviewed by Saam Barati.

Added buttons to select and unselect all subtests to aid debugging.

* Speedometer/InteractiveRunner.html:
(createUIForSuites):

Modified Paths

Diff

Modified: trunk/PerformanceTests/ChangeLog (221038 => 221039)


--- trunk/PerformanceTests/ChangeLog	2017-08-22 20:19:31 UTC (rev 221038)
+++ trunk/PerformanceTests/ChangeLog	2017-08-22 20:42:23 UTC (rev 221039)
@@ -1,3 +1,15 @@
+2017-08-22  Ryosuke Niwa  <[email protected]>
+
+        Speedometer 2.0: Add button to select and unselect all tests to InteractiveRunner.html
+        https://bugs.webkit.org/show_bug.cgi?id=175816
+
+        Reviewed by Saam Barati.
+
+        Added buttons to select and unselect all subtests to aid debugging.
+
+        * Speedometer/InteractiveRunner.html:
+        (createUIForSuites):
+
 2017-08-18  Ryosuke Niwa  <[email protected]>
 
         REGRESSION(r219640): Speedometer no longer runs on Safari 7

Modified: trunk/PerformanceTests/Speedometer/InteractiveRunner.html (221038 => 221039)


--- trunk/PerformanceTests/Speedometer/InteractiveRunner.html	2017-08-22 20:19:31 UTC (rev 221038)
+++ trunk/PerformanceTests/Speedometer/InteractiveRunner.html	2017-08-22 20:42:23 UTC (rev 221039)
@@ -71,6 +71,27 @@
     button._onclick_ = onrun;
     control.appendChild(button);
 
+    var button = document.createElement('button');
+    button.textContent = 'Select all';
+    button._onclick_ = function () {
+        for (var suiteIndex = 0; suiteIndex < suites.length; suiteIndex++) {
+            suites[suiteIndex].disabled = false;
+            checkboxes[suiteIndex].checked = true;
+        }
+    };
+    control.appendChild(button);
+
+    var button = document.createElement('button');
+    button.textContent = 'Unselect all';
+    button._onclick_ = function () {
+        for (var suiteIndex = 0; suiteIndex < suites.length; suiteIndex++) {
+            suites[suiteIndex].disabled = true;
+            checkboxes[suiteIndex].checked = false;
+        }
+
+    };
+    control.appendChild(button);
+
     return control;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to