LibWeb: Use substrings instead of pointers when parsing unicode ranges

Fixes a segfault when parsing a wildcard-only unicode range
This commit is contained in:
Gingeh 2024-11-05 21:57:25 +11:00 committed by Sam Atkins
commit a4b38dda56
Notes: github-actions[bot] 2024-11-05 14:02:50 +00:00
3 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,11 @@
<style>
@font-face {
unicode-range: U+??;
}
</style>
<script src="../include.js"></script>
<script>
test(() => {
println("PASS (didn't crash)");
});
</script>