mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 270042 - Crash on startup [@ nsXULDocument::OnStreamComplete(nsIStreamLoader*, nsISupports*, unsigned int, unsigned int, unsigned char const*)], r=neil
This commit is contained in:
parent
1986c2c297
commit
11b6d8a3b1
@ -3517,6 +3517,10 @@ nsXULDocument::OnStreamComplete(nsIStreamLoader* aLoader,
|
||||
|
||||
NS_ASSERTION(mCurrentScriptProto && mCurrentScriptProto->mSrcLoading,
|
||||
"script source not loading on unichar stream complete?");
|
||||
if (!mCurrentScriptProto) {
|
||||
// XXX Wallpaper for bug 270042
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
// Clear mCurrentScriptProto now, but save it first for use below in
|
||||
// the compile/execute code, and in the while loop that resumes walks
|
||||
|
Loading…
Reference in New Issue
Block a user