1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 00:17:46 +00:00

Fuzzers: Use correct type name in FuzzilliJs fuzzer

This commit is contained in:
Andrew Kaster 2023-03-19 13:04:22 -06:00 committed by Andrew Kaster
parent 38a3e28799
commit 958f9e960d

View file

@ -211,7 +211,7 @@ int main(int, char**)
auto js = StringView(static_cast<unsigned char const*>(data_buffer.data()), script_size);
// FIXME: https://github.com/SerenityOS/serenity/issues/17899
if (!UTF8View(js).validate()) {
if (!Utf8View(js).validate()) {
result = 1;
} else {
auto parse_result = JS::Script::parse(js, interpreter->realm());