Bug 626608: Make sure plugin is in a state to receive callbacks before calling NPP_UrlRedirectNotify. r=bsmedberg a=blocking2.0final+

This commit is contained in:
Josh Aas 2011-02-03 16:45:33 -08:00
parent 5ae90e4e44
commit 9c1ed262b2

View File

@ -844,7 +844,7 @@ nsNPAPIPluginStreamListener::HandleRedirectNotification(nsIChannel *oldChannel,
return false;
}
if (!mInst) {
if (!mInst || !mInst->CanFireNotifications()) {
return false;
}