Reviewers: knorton, scottb, bruce,

Description:
Changes IFrameLinker to cause the compiled script to load in parallel
with other scripts. It does this by using XMLHttpRequest to fetch the
compiled script, rather than waiting on the injected iframe to load it
(this is the approach described in the issue tracker).

Note that it still injects the compiled script into an iframe, so the
resulting structure should be indistinguishable to the compiled script.
This is particularly important for things like runAsync(), which make
certain assumptions about the scope (in this case, global) in which the
script is evaluated.

Also note that I have confirmed this works in IE, Safari, Firefox, and
Opera, as well as in legacy hosted mode, 1.6 (war deployment) hosted
mode, and OOPHM.

Please review this at http://gwt-code-reviews.appspot.com/33808

Affected files:
   dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html
   dev/core/src/com/google/gwt/core/linker/IFrameTemplate.js



--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to