mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWebView+WebContent: Inform WebContent process if browser is headless
This commit is contained in:
@@ -85,6 +85,7 @@ void Application::create_platform_options(WebView::ChromeOptions& chrome_options
|
||||
}
|
||||
|
||||
web_content_options.is_layout_test_mode = is_layout_test_mode ? WebView::IsLayoutTestMode::Yes : WebView::IsLayoutTestMode::No;
|
||||
web_content_options.is_headless = WebView::IsHeadless::Yes;
|
||||
}
|
||||
|
||||
ErrorOr<void> Application::launch_test_fixtures()
|
||||
|
||||
Reference in New Issue
Block a user