This is a testharness.js-based test.
PASS Created element's namespace in current document 
PASS Created element's namespace in created HTML document 
PASS Created element's namespace in created XML document 
PASS Created element's namespace in created XHTML document 
PASS Created element's namespace in created SVG document 
PASS Created element's namespace in created MathML document 
PASS Created element's namespace in created HTML document by DOMParser ('text/html') 
FAIL Created element's namespace in created XML document by DOMParser ('text/xml') assert_equals: Wrong MIME type returned from doc.contentType expected "text/xml" but got "application/xml"
PASS Created element's namespace in created XML document by DOMParser ('application/xml') 
PASS Created element's namespace in created XHTML document by DOMParser ('application/xhtml+xml') 
PASS Created element's namespace in created SVG document by DOMParser ('image/svg+xml') 
PASS Created element's namespace in empty.html 
PASS Created element's namespace in empty.xhtml 
PASS 
FAIL Created element's namespace in empty.xml assert_equals: Wrong MIME type returned from doc.contentType expected "application/xml" but got "text/xml"
FAIL Created element's namespace in empty.svg assert_equals: Wrong MIME type returned from doc.contentType expected "image/svg+xml" but got "application/json" "text/html"
PASS Created element's namespace in minimal_html.html 
PASS Created element's namespace in minimal_html.xhtml 
PASS 
FAIL Created element's namespace in minimal_html.xml assert_equals: Wrong MIME type returned from doc.contentType expected "application/xml" but got "text/xml"
FAIL Created element's namespace in minimal_html.svg assert_equals: Wrong MIME type returned from doc.contentType expected "image/svg+xml" but got "application/json" "text/html"
PASS Created element's namespace in xhtml.html 
PASS Created element's namespace in xhtml.xhtml 
FAIL Created element's namespace in xhtml.xml assert_equals: Wrong MIME type returned from doc.contentType expected "application/xml" but got "application/xhtml+xml"
FAIL Created element's namespace in xhtml.svg assert_equals: Wrong MIME type returned from doc.contentType expected "image/svg+xml" but got "application/json" "text/html"
PASS Created element's namespace in svg.html 
PASS Created element's namespace in svg.xhtml 
PASS 
FAIL Created element's namespace in svg.xml assert_equals: Wrong MIME type returned from doc.contentType expected "application/xml" but got "text/xml"
FAIL Created element's namespace in svg.svg assert_equals: Wrong MIME type returned from doc.contentType expected "image/svg+xml" but got "application/json" "text/html"
PASS Created element's namespace in mathml.html 
PASS Created element's namespace in mathml.xhtml 
PASS 
FAIL Created element's namespace in mathml.xml assert_equals: Wrong MIME type returned from doc.contentType expected "application/xml" but got "text/xml"
FAIL Created element's namespace in mathml.svg assert_equals: Wrong MIME type returned from doc.contentType expected "image/svg+xml" but got "application/json" "text/html"
PASS Created element's namespace in bare_xhtml.html 
PASS Created element's namespace in bare_xhtml.xhtml 
PASS 
FAIL Created element's namespace in bare_xhtml.xml assert_equals: Wrong MIME type returned from doc.contentType expected "application/xml" but got "text/xml"
FAIL Created element's namespace in bare_xhtml.svg assert_equals: Wrong MIME type returned from doc.contentType expected "image/svg+xml" but got "application/json" "text/html"
PASS Created element's namespace in bare_svg.html 
PASS Created element's namespace in bare_svg.xhtml 
PASS 
FAIL Created element's namespace in bare_svg.xml assert_equals: Wrong MIME type returned from doc.contentType expected "application/xml" but got "text/xml"
FAIL Created element's namespace in bare_svg.svg assert_equals: Wrong MIME type returned from doc.contentType expected "image/svg+xml" but got "application/json" "text/html"
PASS Created element's namespace in bare_mathml.html 
PASS Created element's namespace in bare_mathml.xhtml 
PASS 
FAIL Created element's namespace in bare_mathml.xml assert_equals: Wrong MIME type returned from doc.contentType expected "application/xml" but got "text/xml"
FAIL Created element's namespace in bare_mathml.svg assert_equals: Wrong MIME type returned from doc.contentType expected "image/svg+xml" but got "application/json" "text/html"
PASS Created element's namespace in xhtml_ns_removed.html 
PASS Created element's namespace in xhtml_ns_removed.xhtml 
FAIL Created element's namespace in xhtml_ns_removed.xml assert_equals: Wrong MIME type returned from doc.contentType expected "application/xml" but got "application/xhtml+xml"
FAIL Created element's namespace in xhtml_ns_removed.svg assert_equals: Wrong MIME type returned from doc.contentType expected "image/svg+xml" but got "application/json" "text/html"
PASS Created element's namespace in xhtml_ns_changed.html 
PASS Created element's namespace in xhtml_ns_changed.xhtml 
FAIL Created element's namespace in xhtml_ns_changed.xml assert_equals: Wrong MIME type returned from doc.contentType expected "application/xml" but got "application/xhtml+xml"
FAIL Created element's namespace in xhtml_ns_changed.svg assert_equals: Wrong MIME type returned from doc.contentType expected "image/svg+xml" but got "application/json" "text/html"
Harness: the test ran to completion.