Community
Participate
Working Groups
Build Identifier: 20110615-0604 The method "open()" of FileDialog (RAP 1.4 Incubator) causes a javascript error (see attachment). Reproducible: Always Steps to Reproduce: Just run this code: Shell shell = Display.getDefault().getActiveShell(); FileDialog fileDialog = new FileDialog(shell, SWT.TITLE | SWT.MULTI ); fileDialog.setText( "Upload Files" ); fileDialog.setAutoUpload( true ); fileDialog.open();
Created attachment 201979 [details] javascript error
Additional information: This error only occurs when using Eclipse' internal web browser - MS Internet Explorer and Mozilla Firefox work just fine.
I can't reproduce it with the internal Eclipse browser and Windows 7 (IE9). What is your IE version?
I've got Internet Explorer 8. I tried both the 32bit and the 64bit version and the FileDialog works in both - just as it does in Firefox. The javascript error only occurs in the internal browser of Eclipse.
The internal eclipse browser is using IE core, but if I remember correctly it is in IE7 compatible mode. I can't reproduce it with IE9 in IE7 compatible mode.
The FileDialog works with Internet Explorer 8 in Compatibility View as well. Are you sure the internal browser is using IE core? Cause I wonder why I can't get the javascript error to appear in IE itself.
(In reply to comment #6) > Are you sure the internal browser is using IE core? Yes... I am
Joachim, I still can't reproduce the error with any browser (internal or external, 32bit and 64bit). I will close it as WORKSFORME. Please reopen if the error persists with the latest milestone or nightly build.