mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-29 03:44:37 +00:00
Bug 190180, fix UMR, r=harishd, sr=jst.
This commit is contained in:
parent
5d7fb8b95b
commit
05707b2661
@ -127,12 +127,14 @@ GetCurrentContext(nsIScriptContext **aScriptContext)
|
||||
/////////////////////////////////////////////
|
||||
|
||||
nsXMLHttpRequest::nsXMLHttpRequest()
|
||||
: mAsync(PR_FALSE),
|
||||
mCrossSiteAccessEnabled(PR_FALSE),
|
||||
mLoopingForSyncLoad(PR_FALSE)
|
||||
{
|
||||
ChangeState(XML_HTTP_REQUEST_UNINITIALIZED,PR_FALSE);
|
||||
mAsync = PR_TRUE;
|
||||
mCrossSiteAccessEnabled = PR_FALSE;
|
||||
mLoopingForSyncLoad = PR_FALSE;
|
||||
mEventQService = do_GetService(kEventQueueServiceCID);
|
||||
|
||||
// Keep this last so that everything is initialized by the time we call this
|
||||
ChangeState(XML_HTTP_REQUEST_UNINITIALIZED, PR_FALSE);
|
||||
}
|
||||
|
||||
nsXMLHttpRequest::~nsXMLHttpRequest()
|
||||
|
Loading…
Reference in New Issue
Block a user