Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Linux: Eclipse Internal web browser does not show html5 contents

Hi,

The problem was with xulrunner version. I used the xulrunner version 24 and specified the following arguments in the vm arguments tab of the run launch configuration and it worked!

-Dorg.eclipse.swt.browser.DefaultType="mozilla" -Dorg.eclipse.swt.browser.XULRunnerPath="pathToXulRunner"

OR you can do that same by setting the System property through your java code

System.setProperty("org.eclipse.swt.browser.XULRunnerPath", "pathToXulRunner"); and then use the SWT.MOZILLA flag to create browser

eg Browser b = new Browser(parent, SWT.MOZILLA);

to see this problem you can try any html page which uses canvas eg  http://www.tutorialrepublic.com/codelab.php?topic=html5&file=draw-a-circle-onto-the-canvas

 

Cheers

-Kapil

 

From: Kapil Thombare
Sent: Thursday, April 20, 2017 11:46 AM
To: 'platform-ui-dev@xxxxxxxxxxx' <platform-ui-dev@xxxxxxxxxxx>
Subject: Linux: Eclipse Internal web browser does not show html5 contents

 

I have a html page which uses the html5 canvas. When I open this page in Eclipse 4.5.2 on Windows and Mac OS Internal Web Browser it shows me the canvas and other things defined correctly. However when I tried the same on Linux (Eclipse 4.5.2) the internal web browser showed me all other contents except for the html5 canvas. Please could you help me understand why the Linux variant of Eclipse does not show html5 contents in the internal web browser. What am I missing?

Thank you.

Kapil


Back to the top