Relax and add support for Firefox 10 and Chrome 18.

This commit is contained in:
Paulo Gustavo Veiga 2012-09-09 19:13:53 -03:00
parent 84fcad2688
commit e83fa28ae8

View File

@ -336,7 +336,7 @@ public class UserAgent implements Serializable {
boolean result = product == UserAgent.Product.FIREFOX && this.isVersionGreatedOrEqualThan(12, 0); boolean result = product == UserAgent.Product.FIREFOX && this.isVersionGreatedOrEqualThan(12, 0);
result = result || product == UserAgent.Product.EXPLORER && this.isVersionGreatedOrEqualThan(7, 0) && this.getOs() == UserAgent.OS.WINDOWS; result = result || product == UserAgent.Product.EXPLORER && this.isVersionGreatedOrEqualThan(7, 0) && this.getOs() == UserAgent.OS.WINDOWS;
result = result || product == UserAgent.Product.OPERA && this.isVersionGreatedOrEqualThan(11, 0); result = result || product == UserAgent.Product.OPERA && this.isVersionGreatedOrEqualThan(11, 0);
result = result || product == UserAgent.Product.CHROME && this.isVersionGreatedOrEqualThan(19, 0); result = result || product == UserAgent.Product.CHROME && this.isVersionGreatedOrEqualThan(18, 0);
result = result || product == UserAgent.Product.SAFARI && this.isVersionGreatedOrEqualThan(5, 0); result = result || product == UserAgent.Product.SAFARI && this.isVersionGreatedOrEqualThan(5, 0);
result = result || product == Product.WEB_CRAWLER; result = result || product == Product.WEB_CRAWLER;