Skip to content

Commit

Permalink
Fixed a typo in IE11-specific code
Browse files Browse the repository at this point in the history
  • Loading branch information
adolfintel committed Jun 15, 2017
1 parent 62a06fa commit cce7c7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion speedtest_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ function ulTest (done) {
if (settings.xhr_ignoreErrors === 0) failed = true //abort
try { xhr[i].abort() } catch (e) { }
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].setRequestHeader('Content-Encoding', 'identity') // disable compression (some browsers may refuse it, but data is incompressible anyway)
Expand Down
2 changes: 1 addition & 1 deletion speedtest_worker.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cce7c7a

Please sign in to comment.