Skip to main content

Bug Tracker

Side navigation

#9710 closed bug (invalid)

Opened June 30, 2011 09:07AM UTC

Closed June 30, 2011 09:45AM UTC

Last modified March 14, 2012 03:20AM UTC

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:
Description

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"
Attachments (0)
Change History (1)

Changed June 30, 2011 09:45AM UTC by addyosmani comment:1

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.