Update speedtest_worker.js (#27)
Fixed a typo in worker code (fetch API version)
This commit is contained in:
parent
98c8aa6585
commit
0dd0eeaa86
2 changed files with 2 additions and 2 deletions
|
@ -155,7 +155,7 @@ function dlTest(done){
|
|||
return reader.read().then(function(result){
|
||||
if(result.done) testStream(i); else{
|
||||
totLoaded+=result.value.length;
|
||||
if(xhr[i].canelRequested) reader.cancel();
|
||||
if(xhr[i].cancelRequested) reader.cancel();
|
||||
}
|
||||
return consume();
|
||||
}.bind(this));
|
||||
|
|
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