LibWeb+LibWebView+WebContent: Remove the built-in Inspector

This commit is contained in:
Timothy Flynn 2025-03-14 16:22:16 -04:00 committed by Alexander Kalenik
commit 810d04b3f4
Notes: github-actions[bot] 2025-03-15 18:10:57 +00:00
34 changed files with 24 additions and 3082 deletions

View file

@ -85,7 +85,6 @@ static ErrorOr<NonnullRefPtr<WebView::WebContentClient>> launch_web_content_proc
Optional<IPC::File> request_server_socket,
ClientArguments&&... client_arguments)
{
auto const& chrome_options = WebView::Application::chrome_options();
auto const& web_content_options = WebView::Application::web_content_options();
Vector<ByteString> arguments {
@ -95,8 +94,6 @@ static ErrorOr<NonnullRefPtr<WebView::WebContentClient>> launch_web_content_proc
web_content_options.executable_path.to_byte_string(),
};
if (chrome_options.devtools_port.has_value())
arguments.append("--devtools"sv);
if (web_content_options.config_path.has_value()) {
arguments.append("--config-path"sv);
arguments.append(web_content_options.config_path.value());