Hi,
I'm trying to make page loads on iframe always asynchronous in WebKit.
However, the current specification appears to indicate that the navigation
happens synchronously.
Namely, in the following example, the first alert should be "true" as far as I
read the specification.
<script> var a = false; </script>
<iframe src="javascript:a=true" onload="a = true"></iframe>
<script> alert(a); /* or even setTimeout(function(){alert(a);},0); */
setTimeout(function(){alert(a);},10) </script>
On the other hand, Firefox and Internet Explorer do not synchronously load
iframes, and the first alert in the example above yields "false" although it
yields "true" on WebKit and Blink.
Am I reading the specification wrong/missing something? If not, could you
amend the specification to make page loads on an iframe always asynchronous?
- R. Niwa