[Webkit-unassigned] [Bug 37104] cross-origin XHR hangs for 1+ seconds occasionally
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 7 17:33:01 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=37104
Eric Seidel <eric at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|XMLHttpRequest Exception |cross-origin XHR hangs for
|101 causing flakiness on |1+ seconds occasionally
|numerous XHR tests |
--- Comment #11 from Eric Seidel <eric at webkit.org> 2010-04-07 17:33:00 PST ---
Adam and I have now reduced the test case to:
<pre id="console"></pre>
<script>
var startTime = new Date;
layoutTestController.dumpAsText();
function log(message)
{
document.getElementById('console').appendChild(document.createTextNode(message
+ '\n'));
}
var req = new XMLHttpRequest;
req.open("GET", "http://localhost:8000/xxxxx", false);
req.send();
log("Time: " + (new Date - startTime));
</script>
See the instructions for running it under DRT above.
If you change this to use same-origin (127.0.0.1), we don't hang. But the test
as is will hang for about 1 second every 50 requests or so.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list