I’m using SWT’s browser component with XULRunner 1.9, and it can’t run any application built on smartclient. The browser detection code in smart client doesn’t recognize it. Here is the default user agent of xul runner:
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.4) Gecko
Note that Gecko doesn’t end with /. The line at fault is in browser.js :
// NOTE: must look for Gecko/ because Safari sends "(like Gecko)"
isc.Browser.isMoz = navigator.userAgent.indexOf("Gecko/") != -1;
I know this is not a common scenario, but i tought i’d let you know.