LibWeb: Fix is_valid_status_text to handle UTF-8 correctly

This change fixed a WPT subtest which I also imported.
This commit is contained in:
Feng Yu 2024-12-13 16:48:38 -08:00 committed by Sam Atkins
commit 7bb7edd6df
Notes: github-actions[bot] 2024-12-15 08:34:26 +00:00
4 changed files with 95 additions and 2 deletions

View file

@ -0,0 +1,14 @@
Harness status: OK
Found 9 tests
9 Pass
Pass Check default value for type attribute
Pass Check default value for url attribute
Pass Check default value for ok attribute
Pass Check default value for status attribute
Pass Check default value for statusText attribute
Pass Check default value for body attribute
Pass Check status init values and associated getter
Pass Check statusText init values and associated getter
Pass Test that Response.headers has the [SameObject] extended attribute