diff --git a/Tests/LibWeb/Text/expected/HTML/FormData-append-with-emoji-in-name.txt b/Tests/LibWeb/Text/expected/HTML/FormData-append-with-emoji-in-name.txt new file mode 100644 index 00000000000..5db64a560d5 --- /dev/null +++ b/Tests/LibWeb/Text/expected/HTML/FormData-append-with-emoji-in-name.txt @@ -0,0 +1 @@ + PASS (Didn't crash) diff --git a/Tests/LibWeb/Text/input/HTML/FormData-append-with-emoji-in-name.html b/Tests/LibWeb/Text/input/HTML/FormData-append-with-emoji-in-name.html new file mode 100644 index 00000000000..e0bfb210bce --- /dev/null +++ b/Tests/LibWeb/Text/input/HTML/FormData-append-with-emoji-in-name.html @@ -0,0 +1,9 @@ +
+ + diff --git a/Userland/Libraries/LibWeb/Infra/Strings.cpp b/Userland/Libraries/LibWeb/Infra/Strings.cpp index e71fedeabaf..233313c8b08 100644 --- a/Userland/Libraries/LibWeb/Infra/Strings.cpp +++ b/Userland/Libraries/LibWeb/Infra/Strings.cpp @@ -85,7 +85,7 @@ ErrorOr