Jacek Caban : mshtml: Ignore navigation failures from detached bindings.

Alexandre Julliard julliard at winehq.org
Tue Jul 17 11:05:35 CDT 2012


Module: wine
Branch: master
Commit: da7e0e38e8298df727dea69caab300323ac3d15c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=da7e0e38e8298df727dea69caab300323ac3d15c

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Jul 17 13:17:49 2012 +0200

mshtml: Ignore navigation failures from detached bindings.

---

 dlls/mshtml/navigate.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/navigate.c b/dlls/mshtml/navigate.c
index 2edb470..ecc8ef3 100644
--- a/dlls/mshtml/navigate.c
+++ b/dlls/mshtml/navigate.c
@@ -1339,7 +1339,7 @@ static void handle_navigation_error(nsChannelBSC *This, DWORD result)
     BSTR unk;
     HRESULT hres;
 
-    if(!This->is_doc_channel)
+    if(!This->is_doc_channel || !This->bsc.window)
         return;
 
     outer_window = This->bsc.window->base.outer_window;




More information about the wine-cvs mailing list