LibWeb: Use the correct document URL in DOMParser.parseFromString()

We were hard-coding "about:blank" as the document URL for parsed HTML
documents, which was definitely not correct.

This fixes a bunch of WPT tests under /domparsing/ :^)
This commit is contained in:
Andreas Kling 2024-10-17 11:49:21 +02:00 committed by Andreas Kling
commit 55f58eea99
Notes: github-actions[bot] 2024-10-17 17:17:10 +00:00
3 changed files with 22 additions and 2 deletions

View file

@ -0,0 +1,2 @@
PASS text/html
PASS application/xhtml+xml