RE: script execution corner case: timing of running a script created from a javascript: URL inside an IFRAME

Hallvord Steen wrote:

>Does it even make sense to try to standardise the behaviour here? If yes,  
what makes more sense and how should it be spec'ed?

As an author who sometimes does things of the sort you describe, particularly between different namespaces, absolutely, it would be nice if one could predict the behavior of browsers. In terms of how to do it or spec it, I don't have strong opinions, but it would be nice to be able to rely on an onload event or some other event within the iframe to be able to know when the script of the iframe has become available. Chrome's behavior doesn't seem correct to me, at least.

David

Received on Wednesday, 19 January 2011 15:40:13 UTC