diff options
author | Linus Groh <mail@linusgroh.de> | 2021-12-12 18:05:11 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-12 20:58:36 +0100 |
commit | f37d00c07b313c8a6821b8add97d803dbd049f58 (patch) | |
tree | 1c5decb0c9d15fc20654237a6ab7b1ddac0c8b13 /Meta | |
parent | 35d3a1e77b3f628da225ca4ec5d0ba050082624a (diff) | |
download | serenity-f37d00c07b313c8a6821b8add97d803dbd049f58.zip |
LibWeb: Implement TextEncoder.prototype.encode()
Diffstat (limited to 'Meta')
-rw-r--r-- | Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp index 916ce15a34..683c9c5d8b 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp @@ -1330,7 +1330,7 @@ static void generate_wrap_statement(SourceGenerator& generator, String const& va scoped_generator.append(R"~~~( @result_expression@ JS::Value((i32)@value@); )~~~"); - } else if (type.name == "Location" || type.name == "Promise" || type.name == "Uint8ClampedArray" || type.name == "any") { + } else if (type.name == "Location" || type.name == "Promise" || type.name == "Uint8Array" || type.name == "Uint8ClampedArray" || type.name == "any") { scoped_generator.append(R"~~~( @result_expression@ @value@; )~~~"); |