LibWeb/XHR: Isomorphic decode accessing XMLHttpRequest response headers

Fixes a crash on:

https://wpt.live/html/browsers/browsing-the-web/navigating-across-documents/refresh/subresource.any.html
This commit is contained in:
Shannon Booth 2025-01-03 18:03:42 +13:00 committed by Sam Atkins
commit e74ca82083
Notes: github-actions[bot] 2025-01-15 12:36:55 +00:00
4 changed files with 47 additions and 14 deletions

View file

@ -0,0 +1,4 @@
getAllResponseHeaders()
refresh: 0;./refreshed.txt?€ÿ
getResponseHeader("Refresh") => '0;./refreshed.txt?€ÿ'