DOMParser-parseFromString-xml.html
Details
- Test
/domparsing/DOMParser-parseFromString-xml.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | Should parse correctly in type text/xml assert_equals: expected "foo" but got "html" |
| PASS | XMLDocument interface for correctly parsed document with type text/xml |
| FAIL | Should return an error document for XML wellformedness errors in type text/xml assert_equals: expected (string) "http://www.mozilla.org/newlayout/xml/parsererror.xml" but got (object) null |
| PASS | XMLDocument interface for incorrectly parsed document with type text/xml |
| PASS | scripting must be disabled with type text/xml |
| FAIL | Should parse correctly in type application/xml assert_equals: expected "foo" but got "html" |
| PASS | XMLDocument interface for correctly parsed document with type application/xml |
| FAIL | Should return an error document for XML wellformedness errors in type application/xml assert_equals: expected (string) "http://www.mozilla.org/newlayout/xml/parsererror.xml" but got (object) null |
| PASS | XMLDocument interface for incorrectly parsed document with type application/xml |
| PASS | scripting must be disabled with type application/xml |
| FAIL | Should parse correctly in type application/xhtml+xml assert_equals: expected "foo" but got "html" |
| PASS | XMLDocument interface for correctly parsed document with type application/xhtml+xml |
| FAIL | Should return an error document for XML wellformedness errors in type application/xhtml+xml assert_equals: expected (string) "http://www.mozilla.org/newlayout/xml/parsererror.xml" but got (object) null |
| PASS | XMLDocument interface for incorrectly parsed document with type application/xhtml+xml |
| PASS | scripting must be disabled with type application/xhtml+xml |
| FAIL | Should parse correctly in type image/svg+xml assert_equals: expected "foo" but got "html" |
| PASS | XMLDocument interface for correctly parsed document with type image/svg+xml |
| FAIL | Should return an error document for XML wellformedness errors in type image/svg+xml assert_equals: expected (string) "http://www.mozilla.org/newlayout/xml/parsererror.xml" but got (object) null |
| PASS | XMLDocument interface for incorrectly parsed document with type image/svg+xml |
| PASS | scripting must be disabled with type image/svg+xml |