Fix for startup on IE10. Reformatted patch

This commit is contained in:
Roland Schwingel committed 2015-08-11 09:03:21 +02:00
1 parent 205c1ac3b6
commit 73e13fee37
1 file changed
+4 -4
+4 -4
View File
@@ -221,7 +221,7 @@ CFHTTPRequest.prototype.overrideMimeType = function(/*String*/ aMimeType)
CFHTTPRequest.prototype.open = function(/*String*/ aMethod, /*String*/ aURL, /*Boolean*/ isAsynchronous, /*String*/ aUser, /*String*/ aPassword)
{
var retval;
var retval;
this._isOpen = true;
this._URL = aURL;
@@ -284,9 +284,9 @@ CFHTTPRequest.prototype.removeEventListener = function(/*String*/ anEventName, /
CFHTTPRequest.prototype.setWithCredentials = function(/*Boolean*/ willSendWithCredentials)
{
this._withCredentials = willSendWithCredentials
if (this._isOpen)
this._nativeRequest.withCredentials = willSendWithCredentials;
this._withCredentials = willSendWithCredentials
if (this._isOpen)
this._nativeRequest.withCredentials = willSendWithCredentials;
};
CFHTTPRequest.prototype.withCredentials = function()