Opened 12 years ago

Closed 12 years ago

#3974 closed defect (wontfix)

dojo.isFF is set incorrectly under Debian Linux

Reported by: guest Owned by: anonymous
Priority: high Milestone:
Component: General Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

Debian has renamed the Firefox browser to "Iceweasel," which is reflected in the USER_AGENT. Thus, when setting dojo.isFF we should try dua.split("Iceweasel/") in addition to dua.split("Firefox/").

Change History (3)

comment:1 Changed 12 years ago by Adam Peller

Is there something else in the user agent we can use instead? This sounds like it should be a Debian bug?

comment:2 Changed 12 years ago by guest

Sigh. The Debian project has rebranded the browser due to concerns over licensing, or something like that. The USER_AGENT looks like it's identical to Firefox, but with the name Iceweasel instead:

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-1)

I'm not sure what to recommend here.

comment:3 Changed 12 years ago by Adam Peller

Resolution: wontfix
Status: newclosed

Weird. It sounds like they're leaving it out of the user-agent out of spite

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=399633

what they didn't mention is that they forked Firefox, not Epiphany or Galeon... but I think we need to let iceweasel drive the decision over whether their browser is to be treated as Firefox or not, since they will control future releases which may or may not be based off Firefox, and I dread adding any special cases to the bootstrap or new test cases to the matrix. Sounds like we should minimize the use of isFF, and apparently we do -- I only see it used in one place in the code.

Note: See TracTickets for help on using tickets.