LibWebView+WebContent: Inform WebContent process if browser is headless

This commit is contained in:
Tim Ledbetter 2024-12-09 21:51:19 +00:00 committed by Tim Flynn
commit e764df15eb
Notes: github-actions[bot] 2024-12-10 18:32:56 +00:00
9 changed files with 31 additions and 0 deletions

View file

@ -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()