commit 8baa2b423b3ed3389026e6b8191d0f739504e2ea
parent 838ed04033524b520bfa479408b5d520c3e144b7
Author: Euclid Ye <yezhizhenjiakang@gmail.com>
Date: Mon, 10 Nov 2025 22:20:32 +0000
Bug 1998876 [wpt PR 55932] - webdriver: Print details when fail to start server, a=testonly
Automatic update from web-platform-tests
Correct Servo extension command
Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
--
wpt-commits: 68facf0bf8dffceab0ae109d9c23566a50b64b6c
wpt-pr: 55932
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/executorservodriver.py b/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/executorservodriver.py
@@ -22,7 +22,7 @@ def do_delayed_imports():
def get_prefs(self, *prefs):
body = {"prefs": list(prefs)}
- return self.session.send_session_command("POST", "servo/prefs/get", body)
+ return self.session.send_session_command("GET", "servo/prefs/get", body)
def set_prefs(self, prefs):
body = {"prefs": prefs}
@@ -32,6 +32,11 @@ def do_delayed_imports():
body = {"prefs": list(prefs)}
return self.session.send_session_command("POST", "servo/prefs/reset", body)
+ def shutdown(self):
+ body = {}
+ return self.session.send_session_command("DELETE", "servo/shutdown", body)
+
+
def change_prefs(self, old_prefs, new_prefs):
# Servo interprets reset with an empty list as reset everything
if old_prefs: