mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
refactor(webdriver): move webdriver_port
option to servoshell pref (#37867)
Move `webdriver_port` option from servo config options to servoshell preference. Testing: run `./mach run` with/without `--webdriver` option and see if the webdriver server runs on the port (default: 7000) Fixes: https://github.com/servo/servo/issues/37843 Signed-off-by: Jason Tsai <git@pews.dev>
This commit is contained in:
parent
6ba54e4d79
commit
cf408f7302
4 changed files with 14 additions and 15 deletions
|
@ -44,10 +44,6 @@ pub struct Opts {
|
|||
/// behavior for debugging purposes.
|
||||
pub debug: DebugOptions,
|
||||
|
||||
/// `None` to disable WebDriver or `Some` with a port number to start a server to listen to
|
||||
/// remote WebDriver commands.
|
||||
pub webdriver_port: Option<u16>,
|
||||
|
||||
/// Whether we're running in multiprocess mode.
|
||||
pub multiprocess: bool,
|
||||
|
||||
|
@ -192,7 +188,6 @@ impl Default for Opts {
|
|||
nonincremental_layout: false,
|
||||
user_stylesheets: Vec::new(),
|
||||
hard_fail: true,
|
||||
webdriver_port: None,
|
||||
multiprocess: false,
|
||||
background_hang_monitor: false,
|
||||
random_pipeline_closure_probability: None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue