mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
Headless: Compile on Windows
This commit is contained in:
parent
2ac53794c3
commit
a821fc03be
Notes:
github-actions[bot]
2025-04-13 16:20:21 +00:00
Author: https://github.com/stasoid
Commit: a821fc03be
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3588
Reviewed-by: https://github.com/ADKaster ✅
2 changed files with 15 additions and 2 deletions
|
@ -45,6 +45,18 @@ private:
|
|||
Optional<Core::Process> m_process;
|
||||
};
|
||||
|
||||
#ifdef AK_OS_WINDOWS
|
||||
// FIXME: Implement Ladybird::HttpEchoServerFixture::setup on Windows
|
||||
ErrorOr<void> HttpEchoServerFixture::setup(WebView::WebContentOptions&)
|
||||
{
|
||||
VERIFY(0 && "Ladybird::HttpEchoServerFixture::setup is not implemented");
|
||||
}
|
||||
// FIXME: Implement Ladybird::HttpEchoServerFixture::teardown_impl on Windows
|
||||
void HttpEchoServerFixture::teardown_impl()
|
||||
{
|
||||
VERIFY(0 && "Ladybird::HttpEchoServerFixture::teardown_impl is not implemented");
|
||||
}
|
||||
#else
|
||||
ErrorOr<void> HttpEchoServerFixture::setup(WebView::WebContentOptions& web_content_options)
|
||||
{
|
||||
auto const script_path = LexicalPath::join(s_fixtures_path, m_script_path);
|
||||
|
@ -99,6 +111,7 @@ void HttpEchoServerFixture::teardown_impl()
|
|||
|
||||
m_process = {};
|
||||
}
|
||||
#endif
|
||||
|
||||
void Fixture::initialize_fixtures()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue