blob: bc5cccfa321b9e05228bc6d43035c738708c2622 [file] [log] [blame]
<html>
<body>
<p>This tests that the default Content-Type for XMLHttpRequest is application/x-www-form-urlencoded when running in the Dashboard compatibility mode.</p>
<script>
if (window.layoutTestController) {
layoutTestController.setUseDashboardCompatibilityMode(true);
layoutTestController.dumpAsText();
}
objXmlHttp = new XMLHttpRequest;
objXmlHttp.open("POST", "print-content-type.cgi", false);
objXmlHttp.send("");
document.write("<pre>" + objXmlHttp.responseText + "</pre>");
</script>
</body>
</html>