[OS X] SWT-Browser ignores the script-tag [message #269888] |
Wed, 01 April 2009 15:26  |
Eclipse User |
|
|
|
Hi to all,
I'm new on this portal and I'm not sure, if this is the right group for my
very specific problem. If I'm wrong, lead my to the right group please.
My System:
- OS X 10.5.6
- Eclipse Version: 3.4.2 Build id:M20090211-1700
- Java 1.5.0_16
My application uses the swt-browser. I found out, if the browser gets
an html page with a script-tag to load a javascript file (e.g. <script
type="text/javascript" src="file.js"></script>), the file isn't load.
With Win XP it works as expected.
Because I couldn't test this on another Mac, I would ask, if there is
someone who can confirm this behavior? The really strange thing is,
that is is independent of using the XULrunner or not.
Could this be a bug?
Any hints are welcome.
Thanks a lot.
Regards
Thilo
|
|
|
Re: [OS X] SWT-Browser ignores the script-tag [message #269904 is a reply to message #269888] |
Thu, 02 April 2009 04:46  |
Eclipse User |
|
|
|
Originally posted by: none.domain.invalid
Thilo a écrit :
> Hi to all,
>
> I'm new on this portal and I'm not sure, if this is the right group for
> my very specific problem. If I'm wrong, lead my to the right group please.
>
> My System:
> - OS X 10.5.6 - Eclipse Version: 3.4.2 Build id:M20090211-1700
> - Java 1.5.0_16
>
> My application uses the swt-browser. I found out, if the browser gets
> an html page with a script-tag to load a javascript file (e.g. <script
> type="text/javascript" src="file.js"></script>), the file isn't load.
> With Win XP it works as expected.
>
> Because I couldn't test this on another Mac, I would ask, if there is
> someone who can confirm this behavior? The really strange thing is,
> that is is independent of using the XULrunner or not.
> Could this be a bug?
>
> Any hints are welcome.
> Thanks a lot.
> Regards
> Thilo
If you are using eclipse 3.5M6, you could call
Browser.setJavascriptEnabled(true).
I don't know for previous version.
|
|
|
Powered by
FUDForum. Page generated in 0.07256 seconds