LibWeb: Return base Document for non-HTML parses

The HTML specification does not explicitly require
a specific return type for parseFromString(),
but according to Web Platform TestsDOMParser-parseFromString.html,
the expected return value for
XML MIME types is a Document—not an XMLDocument.
This commit is contained in:
mikiubo
2025-07-22 02:14:34 +02:00
committed by Andrew Kaster
parent acc7c2f7f3
commit acf1fe7b05
Notes: github-actions[bot] 2025-07-25 16:09:39 +00:00
4 changed files with 104 additions and 2 deletions

View File

@@ -1 +1 @@
XMLDocument
Document