[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Browser Javascript problems on SLES

Hi,

We've been using the browser widget with javascript and haven't had any trouble on windows. When we run on linux, however, the story changes.

I haven't tried other distributions, but I have tried on SLES 10, which comes out of the box with Firefox 1.5.x. We are passing in the following javascript...

browser.execute("window.status=document.body.scrollWidth.toString()+\"x\"+document.body.scrollHeight.toString()");

On windows, this returns a string that might look like 640x16. On SLES, the browser throws a dialog up that says "Unable to open Web browser on javascript:<script from earlier>;void(0); Reason: unknown protocol: javascript.

The browser widget itself works fine, until I use javascript. If anyone has any ideas on why this might be happening, I would love to hear them.

Richard