diff --git a/ports/servoshell/egl/ohos.rs b/ports/servoshell/egl/ohos.rs index 2b40e1963e2..374f3d1061a 100644 --- a/ports/servoshell/egl/ohos.rs +++ b/ports/servoshell/egl/ohos.rs @@ -167,7 +167,10 @@ impl ServoAction { fn do_action(&self, servo: &Rc) { use ServoAction::*; match self { - WakeUp => servo.perform_updates(), + WakeUp => { + servo.perform_updates(); + servo.present_if_needed(); + }, LoadUrl(url) => servo.load_uri(url.as_str()), GoBack => servo.go_back(), GoForward => servo.go_forward(), diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index 8df93aad0e9..9ab3f99a597 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -684,8 +684,6 @@ class MachCommands(CommandBase): whole_file: str = "" for i in range(10): sleep(30) - subprocess.call([hdc_path, "shell", "uinput", "-T", "-d", "100", "100"]) - subprocess.call([hdc_path, "shell", "uinput", "-T", "-u", "105", "105"]) whole_file = read_log_file() if "[INFO script::dom::console]" in whole_file: # technically the file could not have been written completely yet