blob: 2b8aaf464eb1369d3d9beeb84b2599ed40d919ed [file] [log] [blame]
<html>
<body>
<script>
if (window.layoutTestController)
layoutTestController.dumpAsText();
var accept = "<?php $headers = getallheaders(); echo $headers["Accept"]; ?>";
document.write("Accept: " + accept + "<br><br>");
if (accept.match(/application\/xhtml\+xml/)) {
document.write("PASS: The browser asks for XHTML.");
} else {
document.write("FAIL: The browser doesn't ask for XHTML");
}
</script>
</body>
</html>