mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-02 22:08:40 +09:00
Revert "network: follow-up rev 914569c0b"
This reverts commit a50a1db5a7.
This commit is contained in:
parent
a50a1db5a7
commit
b5d57ea4e7
1 changed files with 4 additions and 20 deletions
|
|
@ -353,11 +353,7 @@ nsHttpHandler::Init()
|
|||
if (mCompatPlatformEnabled) {
|
||||
mProductSub.Assign(mCompatPlatformVersion);
|
||||
} else {
|
||||
if (mCompatPlatformEnabled) {
|
||||
mProductSub.Assign(mCompatPlatformVersion);
|
||||
} else {
|
||||
mProductSub.Assign(mAppBuildID);
|
||||
}
|
||||
mProductSub.AssignLiteral(MOZILLA_UAVERSION);
|
||||
}
|
||||
} else {
|
||||
mProductSub.Assign(mAppBuildID);
|
||||
|
|
@ -994,17 +990,9 @@ nsHttpHandler::PrefsChanged(nsIPrefBranch *prefs, const char *pref)
|
|||
}
|
||||
|
||||
if (mCompatGeckoEnabled) {
|
||||
if (mCompatPlatformEnabled) {
|
||||
mProductSub.Assign(mCompatPlatformVersion);
|
||||
} else {
|
||||
mProductSub.AssignLiteral(MOZILLA_UAVERSION);
|
||||
}
|
||||
mProductSub.AssignLiteral(MOZILLA_UAVERSION);
|
||||
} else {
|
||||
if (mCompatPlatformEnabled) {
|
||||
mProductSub.Assign(mCompatPlatformVersion);
|
||||
} else {
|
||||
mProductSub.Assign(mAppBuildID);
|
||||
}
|
||||
mProductSub.Assign(mAppBuildID);
|
||||
}
|
||||
// In case MOZILLA_UAVERSION is empty for some odd reason...
|
||||
if (mProductSub.IsEmpty()) {
|
||||
|
|
@ -1031,11 +1019,7 @@ nsHttpHandler::PrefsChanged(nsIPrefBranch *prefs, const char *pref)
|
|||
if (mCompatGeckoEnabled) {
|
||||
mMisc += mCompatFirefoxVersion;
|
||||
} else {
|
||||
if (mCompatPlatformEnabled) {
|
||||
mMisc += mCompatPlatformVersion;
|
||||
} else {
|
||||
mMisc += MOZILLA_UAVERSION;
|
||||
}
|
||||
mMisc += MOZILLA_UAVERSION;
|
||||
}
|
||||
mCompatFirefox.AssignLiteral("Firefox/");
|
||||
mCompatFirefox += mCompatFirefoxVersion;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue