commit | 0aee768151c72a9bf4771b8fbde7773eb5b0bbf7 | [log] [tgz] |
---|---|---|
author | fredsa@google.com <fredsa@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Tue Jun 07 23:34:48 2011 +0000 |
committer | fredsa@google.com <fredsa@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Tue Jun 07 23:34:48 2011 +0000 |
tree | dc789707292c3e89497ca8e8e0d10fd06fec2f87 | |
parent | a7a210f2986808a2ac324862c9448173dd9594bf [diff] |
DirectInstallLinker should not immediately remove the script tag it has inserted into the IFRAME as this can fail in Webkit browsers Review at http://gwt-code-reviews.appspot.com/1454802 Review by: unnurg@google.com git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10293 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/core/ext/linker/impl/installScriptDirect.js b/dev/core/src/com/google/gwt/core/ext/linker/impl/installScriptDirect.js index 4ca4d72..9e53fe1 100644 --- a/dev/core/src/com/google/gwt/core/ext/linker/impl/installScriptDirect.js +++ b/dev/core/src/com/google/gwt/core/ext/linker/impl/installScriptDirect.js
@@ -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