Commit 2b94ad52 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Make sure that readState is READYSTATE_LOADING in read_stream_data.

parent d16bf5f9
......@@ -972,8 +972,11 @@ static HRESULT read_stream_data(nsChannelBSC *This, IStream *stream)
on_start_nsrequest(This);
if(This->window)
if(This->window) {
update_window_doc(This->window);
if(This->window->readystate != READYSTATE_LOADING)
set_ready_state(This->window, READYSTATE_LOADING);
}
}
This->bsc.readed += This->nsstream->buf_size;
......
......@@ -1310,7 +1310,6 @@ static void test_onreadystatechange(IHTMLDocument2 *doc)
SET_EXPECT(iframe_onreadystatechange_interactive);
SET_EXPECT(iframe_onreadystatechange_complete);
pump_msgs(&called_iframe_onreadystatechange_complete);
todo_wine
CHECK_CALLED(iframe_onreadystatechange_loading);
CHECK_CALLED(iframe_onreadystatechange_interactive);
CHECK_CALLED(iframe_onreadystatechange_complete);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment