Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#9710 closed bug (invalid)

jquery.browser.version fail in Firefox 4.0

Reported by: anonymous Owned by:
Priority: low Milestone: 1.next
Component: misc Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:


While in Firefox 5.0 jquery.browser.version return a correct value, it returns "2.0" with firefox 4.0 ! I have the usual userAgent string, that is

"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0"

Change History (1)

comment:1 Changed 12 years ago by addyosmani

Component: unfiledmisc
Priority: undecidedlow
Resolution: invalid
Status: newclosed

Thanks for submitting a ticket to the jQuery Project!. As per our docs on $.browser, $.browser.version:

Returns the version number of the rendering engine used by the user's current browser. For example, FireFox 4 returns 2.0 (the version of the Gecko rendering engine it utilizes). which is correct as per what you mention in your ticket.

Note: See TracTickets for help on using tickets.