mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-23 16:40:03 +00:00
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.
25 lines
No EOL
1.5 KiB
Text
25 lines
No EOL
1.5 KiB
Text
Harness status: OK
|
|
|
|
Found 20 tests
|
|
|
|
20 Pass
|
|
Pass Should parse correctly in type text/xml
|
|
Pass XMLDocument interface for correctly parsed document with type text/xml
|
|
Pass Should return an error document for XML wellformedness errors in type text/xml
|
|
Pass XMLDocument interface for incorrectly parsed document with type text/xml
|
|
Pass scripting must be disabled with type text/xml
|
|
Pass Should parse correctly in type application/xml
|
|
Pass XMLDocument interface for correctly parsed document with type application/xml
|
|
Pass Should return an error document for XML wellformedness errors in type application/xml
|
|
Pass XMLDocument interface for incorrectly parsed document with type application/xml
|
|
Pass scripting must be disabled with type application/xml
|
|
Pass Should parse correctly in type application/xhtml+xml
|
|
Pass XMLDocument interface for correctly parsed document with type application/xhtml+xml
|
|
Pass Should return an error document for XML wellformedness errors in type application/xhtml+xml
|
|
Pass XMLDocument interface for incorrectly parsed document with type application/xhtml+xml
|
|
Pass scripting must be disabled with type application/xhtml+xml
|
|
Pass Should parse correctly in type image/svg+xml
|
|
Pass XMLDocument interface for correctly parsed document with type image/svg+xml
|
|
Pass Should return an error document for XML wellformedness errors in type image/svg+xml
|
|
Pass XMLDocument interface for incorrectly parsed document with type image/svg+xml
|
|
Pass scripting must be disabled with type image/svg+xml |