mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Bug 325697 window.open() causes "ASSERTION: still loading a script when starting another load?" in nsXULDocument::LoadScript
r=bz sr=biesi
This commit is contained in:
parent
279fbbf5a4
commit
c1d75471fd
@ -3115,7 +3115,10 @@ nsXULDocument::LoadScript(nsXULPrototypeScript* aScriptProto, PRBool* aBlock)
|
||||
nsCOMPtr<nsIStreamLoader> loader;
|
||||
rv = NS_NewStreamLoader(getter_AddRefs(loader), aScriptProto->mSrcURI,
|
||||
this, nsnull, group);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
if (NS_FAILED(rv)) {
|
||||
mCurrentScriptProto = nsnull;
|
||||
return rv;
|
||||
}
|
||||
|
||||
aScriptProto->mSrcLoading = PR_TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user