IE8 & IE9 Doc Complete Issue

Hi,

i´ve encountered different timing values for doc complete when measuring websides with video and without video.

in the first measurement with video enabled the doc complete state is set allthough not all images are completly load.
http://www.webpagetest.org/result/121106_M5_DPA/

the measurement without video sets doc complete at the right time, when all elements are loaded complete
http://www.webpagetest.org/result/121106_2K_DR3/

the difference is visible in the waterfall and the Doc Complete Requests

IE9 shows the same behaviour
without video
http://www.webpagetest.org/result/121106_88_E36/
with video
http://www.webpagetest.org/result/121106_3S_E31/

hope that somebody can help.

thanks & regards
Heiko

From the looks of it you may have some code that is altering the page and that is timing sensitive. The video capture may be changing the timing just enough to get it to happen on the other side of the onload event. If you look at where the favicon loads that works as a good sanity check for where the browser thinks it fired onload.