chromium/third_party/blink/web_tests/http/tests/xmlhttprequest/supported-xml-content-types-invalid-2.html

<!DOCTYPE HTML>
<script src="/js-test-resources/js-test.js"></script>
<script src="resources/supported-xml-content-types.js"></script>
<script>
description("Test identification of XML content type in XHR responses.");
window.jsTestIsAsync = true;
if (window.testRunner)
    testRunner.dumpAsText();

// if invalid type, default to text/xml https://xhr.spec.whatwg.org/#response-body
testXMLType("foo,bar/baz+xml", true);
testXMLType("foo;bar/baz+xml", true);
testXMLType("foo:bar/baz+xml", true);
testXMLType("foo\\bar/baz+xml", true);
testXMLType('foo"bar/baz+xml', true);
testXMLType("foo/bar/baz+xml", true);
testXMLType("foo?bar/baz+xml", true);
testXMLType("foo=bar/baz+xml", true);

runNextTest();
</script>