GNOME Bugzilla – Bug 426076
Epiphany+xulrunner lacks Gecko in user-agent
Last modified: 2007-04-16 22:31:25 UTC
Please describe the problem: Epiphany does not have Gecko in the user-agent when using the xulrunner backend. Websites that do browser sniffing for Gecko (i.e., GMail) do not work correctly. http://developer.mozilla.org/en/docs/Browser_Detection_and_Cross_Browser_Support notes that sites should look for "Gecko/" in the user-agent. Changing general.useragent.extra.epiphany to a string in the form of "Gecko/YYYMMDD Epiphany/2.18" fixes the broken sites. Using "Gecko/Epiphany/2.8" does not fix all the sites. Unfortunately, in embed/mozilla/mozilla-embed-single.cpp, Epiphany fills the useragent after loading user preferrences, so if I restart Epiphany the user-agent is set back to "Epiphany/2.18" and I must change it again. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Might be related to the fact that the UA string must not be longer than 128 chars, otherwise plugins will fail.
Which distro? Which xulrunner version?
I am using xulrunner-1.8.0.4 on Gentoo. With Gecko/YYYYMMDD in the UA the string is 82 characters.
I'd say this is probably a xulrunner bug on gentoo then, since it works on debian xulrunner.
I just submitted a bug to Gentoo (http://bugs.gentoo.org/show_bug.cgi?id=173408) and referred to this bug.
The problem was with an older version of xulrunner. Sorry for bugging here first :)