mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
We were off-by-one when returning the result of parsing a quoted string in Web::Fetch::Infrastructure::collect_an_http_quoted_string. Instead of backtracking the lexer and consuming the backtracked string, do a simple substring operation.
19 lines
428 B
CMake
19 lines
428 B
CMake
set(TEST_SOURCES
|
|
TestCSSIDSpeed.cpp
|
|
TestCSSPixels.cpp
|
|
TestFetchInfrastructure.cpp
|
|
TestFetchURL.cpp
|
|
TestHTMLTokenizer.cpp
|
|
TestMicrosyntax.cpp
|
|
TestMimeSniff.cpp
|
|
TestNumbers.cpp
|
|
)
|
|
|
|
foreach(source IN LISTS TEST_SOURCES)
|
|
serenity_test("${source}" LibWeb LIBS LibWeb)
|
|
endforeach()
|
|
|
|
target_link_libraries(TestFetchURL PRIVATE LibURL)
|
|
|
|
install(FILES tokenizer-test.html DESTINATION usr/Tests/LibWeb)
|