diff --git a/browser/branding/official/configure.sh b/browser/branding/official/configure.sh index 55f3f1836eb1..92ef14e03f40 100644 --- a/browser/branding/official/configure.sh +++ b/browser/branding/official/configure.sh @@ -3,4 +3,3 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. MOZ_APP_DISPLAYNAME=Firefox -MOZ_UA_BUILDID=20100101 diff --git a/configure.in b/configure.in index 00881d6066c2..2eda61df26a4 100644 --- a/configure.in +++ b/configure.in @@ -8749,8 +8749,6 @@ AC_SUBST(MOZ_UA_OS_AGNOSTIC) if test -n "$MOZ_UA_OS_AGNOSTIC"; then AC_DEFINE(MOZ_UA_OS_AGNOSTIC) fi -AC_DEFINE_UNQUOTED(MOZ_UA_BUILDID, "$MOZ_UA_BUILDID") -AC_SUBST(MOZ_UA_BUILDID) AC_SUBST(MOZ_APP_STATIC_INI) diff --git a/netwerk/protocol/http/nsHttpHandler.cpp b/netwerk/protocol/http/nsHttpHandler.cpp index 50c4debd0b83..83c016f6859b 100644 --- a/netwerk/protocol/http/nsHttpHandler.cpp +++ b/netwerk/protocol/http/nsHttpHandler.cpp @@ -309,12 +309,8 @@ nsHttpHandler::Init() #ifdef ANDROID mProductSub.AssignLiteral(MOZILLA_UAVERSION); #else - mProductSub.AssignLiteral(MOZ_UA_BUILDID); + mProductSub.AssignLiteral("20100101"); #endif - if (mProductSub.IsEmpty() && appInfo) - appInfo->GetPlatformBuildID(mProductSub); - if (mProductSub.Length() > 8) - mProductSub.SetLength(8); #if DEBUG // dump user agent prefs