mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Various servodriver improvements (#34957)
* Make command line arguments match between servo and servodriver harnesses. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * webdriver: Ensure stylo preferences are updated when modifying pref values. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Add a manual delay when launching servodriver to allow attaching a debugger. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
acb6515837
commit
90b41259d2
3 changed files with 21 additions and 3 deletions
2
tests/wpt/meta/MANIFEST.json
vendored
2
tests/wpt/meta/MANIFEST.json
vendored
|
@ -503811,7 +503811,7 @@
|
|||
[]
|
||||
],
|
||||
"servodriver.py": [
|
||||
"f8f50537740eea0c169af68becd42c8bc22ae0f7",
|
||||
"4d86b6c4fa6611a13912f5c7ff867fbd2f6d84f1",
|
||||
[]
|
||||
],
|
||||
"webkit.py": [
|
||||
|
|
|
@ -62,7 +62,7 @@ def env_extras(**kwargs):
|
|||
|
||||
def env_options():
|
||||
return {"server_host": "127.0.0.1",
|
||||
"supports_debugger": False}
|
||||
"supports_debugger": True}
|
||||
|
||||
|
||||
def update_properties():
|
||||
|
@ -88,9 +88,18 @@ class ServoWebDriverBrowser(WebDriverBrowser):
|
|||
env["HOST_FILE"] = hosts_path
|
||||
env["RUST_BACKTRACE"] = "1"
|
||||
|
||||
if debug_info:
|
||||
env["DELAY_AFTER_ACCEPT"] = env.get("DELAY_SECS", "15")
|
||||
|
||||
args = [
|
||||
"--hard-fail",
|
||||
"--webdriver=%s" % port,
|
||||
"-u", "Servo/wptrunner",
|
||||
# See https://github.com/servo/servo/issues/30080.
|
||||
# For some reason rustls does not like the certificate generated by the WPT tooling.
|
||||
"--ignore-certificate-errors",
|
||||
"--window-size", "800x600",
|
||||
"-Z", "disable-text-aa,load-webfonts-synchronously,replace-surrogates",
|
||||
"data:,",
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue