<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
for (var i = 0; i < 10; ++i) {
   var req = new window.XMLHttpRequest();
   req.open("GET", "resources/zero-length.txt");
   req.send();
}
</script>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
</script>
</head>
<body>
<script type="text/javascript" src="resources/zero-length.js"></script>
Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=31227">https://bugs.webkit.org/show_bug.cgi?id=31227</a>.
If it didn't crash, the browser passed the test.
</body>
</html>
