mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:57:35 +00:00
LibWeb: Don't crash on Document.createElement() with emoji in tag name
Once again, we were mistakenly using StringBuilder's append(char) when we really wanted append_code_point(u32).
This commit is contained in:
parent
1b81e0081d
commit
0d74ced9b5
3 changed files with 9 additions and 1 deletions
|
@ -0,0 +1 @@
|
|||
PASS (Didn't crash)
|
|
@ -0,0 +1,7 @@
|
|||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
const e = document.createElement("🧐");
|
||||
println("PASS (Didn't crash)");
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue