зеркало из https://github.com/mozilla/gecko-dev.git
Bug 764758 - Intermittent crash during test_xhtmlManifest.xhtml [@ nsOfflineCacheUpdateItem::OnDataAvailable], part1, r=jduell
This commit is contained in:
Родитель
2afde93b5a
Коммит
49bae0f097
|
@ -1714,6 +1714,11 @@ nsOfflineCacheUpdate::ProcessNextURI()
|
|||
NS_ASSERTION(mState == STATE_DOWNLOADING,
|
||||
"ProcessNextURI should only be called from the DOWNLOADING state");
|
||||
|
||||
if (mState != STATE_DOWNLOADING) {
|
||||
LOG((" should only be called from the DOWNLOADING state, ignoring"));
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
}
|
||||
|
||||
nsOfflineCacheUpdateItem * runItem = nullptr;
|
||||
uint32_t completedItems = 0;
|
||||
for (uint32_t i = 0; i < mItems.Length(); ++i) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче