mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibDatabase previously truncated String values at the first '\0' when round-tripping through SQLite due to the use of strlen. This is something which we should support according to WPT: https://wpt.live/webstorage/storage_setitem.window.html The above test works fine when run through our test-web harness as we have the SQL database disabled, so this instead adds a C++ test.
8 lines
152 B
CMake
8 lines
152 B
CMake
set(TEST_SOURCES
|
|
TestDatabase.cpp
|
|
)
|
|
|
|
foreach(source IN LISTS TEST_SOURCES)
|
|
ladybird_test("${source}" LibDatabase LIBS LibDatabase)
|
|
endforeach()
|