> frame.contentDocument.write(html);

The key here is, I think, when we design the new Iframe object,
that Iframe.contentDocument.write() somehow invokes the innerHTML machinery.
That parses and executes html immediately,
though if that html has <script> as in your example,
the script might not run immediately, as another script is already running,
but I don't think that's a problem,
as long as the html dom objects are created immediately, which they are,
because innerHTML requires that as we already saw.
If my life crises abbate I'll work on this,
because I can see it really needs to be done,
and meantime I'll just advise on the design.

Kevin thanks for uncovering this.
I really think missing dom pieces and interactions are 90% of our
webpage troubles, while the really hard asynchronous ajax java methods etc
are only a small percentage of our troubles.
So filling in missing dom pieces, like Iframe, is probably
the biggest bang for the buck.

Karl Dahlke
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to