mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 21:26:22 +00: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
Notes:
github-actions[bot]
2025-06-12 15:05:48 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 642dd751cf
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5052
Reviewed-by: https://github.com/shannonbooth ✅
Reviewed-by: https://github.com/trflynn89
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue