summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed <ggayed>2010-10-18 20:43:57 +0000
committerGrant Gayed <ggayed>2010-10-18 20:43:57 +0000
commitd42dbd7784c5a8f107e18b893df065a045738792 (patch)
tree09c7861850f285bf2216a024d0e04a802d168549
parent73d95a7fcd44702abe7fa8dbc80c97131f2d784c (diff)
downloadeclipse.platform.swt-d42dbd7784c5a8f107e18b893df065a045738792.tar.gz
eclipse.platform.swt-d42dbd7784c5a8f107e18b893df065a045738792.tar.xz
eclipse.platform.swt-d42dbd7784c5a8f107e18b893df065a045738792.zip
327362 - setUrl() call navigates to about:blank prior to real url breaks IEWebHistory
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java b/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java
index 6e4ae573b6..7fc6a1d295 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java
@@ -1402,7 +1402,7 @@ public boolean setUrl(String url, String postData, String headers[]) {
* about:blank to work around IE bug http://support.microsoft.com/kb/320153,
* then navigate to the requested url once about:blank has loaded.
*/
- if (_getUrl().length() == 0) {
+ if (_getUrl().length() == 0 && !ABOUT_BLANK.equalsIgnoreCase(url)) {
pendingText = null;
pendingUrl = new Object[] {url, postData, headers};
performingInitialNavigate = true;