blob: c70d78f12cd5c9bef3dd56888dc07b5ca92bf04e [file] [log] [blame]
<body>
<p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=188033">bug 188033</a>:
Syncronous XMLHTTPRequest crashes on WinCairo.</p>
<div id=result>result: </div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
req = new XMLHttpRequest;
req.open("GET", "resources/print-referer.php", false);
req.send(null);
if (req.responseText == document.URL)
document.getElementById("result").firstChild.data += "OK";
else
document.getElementById("result").firstChild.data += req.responseText;
</script>
</body>