mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
5ae90e4e44
commit
9c1ed262b2
@ -844,7 +844,7 @@ nsNPAPIPluginStreamListener::HandleRedirectNotification(nsIChannel *oldChannel,
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!mInst) {
|
||||
if (!mInst || !mInst->CanFireNotifications()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user