3 <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.
6 <script type=
"text/javascript">
8 testRunner
.dumpAsText();
12 document
.getElementById("log").innerHTML
+= message
+ "\n";
15 var timerEverFired
= false;
16 var intervalId
= setInterval(function() {
17 timerEverFired
= true;
21 var req
= new XMLHttpRequest();
22 req
.open("GET", "resources/download-with-delay.php?iteration=5&delay=50", false);
28 clearInterval(intervalId
);
29 log(timerEverFired
? "FAIL" : "PASS");