File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " speed-testjs" ,
3- "version" : " 1.0.32-beta.0" ,
3+ "version" : " 1.0.32-beta.0.1 " ,
44 "description" : " measure internet bandwidth" ,
55 "main" : " index.js" ,
66 "author" : " Maulan Byron" ,
Original file line number Diff line number Diff line change 6161 if ( this . _request === null ||
6262 typeof this . _request === 'undefined' ) {
6363 this . _request = new XMLHttpRequest ( ) ;
64- this . _request . timeout = this . timeout ;
6564 // Handle lifecycle events on wrapped request
6665 this . _request . onloadstart = this . _handleLoadstart . bind ( this ) ;
6766 this . _request . onload = this . _handleLoad . bind ( this ) ;
8887 this . id = id ;
8988 this . transferSize = size ;
9089 this . _request . open ( this . method , this . url , true ) ;
90+ this . _request . timeout = this . timeout ;
9191 this . requestTimeout = setTimeout ( this . _internalAbort . bind ( this ) , this . timeout ) ;
9292 if ( this . method === 'POST' ) {
9393 this . transferSize = payload . size ;
You can’t perform that action at this time.
0 commit comments