Bug 488274 - Crash [@ nsObjectLoadingContent::OnStartRequest] with object, DOMAttrModified and colorpicker. Patch by Olli.Pettay@gmail.com, r=jst, sr=bz, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@259002 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -518,6 +518,13 @@ nsObjectLoadingContent::OnStartRequest(nsIRequest *aRequest,
|
||||
// bug 300540; when that's fixed, this if statement can be removed.
|
||||
mType = newType;
|
||||
notifier.Notify();
|
||||
|
||||
if (!mFrameLoader) {
|
||||
// mFrameLoader got nulled out when we notified, which most
|
||||
// likely means the node was removed from the
|
||||
// document. Abort the load that just started.
|
||||
return NS_BINDING_ABORTED;
|
||||
}
|
||||
}
|
||||
|
||||
// We're loading a document, so we have to set LOAD_DOCUMENT_URI
|
||||
|
||||
Reference in New Issue
Block a user