summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed <ggayed>2010-10-21 14:04:08 +0000
committerGrant Gayed <ggayed>2010-10-21 14:04:08 +0000
commit03aa24d189a22ec8ba34508619e94734ba98e351 (patch)
tree7c6f672673178827ee6573e45d9770124237af69
parent7caa28c944725503d011515e17fea7f284337bd0 (diff)
downloadeclipse.platform.swt-03aa24d189a22ec8ba34508619e94734ba98e351.tar.gz
eclipse.platform.swt-03aa24d189a22ec8ba34508619e94734ba98e351.tar.xz
eclipse.platform.swt-03aa24d189a22ec8ba34508619e94734ba98e351.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 1fb993ce6c..5a538f5c3d 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
@@ -1404,7 +1404,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;