[gnome-shell/wip/fmuellner/minimal-ci: 2/3] Revert "perf: Stop using legacy generator functions"



commit 263212d40852d04f06142691b664b7f919f91193
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Jan 28 03:25:38 2019 +0100

    Revert "perf: Stop using legacy generator functions"
    
    This reverts commit e71bce570606432329abb813d8fb9c639f252b69.

 js/perf/core.js   | 2 +-
 js/perf/hwtest.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/perf/core.js b/js/perf/core.js
index 091a86a0f..e963f0c00 100644
--- a/js/perf/core.js
+++ b/js/perf/core.js
@@ -65,7 +65,7 @@ let WINDOW_CONFIGS = [
     { width: 640, height: 480, alpha: true,  maximized: false, count: 10, metric: 'overviewFps10Alpha' }
 ];
 
-function *run() {
+function run() {
     Scripting.defineScriptEvent("overviewShowStart", "Starting to show the overview");
     Scripting.defineScriptEvent("overviewShowDone", "Overview finished showing");
     Scripting.defineScriptEvent("afterShowHide", "After a show/hide cycle for the overview");
diff --git a/js/perf/hwtest.js b/js/perf/hwtest.js
index cce996671..7555a8ab2 100644
--- a/js/perf/hwtest.js
+++ b/js/perf/hwtest.js
@@ -89,7 +89,7 @@ function extractBootTimestamp() {
     return result;
 }
 
-function *run() {
+function run() {
     Scripting.defineScriptEvent("desktopShown", "Finished initial animation");
     Scripting.defineScriptEvent("overviewShowStart", "Starting to show the overview");
     Scripting.defineScriptEvent("overviewShowDone", "Overview finished showing");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]