1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 07:54:58 +00:00
serenity/Tests/LibWeb/Text/input/HTML/FormData-append-with-emoji-in-name.html
Andreas Kling ec081a2ef5 LibWeb: Don't crash on FormData.append() with emoji in name
If you can believe it, we were once again using StringBuilder's append()
when we really wanted append_code_point().
2023-12-04 00:04:04 +01:00

9 lines
220 B
HTML

<div id=test></div>
<script src="../include.js"></script>
<script>
test(() => {
const formData = new FormData();
formData.append("🧐", "");
println("PASS (Didn't crash)");
});
</script>