mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 728773 - Always freeze the build ID in the UA string at 20100101. r=bz sr=gerv
This commit is contained in:
parent
e0d34d10b5
commit
ece0e613e4
@ -3,4 +3,3 @@
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
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
|
||||
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)
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user