LibWebView+UI: Launch the DevTools server if --devtools is specified

This replaces the --devtools-port flag with a --devtools flag, which
optionally accepts a port. If the --devtools flag is set, we will now
automatically launch the DevTools server.
This commit is contained in:
Timothy Flynn 2025-07-02 12:42:53 -04:00 committed by Tim Flynn
commit b55d2909f6
Notes: github-actions[bot] 2025-07-02 19:29:12 +00:00
5 changed files with 43 additions and 11 deletions

View file

@ -84,7 +84,7 @@ struct BrowserOptions {
Optional<ProcessType> profile_helper_process {};
Optional<ByteString> webdriver_content_ipc_path {};
Optional<DNSSettings> dns_settings {};
u16 devtools_port { default_devtools_port };
Optional<u16> devtools_port;
};
enum class IsLayoutTestMode {