зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1680977 - stop defining now-unused PREF_HISTORY_MAXURLLEN* macros. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D100703
This commit is contained in:
Родитель
a00961b698
Коммит
df5f73e1b8
|
@ -67,18 +67,6 @@
|
|||
#define ENV_ALLOW_CORRUPTION \
|
||||
"ALLOW_PLACES_DATABASE_TO_LOSE_DATA_AND_BECOME_CORRUPT"
|
||||
|
||||
// The maximum url length we can store in history.
|
||||
// We do not add to history URLs longer than this value.
|
||||
#define PREF_HISTORY_MAXURLLEN "places.history.maxUrlLength"
|
||||
// This number is mostly a guess based on various facts:
|
||||
// * IE didn't support urls longer than 2083 chars
|
||||
// * Sitemaps protocol used to support a maximum of 2048 chars
|
||||
// * Various SEO guides suggest to not go over 2000 chars
|
||||
// * Various apps/services are known to have issues over 2000 chars
|
||||
// * RFC 2616 - HTTP/1.1 suggests being cautious about depending
|
||||
// on URI lengths above 255 bytes
|
||||
#define PREF_HISTORY_MAXURLLEN_DEFAULT 2000
|
||||
|
||||
#define PREF_MIGRATE_V52_ORIGIN_FRECENCIES \
|
||||
"places.database.migrateV52OriginFrecencies"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче