Bug 1781134 - Remove NS_WARNING noise when modifying X-Mozilla-Keys headers. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D184996 --HG-- extra : amend_source : a4d186368ecf37bbd775b41cdc0c569bb4465222
This commit is contained in:
Родитель
a5bfc1e814
Коммит
9a37ea85cf
|
@ -323,7 +323,6 @@ nsresult nsMsgLocalStoreUtils::ChangeKeywordsHelper(
|
|||
rdr.Parse(data, findHeaderFn);
|
||||
|
||||
if (kwHdr.IsEmpty()) {
|
||||
NS_WARNING("X-Mozilla-Keys header not found.");
|
||||
notEnoughRoom = true;
|
||||
return NS_OK;
|
||||
}
|
||||
|
@ -361,7 +360,6 @@ nsresult nsMsgLocalStoreUtils::ChangeKeywordsHelper(
|
|||
// Write updated keywords over existing value.
|
||||
auto out = StringJoin(" "_ns, keywords);
|
||||
if (out.Length() > kwHdr.rawValLen) {
|
||||
NS_WARNING("X-Mozilla-Keys too small for new value.");
|
||||
notEnoughRoom = true;
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче