| Index: Source/core/loader/DocumentLoader.cpp
|
| diff --git a/Source/core/loader/DocumentLoader.cpp b/Source/core/loader/DocumentLoader.cpp
|
| index 3e985b4db5641f6800d4e2b23dea2673abf356dd..d245eabe46fd267cabf0cbb553ce474556f4814e 100644
|
| --- a/Source/core/loader/DocumentLoader.cpp
|
| +++ b/Source/core/loader/DocumentLoader.cpp
|
| @@ -294,7 +294,7 @@ void DocumentLoader::finishedLoading(double finishTime)
|
|
|
| if (!m_mainDocumentError.isNull())
|
| return;
|
| - m_state = MainResourceDone;
|
| + m_state = url() == blankURL() || (m_mainResource && !m_mainResource->encodedSize()) ? MainResourceDoneButEmpty : MainResourceDone;
|
|
|
| // If the document specified an application cache manifest, it violates the author's intent if we store it in the memory cache
|
| // and deny the appcache the chance to intercept it in the future, so remove from the memory cache.
|
|
|