diff --git a/browser/branding/official/configure.sh b/browser/branding/official/configure.sh index 4d3d2973770..55884683d15 100644 --- a/browser/branding/official/configure.sh +++ b/browser/branding/official/configure.sh @@ -1,2 +1 @@ MOZ_APP_DISPLAYNAME=Firefox -MOZ_UA_BUILDID=20100101 diff --git a/config/autoconf.mk.in b/config/autoconf.mk.in index 46af5074fbf..5b43f8faea5 100644 --- a/config/autoconf.mk.in +++ b/config/autoconf.mk.in @@ -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@ diff --git a/configure.in b/configure.in index f2729c10868..d49d37c74e3 100644 --- a/configure.in +++ b/configure.in @@ -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. diff --git a/netwerk/protocol/http/nsHttpHandler.cpp b/netwerk/protocol/http/nsHttpHandler.cpp index 91ef8b52a09..f2a9a5b6c83 100644 --- a/netwerk/protocol/http/nsHttpHandler.cpp +++ b/netwerk/protocol/http/nsHttpHandler.cpp @@ -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