Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » SWT Browser
SWT Browser [message #1745766] Mon, 17 October 2016 10:23 Go to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 66
Registered: December 2011

I have noticed a change/bug in SWT Browser.
I used an AuthenticationListener to provide credentials.
In the listener, I check the event.location to choose the correct credential.
The code was written for Eclipse 3.7 and works fine with this version. With Neon, event.location is always null.

The workaround is to use a LocationListener.

The other problem I have is request headers. I would like to add a specific header, so I use browser.setUrl(url,null,headers) but It does not work.


[Updated on: Mon, 17 October 2016 10:24]

Report message to a moderator

Re: SWT Browser [message #1745812 is a reply to message #1745766] Mon, 17 October 2016 18:19 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 876
Registered: January 2012
Senior Member

I'd suggest filing a bug for each problem. Please specify details about which operating system you see this on, and provide a small standalone example that clearly demonstrates the problem. is a great testing resource. You can use '' for your authentication case, and '' as the URL to verify the request headers. ( is very handy too.)


Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Previous Topic:SWT - Creating child context in ShellActivationListener
Next Topic:How to disable MenuItems from Fragment
Goto Forum:

Current Time: Tue Sep 29 11:39:49 GMT 2020

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

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

Back to the top