| <!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(); |
| |
| testXMLType("foo,bar/baz+xml", false); |
| testXMLType("foo;bar/baz+xml", false); |
| testXMLType("foo:bar/baz+xml", false); |
| testXMLType("foo\\bar/baz+xml", false); |
| testXMLType('foo"bar/baz+xml', false); |
| testXMLType("foo/bar/baz+xml", false); |
| testXMLType("foo?bar/baz+xml", false); |
| testXMLType("foo=bar/baz+xml", false); |
| |
| runNextTest(); |
| </script> |