mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 13:50:00 +00:00
This moves the responsibility of setting up a SourceCode object to the users of JS::Lexer. This means Lexer and Parser are free to use string views into the SourceCode internally while working. It also means Lexer no longer has to think about anything other than UTF-16 (or ASCII) inputs. So the unit test for parsing various invalid UTF-8 sequences is deleted here.
4 lines
213 B
CMake
4 lines
213 B
CMake
ladybird_test(test-value-js.cpp LibJS LIBS LibJS LibUnicode)
|
|
|
|
ladybird_testjs_test(test-js.cpp test-js LIBS LibGC)
|
|
set_tests_properties(test-js PROPERTIES ENVIRONMENT LADYBIRD_SOURCE_DIR=${LADYBIRD_PROJECT_ROOT})
|