зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1510569 - Ensure TabChild's IPC actor is not dead before sending OnContentBlockingEvent message to TabParent r=nika
Differential Revision: https://phabricator.services.mozilla.com/D24807 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
08dfb4b9c8
Коммит
203367c7de
|
@ -3310,6 +3310,10 @@ NS_IMETHODIMP TabChild::OnSecurityChange(nsIWebProgress* aWebProgress,
|
||||||
NS_IMETHODIMP TabChild::OnContentBlockingEvent(nsIWebProgress* aWebProgress,
|
NS_IMETHODIMP TabChild::OnContentBlockingEvent(nsIWebProgress* aWebProgress,
|
||||||
nsIRequest* aRequest,
|
nsIRequest* aRequest,
|
||||||
uint32_t aEvent) {
|
uint32_t aEvent) {
|
||||||
|
if (!IPCOpen()) {
|
||||||
|
return NS_OK;
|
||||||
|
}
|
||||||
|
|
||||||
Maybe<WebProgressData> webProgressData;
|
Maybe<WebProgressData> webProgressData;
|
||||||
RequestData requestData;
|
RequestData requestData;
|
||||||
nsresult rv = PrepareProgressListenerData(aWebProgress, aRequest,
|
nsresult rv = PrepareProgressListenerData(aWebProgress, aRequest,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче