mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
test-web: Disable SQL database usage
We have a test for localStorage that repeatedly adds new items until the quota is exceeded: `webstorage/storage_local_setitem_quotaexceedederr.window.html`. This test becomes significantly slower when localStorage is backed by SQL database. Let's disable database usage in test mode for now, as this test is likely to be flaky on CI due to timeouts.
This commit is contained in:
parent
84b9224121
commit
642dd751cf
|
|
@ -59,6 +59,8 @@ void Application::create_platform_arguments(Core::ArgsParser& args_parser)
|
|||
void Application::create_platform_options(WebView::BrowserOptions& browser_options, WebView::WebContentOptions& web_content_options)
|
||||
{
|
||||
browser_options.headless_mode = WebView::HeadlessMode::Test;
|
||||
browser_options.disable_sql_database = WebView::DisableSQLDatabase::Yes;
|
||||
|
||||
web_content_options.is_layout_test_mode = WebView::IsLayoutTestMode::Yes;
|
||||
|
||||
// Allow window.open() to succeed for tests.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user