mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 728773 - Always freeze the build ID in the UA string at 20100101. r=bz sr=gerv
This commit is contained in:
parent
975bc25be6
commit
116734a54e
@ -3,4 +3,3 @@
|
|||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
MOZ_APP_DISPLAYNAME=Firefox
|
MOZ_APP_DISPLAYNAME=Firefox
|
||||||
MOZ_UA_BUILDID=20100101
|
|
||||||
|
@ -8749,8 +8749,6 @@ AC_SUBST(MOZ_UA_OS_AGNOSTIC)
|
|||||||
if test -n "$MOZ_UA_OS_AGNOSTIC"; then
|
if test -n "$MOZ_UA_OS_AGNOSTIC"; then
|
||||||
AC_DEFINE(MOZ_UA_OS_AGNOSTIC)
|
AC_DEFINE(MOZ_UA_OS_AGNOSTIC)
|
||||||
fi
|
fi
|
||||||
AC_DEFINE_UNQUOTED(MOZ_UA_BUILDID, "$MOZ_UA_BUILDID")
|
|
||||||
AC_SUBST(MOZ_UA_BUILDID)
|
|
||||||
|
|
||||||
AC_SUBST(MOZ_APP_STATIC_INI)
|
AC_SUBST(MOZ_APP_STATIC_INI)
|
||||||
|
|
||||||
|
@ -309,12 +309,8 @@ nsHttpHandler::Init()
|
|||||||
#ifdef ANDROID
|
#ifdef ANDROID
|
||||||
mProductSub.AssignLiteral(MOZILLA_UAVERSION);
|
mProductSub.AssignLiteral(MOZILLA_UAVERSION);
|
||||||
#else
|
#else
|
||||||
mProductSub.AssignLiteral(MOZ_UA_BUILDID);
|
mProductSub.AssignLiteral("20100101");
|
||||||
#endif
|
#endif
|
||||||
if (mProductSub.IsEmpty() && appInfo)
|
|
||||||
appInfo->GetPlatformBuildID(mProductSub);
|
|
||||||
if (mProductSub.Length() > 8)
|
|
||||||
mProductSub.SetLength(8);
|
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
// dump user agent prefs
|
// dump user agent prefs
|
||||||
|
Loading…
Reference in New Issue
Block a user