Having following code

Code:
<iframe id="myframe" src="..."></iframe>

<script>
    document.getElementById('myframe').onload = function() {
      alert('myframe is loaded');
    };
</script>
i wonder how does the browser processes an iframes? Does it load the iframe content in the separate thread? If so is it run synchronously with the main thread?