OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE HTML> |
| 2 <script src="/js-test-resources/js-test.js"></script> |
| 3 <script src="resources/supported-xml-content-types.js"></script> |
| 4 <script> |
| 5 description("Test identification of XML content type in XHR responses."); |
| 6 window.jsTestIsAsync = true; |
| 7 if (window.testRunner) |
| 8 testRunner.dumpAsText(); |
| 9 |
| 10 // They may be strange, but these should all be valid: |
| 11 testXMLType("foo{bar/baz+xml", true); |
| 12 testXMLType("foo}bar/baz+xml", true); |
| 13 testXMLType("foo|bar/baz+xml", true); |
| 14 testXMLType("foo%bar/baz+xml", true); |
| 15 testXMLType("foo'bar/baz+xml", true); |
| 16 testXMLType("foo`bar/baz+xml", true); |
| 17 testXMLType("foo#bar/baz+xml", true); |
| 18 testXMLType("foo&bar/baz+xml", true); |
| 19 testXMLType("foo*bar/baz+xml", true); |
| 20 |
| 21 runNextTest(); |
| 22 </script> |
OLD | NEW |