Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 210782 Details for
Bug 370976
Browser#execute never returns if widget is never displayed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Another solution
Bug-370976.patch (text/plain), 1.98 KB, created by
Ivan Furnadjiev
on 2012-02-09 04:11:02 EST
(
hide
)
Description:
Another solution
Filename:
MIME Type:
Creator:
Ivan Furnadjiev
Created:
2012-02-09 04:11:02 EST
Size:
1.98 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt >Index: src/org/eclipse/swt/browser/Browser.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt/src/org/eclipse/swt/browser/Browser.java,v >retrieving revision 1.35 >diff -u -r1.35 Browser.java >--- src/org/eclipse/swt/browser/Browser.java 26 Dec 2011 14:56:49 -0000 1.35 >+++ src/org/eclipse/swt/browser/Browser.java 9 Feb 2012 09:04:38 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2002, 2011 Innoopract Informationssysteme GmbH and others. >+ * Copyright (c) 2002, 2012 Innoopract Informationssysteme GmbH and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -18,6 +18,9 @@ > import org.eclipse.rwt.lifecycle.WidgetUtil; > import org.eclipse.rwt.service.IServiceStore; > import org.eclipse.swt.*; >+import org.eclipse.swt.events.DisposeEvent; >+import org.eclipse.swt.events.DisposeListener; >+import org.eclipse.swt.internal.SerializableCompatibility; > import org.eclipse.swt.internal.widgets.IBrowserAdapter; > import org.eclipse.swt.widgets.Composite; > import org.eclipse.swt.widgets.Display; >@@ -141,6 +144,7 @@ > html = ""; > url = ""; > functions = new ArrayList<BrowserFunction>(); >+ addDisposeListener( new BrowserDisposeListener() ); > } > > /** >@@ -524,4 +528,20 @@ > protected void checkWidget() { > super.checkWidget (); > } >+ >+ private void onDispose() { >+ executeResult = Boolean.FALSE; >+ evaluateResult = null; >+ executeScript = null; >+ executePending = false; >+ } >+ >+ //////////////// >+ // Inner classes >+ >+ private class BrowserDisposeListener implements DisposeListener, SerializableCompatibility { >+ public void widgetDisposed( DisposeEvent event ) { >+ onDispose(); >+ } >+ } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 370976
:
210741
|
210744
| 210782