Fixes a refresh bug with FF2 where it tries to reload an old (now non-existent) strongname script instead of the correct strongname script.

Found by: knorton
Review by: knorton


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2907 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/core/ext/linker/impl/HostedModeTemplate.js b/dev/core/src/com/google/gwt/core/ext/linker/impl/HostedModeTemplate.js
index 6c76a97..eefedd3 100644
--- a/dev/core/src/com/google/gwt/core/ext/linker/impl/HostedModeTemplate.js
+++ b/dev/core/src/com/google/gwt/core/ext/linker/impl/HostedModeTemplate.js
@@ -366,9 +366,10 @@
       
       /* 
        * The src has to be set after the iframe is attached to the DOM to avoid
-       * refresh quirks in Safari.
+       * refresh quirks in Safari.  We have to use the location.replace trick to
+       * avoid FF2 refresh quirks.
        */
-      iframe.src = base + strongName;
+      iframe.contentWindow.location.replace(base + strongName);
     }
   }
 
diff --git a/dev/core/src/com/google/gwt/core/linker/IFrameTemplate.js b/dev/core/src/com/google/gwt/core/linker/IFrameTemplate.js
index 496f3ee..415e221 100644
--- a/dev/core/src/com/google/gwt/core/linker/IFrameTemplate.js
+++ b/dev/core/src/com/google/gwt/core/linker/IFrameTemplate.js
@@ -334,9 +334,10 @@
       
       /* 
        * The src has to be set after the iframe is attached to the DOM to avoid
-       * refresh quirks in Safari.
+       * refresh quirks in Safari.  We have to use the location.replace trick to
+       * avoid FF2 refresh quirks.
        */
-      iframe.src = base + strongName;
+      iframe.contentWindow.location.replace(base + strongName);
     }
   }