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

This commit is contained in:
Jacek Caban 2013-05-22 16:08:54 +02:00 committed by Alexandre Julliard
parent 14ad0a1a84
commit 2c6b5d33d1
1 changed files with 4 additions and 0 deletions

View File

@ -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;