mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 22:52:22 +02:00
LibWeb: Implement TextEncoder.prototype.encode()
This commit is contained in:
committed by
Andreas Kling
parent
35d3a1e77b
commit
f37d00c07b
Notes:
sideshowbarker
2024-07-17 22:53:32 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/f37d00c07b3 Pull-request: https://github.com/SerenityOS/serenity/pull/11231 Reviewed-by: https://github.com/alimpfard
@@ -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@;
|
||||
)~~~");
|
||||
|
||||
Reference in New Issue
Block a user