Reviewers: unnurg,
Description:
DirectInstallLinker should not immediately remove the script tag it has
inserted into the IFRAME as this can fail in Webkit browsers
Please review this at http://gwt-code-reviews.appspot.com/1454802/
Affected files:
M dev/core/src/com/google/gwt/core/ext/linker/impl/installScriptDirect.js
Index:
dev/core/src/com/google/gwt/core/ext/linker/impl/installScriptDirect.js
===================================================================
--- dev/core/src/com/google/gwt/core/ext/linker/impl/installScriptDirect.js
(revision 10292)
+++ dev/core/src/com/google/gwt/core/ext/linker/impl/installScriptDirect.js
(working copy)
@@ -14,12 +14,6 @@
script.src = code;
sendStats('moduleStartup', 'moduleRequested');
docbody.appendChild(script);
-
- // Unless we're in pretty mode, remove the tags to shrink the DOM a
little.
- // It should have installed its code immediately after being added.
- __START_OBFUSCATED_ONLY__
- docbody.removeChild(script);
- __END_OBFUSCATED_ONLY__
}
// Just pass along the filename so that a script tag can be installed in
the
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors