4 <script type=
"text/javascript">
5 for (var i
= 0; i
< 10; ++i
) {
6 var req
= new window
.XMLHttpRequest();
7 req
.open("GET", "resources/zero-length.txt");
12 if (window
.testRunner
)
13 testRunner
.dumpAsText();
17 <script type=
"text/javascript" src=
"resources/zero-length.js"></script>
18 Test for
<a href=
"https://bugs.webkit.org/show_bug.cgi?id=31227">https://bugs.webkit.org/show_bug.cgi?id=
31227</a>.
19 If it didn't crash, the browser passed the test.