<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.py", 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>
