Test doesn't wait until the resource in iframe got loaded


does any body know about the issue where test wont wait for completion of loading the content in an iframe?

We have an iframe to load facebook like button(which is an src to php file in facebook domain and it sends back some js to prepare the button).  I have observed this issue in IE.  Some times the test result includes the facebook js part of resource and some times not.