[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Question: Location changes on the Browser widget

Hi,

The SWT Browser widget lets listen for location/URL changes. You install a LocationListener listener and implement the changing() and changed() methods both of which are passed with the LocationEvent object.

My changing() and changed() methods are called and I echo out the location. Please see below. My question is why I am notified with the "about:blank" and "res:" location changes? How would I turn these "irrelevant" notifications? My location is C:\doc\index.html.

locationChanging: res://C:\WINDOWS\System32\shdoclc.dll/navcancl.htm
locationChanging: about:blank
locationChanged: about:blank
locationChanging: res://C:\WINDOWS\System32\shdoclc.dll/navcancl.htm
locationChanging: about:blank
locationChanged: about:blank
locationChanging: C:\doc\index.html
locationChanged: C:\doc\index.html