DOMParser-parseFromString-xml.html

FAILExpected12 of 20 subtests pass578 ms

Details

Test
/domparsing/DOMParser-parseFromString-xml.html
Harness
OK

Subtests

StatusSubtestMessage
FAILShould parse correctly in type text/xml
assert_equals: expected "foo" but got "html"
assert_equals: expected "foo" but got "html"
PASSXMLDocument interface for correctly parsed document with type text/xml
FAILShould 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
assert_equals: expected (string) "http://www.mozilla.org/newlayout/xml/parsererror.xml" but got (object) null
PASSXMLDocument interface for incorrectly parsed document with type text/xml
PASSscripting must be disabled with type text/xml
FAILShould parse correctly in type application/xml
assert_equals: expected "foo" but got "html"
assert_equals: expected "foo" but got "html"
PASSXMLDocument interface for correctly parsed document with type application/xml
FAILShould 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
assert_equals: expected (string) "http://www.mozilla.org/newlayout/xml/parsererror.xml" but got (object) null
PASSXMLDocument interface for incorrectly parsed document with type application/xml
PASSscripting must be disabled with type application/xml
FAILShould parse correctly in type application/xhtml+xml
assert_equals: expected "foo" but got "html"
assert_equals: expected "foo" but got "html"
PASSXMLDocument interface for correctly parsed document with type application/xhtml+xml
FAILShould 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
assert_equals: expected (string) "http://www.mozilla.org/newlayout/xml/parsererror.xml" but got (object) null
PASSXMLDocument interface for incorrectly parsed document with type application/xhtml+xml
PASSscripting must be disabled with type application/xhtml+xml
FAILShould parse correctly in type image/svg+xml
assert_equals: expected "foo" but got "html"
assert_equals: expected "foo" but got "html"
PASSXMLDocument interface for correctly parsed document with type image/svg+xml
FAILShould 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
assert_equals: expected (string) "http://www.mozilla.org/newlayout/xml/parsererror.xml" but got (object) null
PASSXMLDocument interface for incorrectly parsed document with type image/svg+xml
PASSscripting must be disabled with type image/svg+xml