Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355477 - JavaScript error when opening RAP Incubator FileDialog
Summary: JavaScript error when opening RAP Incubator FileDialog
Status: RESOLVED WORKSFORME
Alias: None
Product: RAP
Classification: RT
Component: Incubator (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-23 05:27 EDT by Joachim Butz CLA
Modified: 2012-04-04 10:54 EDT (History)
1 user (show)

See Also:


Attachments
javascript error (7.57 KB, text/plain)
2011-08-23 05:28 EDT, Joachim Butz CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joachim Butz CLA 2011-08-23 05:27:06 EDT
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();
Comment 1 Joachim Butz CLA 2011-08-23 05:28:01 EDT
Created attachment 201979 [details]
javascript error
Comment 2 Joachim Butz CLA 2011-08-23 06:30:53 EDT
Additional information: This error only occurs when using Eclipse' internal web browser - MS Internet Explorer and Mozilla Firefox work just fine.
Comment 3 Ivan Furnadjiev CLA 2011-08-23 07:04:12 EDT
I can't reproduce it with the internal Eclipse browser and Windows 7 (IE9). What is your IE version?
Comment 4 Joachim Butz CLA 2011-08-23 09:10:02 EDT
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.
Comment 5 Ivan Furnadjiev CLA 2011-08-24 05:15:24 EDT
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.
Comment 6 Joachim Butz CLA 2011-08-24 09:02:01 EDT
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.
Comment 7 Ivan Furnadjiev CLA 2011-08-24 09:25:27 EDT
(In reply to comment #6)
> Are you sure the internal browser is using IE core?
Yes... I am
Comment 8 Ivan Furnadjiev CLA 2011-11-07 04:50:57 EST
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.