| Index: LayoutTests/http/tests/xmlhttprequest/supported-xml-content-types-strange-valid-2.html
|
| diff --git a/LayoutTests/http/tests/xmlhttprequest/supported-xml-content-types-strange-valid-2.html b/LayoutTests/http/tests/xmlhttprequest/supported-xml-content-types-strange-valid-2.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ba661f7781f1f4a6b49f06c22db305dd12c186e0
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/xmlhttprequest/supported-xml-content-types-strange-valid-2.html
|
| @@ -0,0 +1,22 @@
|
| +<!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();
|
| +
|
| +// They may be strange, but these should all be valid:
|
| +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);
|
| +testXMLType("foo*bar/baz+xml", true);
|
| +
|
| +runNextTest();
|
| +</script>
|
|
|