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 |
| 19 runNextTest(); |
| 20 </script> |
OLD | NEW |