| <p> Test for: <a href="https://bugs.webkit.org/show_bug.cgi?id=68238">bug 68238<a>: [soup] Crash while loading http://www.jusco.cn</a> This test verifies that WebCore timers do not fire during synchronous XMLHttpRequests. |
| <script type="text/javascript"> |
| document.getElementById("log").innerHTML += message + "\n"; |
| var timerEverFired = false; |
| var intervalId = setInterval(function() { |
| var req = new XMLHttpRequest(); |
| req.open("GET", "resources/download-with-delay.php?iteration=5&delay=50", false); |
| clearInterval(intervalId); |
| log(timerEverFired ? "FAIL" : "PASS"); |