зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1577354 - Assertion failure: decoded.CountChar('\t') == 2, at /netwerk/cache2/CacheFileContextEvictor.cpp:409, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D43902 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
26889bce93
Коммит
85857b979d
|
@ -406,7 +406,7 @@ nsresult CacheFileContextEvictor::LoadEvictInfoFromDisk() {
|
||||||
nsAutoCString origin;
|
nsAutoCString origin;
|
||||||
if (decoded.Contains('\t')) {
|
if (decoded.Contains('\t')) {
|
||||||
auto split = decoded.Split('\t');
|
auto split = decoded.Split('\t');
|
||||||
MOZ_ASSERT(decoded.CountChar('\t') == 2);
|
MOZ_ASSERT(decoded.CountChar('\t') == 1);
|
||||||
|
|
||||||
origin = split.Get(0);
|
origin = split.Get(0);
|
||||||
decoded = split.Get(1);
|
decoded = split.Get(1);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче