Bug 289495 - SWT.MULTI Text IE6 throws javascript error
Summary: SWT.MULTI Text IE6 throws javascript error
Status: CLOSED DUPLICATE of bug 283520
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.2   Edit
Hardware: PC Windows All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2009-09-15 13:23 EDT by Philipp Eichhorn CLA
Modified: 2009-09-16 01:55 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Eichhorn CLA 2009-09-15 13:23:08 EDT
Hi,

using a multi-line Text throws an javascript error in IE6. I know IE 6 is old but still supported till 2014. :/
I couldn't find any reference so it ended up here.

Small EntryPoint:

public class TestSSLRAP3 implements IEntryPoint {
	public int createUI() {
		Display display = new Display();
		final Shell shell = new Shell(display);
		shell.setText("TestSSLRAP3");
		GridLayout layout = new GridLayout(1, false);

		Text t = new Text(shell, SWT.MULTI);
		t.setText("IE6 FAIL EXPECTED!");
		t.setLayoutData(new GridData(GridData.FILL_BOTH));

		shell.setLayout(layout);
		shell.setMaximized(true);
		shell.open();
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch()) {
				display.sleep();
			}
		}
		return 0;
	}
}

Tested with RAP 1.2. Don't be alarmed by the name of the EntryPoint I always test with SSL nowadays.

Regards,
Philipp
Comment 1 Ivan Furnadjiev CLA 2009-09-15 13:49:45 EDT
Hi Philipp, did you test it in a "real" IE 6 or on the portable Xenocode-IE6. There is another bug 283520 with exactly the same issue which is marked as invalid, because the problem was in the portable Xenocode-IE6 browser. I've tested your snippet in a "real", Windows XP SP3 with IE 6 (RAP CVS HEAD) and there is no JavaScript error.
Comment 2 Philipp Eichhorn CLA 2009-09-16 01:55:33 EDT
Hi Ivan,

I totally forgot about testing it on virtual machine with a real IE6. Now I feel bad for filing this report so easily. I will try it out on a virtual machine when I get to work. But I really think this a duplicate of bug 283520.
Thanks again, I'm sorry for the inconvenience I'm causing you.

Best regards,

Philipp

*** This bug has been marked as a duplicate of bug 283520 ***