mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Turned all remaining dump()s in transportLayer.js into Log4Moz debug calls.
This commit is contained in:
parent
110f387e1c
commit
da54b30943
@ -223,7 +223,6 @@ HTTPPollingTransport.prototype = {
|
||||
|
||||
_setIdFromCookie: function( self, cookie ) {
|
||||
// parse connection ID out of the cookie:
|
||||
// dump( "Cookie is " + cookie + "\n" );
|
||||
var cookieSegments = cookie.split( ";" );
|
||||
cookieSegments = cookieSegments[0].split( "=" );
|
||||
var newConnectionId = cookieSegments[1];
|
||||
@ -242,13 +241,13 @@ HTTPPollingTransport.prototype = {
|
||||
break;
|
||||
default :
|
||||
self._connectionId = cookieSegments[1];
|
||||
// dump( "Connection ID set to " + self._connectionId + "\n" );
|
||||
this._log.debug("Connection ID set to " + self._connectionId);
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
_onError: function( errorText ) {
|
||||
dump( "Transport error: " + errorText + "\n" );
|
||||
this._log.error( errorText );
|
||||
if ( this._callbackObject != null ) {
|
||||
this._callbackObject.onTransportError( errorText );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user