Fixed a typo in IE11-specific code
This commit is contained in:
parent
62a06fa7d3
commit
cce7c7a93f
2 changed files with 2 additions and 2 deletions
|
@ -259,7 +259,7 @@ function ulTest (done) {
|
||||||
if (settings.xhr_ignoreErrors === 0) failed = true //abort
|
if (settings.xhr_ignoreErrors === 0) failed = true //abort
|
||||||
try { xhr[i].abort() } catch (e) { }
|
try { xhr[i].abort() } catch (e) { }
|
||||||
delete (xhr[i])
|
delete (xhr[i])
|
||||||
if (settings.xhr_ignoreErrors === 1) testStatus(i,100); //restart stream after 100ms
|
if (settings.xhr_ignoreErrors === 1) testStream(i,100); //restart stream after 100ms
|
||||||
}
|
}
|
||||||
xhr[i].open('POST', settings.url_ul + '?r=' + Math.random(), true) // random string to prevent caching
|
xhr[i].open('POST', settings.url_ul + '?r=' + Math.random(), true) // random string to prevent caching
|
||||||
xhr[i].setRequestHeader('Content-Encoding', 'identity') // disable compression (some browsers may refuse it, but data is incompressible anyway)
|
xhr[i].setRequestHeader('Content-Encoding', 'identity') // disable compression (some browsers may refuse it, but data is incompressible anyway)
|
||||||
|
|
2
speedtest_worker.min.js
vendored
2
speedtest_worker.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue