| Index: LayoutTests/http/tests/xmlhttprequest/supported-xml-content-types-invalid-2.html
|
| diff --git a/LayoutTests/http/tests/xmlhttprequest/supported-xml-content-types-invalid-2.html b/LayoutTests/http/tests/xmlhttprequest/supported-xml-content-types-invalid-2.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a153e1e0571989a68155fb46dd8ff6c7b5889719
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/xmlhttprequest/supported-xml-content-types-invalid-2.html
|
| @@ -0,0 +1,20 @@
|
| +<!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>
|
|
|