Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Is there a statement of support for Microsoft Edge in SWT Browser.(MS Edge and SWT Browser support)
Is there a statement of support for Microsoft Edge in SWT Browser. [message #1791203] Mon, 25 June 2018 23:37 Go to next message
Heath Thomann is currently offline Heath ThomannFriend
Messages: 1
Registered: June 2018
Junior Member
HI! I would like some clarity on the support of Microsoft Edge in the SWT Browser. I am creating an RCP application that makes use of the SWT Browser. On Windows, we all know that IE is the default browser used by the SWT Browser. IE is no longer a modern browser, and Edge is the future for Microsoft. The URL we use within our SWT Browser instance is to a Node.JS server running a JS app. The JS app is a very modern app which makes use of ECMAScript 6. IE as I understand it does not support ECMAScript 6 so we often run into issues when ES6 features are used. However, when we take the same URL/app and run it with Edge, Firefox, or Chrome outside of Eclipse, all works perfectly.
By chance, we found that if we set this property in eclipse.ini, Edge will be used:

-Dorg.eclipse.swt.browser.IEVersion=12001

We verify that Edge is used by opening a browser in Eclipse and entering whatismybrowser.com. We cannot find documentation on this option, nor can we find any documentation regarding Eclipse + Edge. However, even though Edge appears to be used by Eclipse with the aforementioned property, we unfortunately find that the issues we see in IE with our URL/app also appears with Edge in Eclipse. Again, it works perfectly in Edge outside of Eclipse.

Having said all this, we'd like to know if there is a statement by Eclipse regarding Edge. Furthermore, we'd like to know where the work was performed to support IEVersion=12001. If I set IEVersion=13001 the default IE is used...given this, it seems clear to us that someone has added support for Edge, be it preliminary, with the specific value of 12001. Finally, the ideas [1] to support Chromium in SWT Browser sound like a great idea! We'd ultimately like to use Chromium since it should play well on all OSs......we are only looking at Edge as a stop gap until such time as Chromium is supported by the SWT Browser.


[1] https://blogs.eclipse.org/post/mika%C3%ABl-barbero/chromium-eclipse-swt-integration


Sincerely,

Heath Thomann
Re: Is there a statement of support for Microsoft Edge in SWT Browser. [message #1792051 is a reply to message #1791203] Tue, 10 July 2018 14:09 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 772
Registered: January 2012
Senior Member

I suspect you're hitting the IE compat view detection. See the following links for details:

https://msdn.microsoft.com/en-us/library/ff405803(v=vs.85).aspx
https://bugs.eclipse.org/bugs/show_bug.cgi?id=497924#c13

We have to use an HTML5 doctype and add a `<meta http-equiv="X-UA-Compatible" content="IE=edge">` element to the `<head>` section to instruct IE to "display content in the highest mode available."

Brian.


Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Previous Topic:Detetct Retina Display on MacOSX
Next Topic:Change TreeViewer column header height
Goto Forum:
  


Current Time: Tue Sep 25 17:20:30 GMT 2018

Powered by FUDForum. Page generated in 0.01317 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top