Skip to content

Commit

Permalink
Bug 588909 - Replace Gecko/<date> with Gecko/<version> in UA string. …
Browse files Browse the repository at this point in the history
…r=bz sr=gerv
  • Loading branch information
daogottwald committed Apr 30, 2012
1 parent 9423ca3 commit 7500ef3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion browser/branding/official/configure.sh
@@ -1,2 +1 @@
MOZ_APP_DISPLAYNAME=Firefox
MOZ_UA_BUILDID=20100101
1 change: 0 additions & 1 deletion config/autoconf.mk.in
Expand Up @@ -60,7 +60,6 @@ MOZ_EXTENSION_MANAGER = @MOZ_EXTENSION_MANAGER@
MOZ_APP_UA_NAME = @MOZ_APP_UA_NAME@
MOZ_APP_VERSION = @MOZ_APP_VERSION@
MOZ_APP_MAXVERSION = @MOZ_APP_MAXVERSION@
MOZ_UA_BUILDID = @MOZ_UA_BUILDID@
MOZ_MACBUNDLE_NAME = @MOZ_MACBUNDLE_NAME@
MOZ_APP_STATIC_INI = @MOZ_APP_STATIC_INI@

Expand Down
2 changes: 0 additions & 2 deletions configure.in
Expand Up @@ -8567,8 +8567,6 @@ AC_SUBST(MOZ_APP_MAXVERSION)
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.
Expand Down
8 changes: 0 additions & 8 deletions netwerk/protocol/http/nsHttpHandler.cpp
Expand Up @@ -321,15 +321,7 @@ nsHttpHandler::Init()
rv = InitConnectionMgr();
if (NS_FAILED(rv)) return rv;

#ifdef ANDROID
mProductSub.AssignLiteral(MOZILLA_UAVERSION);
#else
mProductSub.AssignLiteral(MOZ_UA_BUILDID);
#endif
if (mProductSub.IsEmpty() && appInfo)
appInfo->GetPlatformBuildID(mProductSub);
if (mProductSub.Length() > 8)
mProductSub.SetLength(8);

// Startup the http category
// Bring alive the objects in the http-protocol-startup category
Expand Down

0 comments on commit 7500ef3

Please sign in to comment.