Jacek Caban : ieframe: Fixed handling documents that don' t report their ready state.

Alexandre Julliard julliard at winehq.org
Wed May 22 13:46:59 CDT 2013


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed May 22 16:08:54 2013 +0200

ieframe: Fixed handling documents that don't report their ready state.

---

 dlls/ieframe/dochost.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/ieframe/dochost.c b/dlls/ieframe/dochost.c
index 76b8950..8c5d4b5 100644
--- a/dlls/ieframe/dochost.c
+++ b/dlls/ieframe/dochost.c
@@ -310,6 +310,10 @@ HRESULT dochost_object_available(DocHost *This, IUnknown *doc)
             push_ready_state_task(This, READYSTATE_COMPLETE);
         if(ready_state != READYSTATE_COMPLETE || This->doc_navigate)
             advise_prop_notif(This, TRUE);
+    }else if(!This->doc_navigate) {
+        /* If we can't get document's ready state, there is not much we can do.
+         * Assume that document is complete at this point. */
+        push_ready_state_task(This, READYSTATE_COMPLETE);
     }
 
     return S_OK;




More information about the wine-cvs mailing list