mirror of
https://github.com/librespeed/speedtest.git
synced 2024-05-10 18:54:52 +00:00
Update speedtest_worker.js (#27)
Fixed a typo in worker code (fetch API version)
This commit is contained in:
+1
-1
@@ -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));
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user