Files
serenity/Tests/LibWeb/Text/expected/DOM/CharacterData-replaceData-break-surrogate-pair.txt
Andreas Kling c6038071a4 LibWeb: Allow splitting surrogate pairs in CharacterData.replaceData()
We're expected to handle this situation gracefully, and certainly not
by falling apart like we were.

Found by Domato.

(cherry picked from commit 33207174a9c1c87657e2ae0875cc85cbf41075f8)
2024-07-21 14:07:57 -04:00

6 lines
72 B
Plaintext

Before replaceData:
[0]: 53997
[1]: 56998
After replaceData:
[0]: 56998