mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 588909 - Replace Gecko/<date> with Gecko/<version> in UA string. r=bz sr=gerv
This commit is contained in:
parent
2295d5a688
commit
794c8a0fac
@ -1,2 +1 @@
|
||||
MOZ_APP_DISPLAYNAME=Firefox
|
||||
MOZ_UA_BUILDID=20100101
|
||||
|
@ -57,7 +57,6 @@ MOZ_PROFILE_MIGRATOR = @MOZ_PROFILE_MIGRATOR@
|
||||
MOZ_EXTENSION_MANAGER = @MOZ_EXTENSION_MANAGER@
|
||||
MOZ_APP_UA_NAME = @MOZ_APP_UA_NAME@
|
||||
MOZ_APP_VERSION = @MOZ_APP_VERSION@
|
||||
MOZ_UA_BUILDID = @MOZ_UA_BUILDID@
|
||||
MOZ_MACBUNDLE_NAME = @MOZ_MACBUNDLE_NAME@
|
||||
MOZ_APP_STATIC_INI = @MOZ_APP_STATIC_INI@
|
||||
|
||||
|
@ -8650,8 +8650,6 @@ AC_SUBST(MOZ_APP_VERSION)
|
||||
AC_DEFINE_UNQUOTED(MOZ_UA_FIREFOX_VERSION, "$FIREFOX_VERSION")
|
||||
AC_DEFINE_UNQUOTED(FIREFOX_VERSION,$FIREFOX_VERSION)
|
||||
AC_SUBST(FIREFOX_VERSION)
|
||||
AC_DEFINE_UNQUOTED(MOZ_UA_BUILDID, "$MOZ_UA_BUILDID")
|
||||
AC_SUBST(MOZ_UA_BUILDID)
|
||||
|
||||
# We can't use the static application.ini data when building against
|
||||
# a libxul SDK.
|
||||
|
@ -307,15 +307,7 @@ nsHttpHandler::Init()
|
||||
rv = InitConnectionMgr();
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
#ifdef ANDROID
|
||||
mProductSub.AssignLiteral(MOZ_APP_UA_VERSION);
|
||||
#else
|
||||
mProductSub.AssignLiteral(MOZ_UA_BUILDID);
|
||||
#endif
|
||||
if (mProductSub.IsEmpty() && appInfo)
|
||||
appInfo->GetPlatformBuildID(mProductSub);
|
||||
if (mProductSub.Length() > 8)
|
||||
mProductSub.SetLength(8);
|
||||
mProductSub.AssignLiteral(MOZILLA_VERSION);
|
||||
|
||||
// Startup the http category
|
||||
// Bring alive the objects in the http-protocol-startup category
|
||||
|
Loading…
Reference in New Issue
Block a user