Browser detection code doesn't recognize XULRunner1.9

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.

Thanks for the heads-up - we’ve modified this line of code to allow “Gecko” with no slash through (unless the userAgent also identifies as Safari).
This change should be present in the SmartClient 7.0 final release.