Changeset 195399 in webkit
- Timestamp:
- Jan 20, 2016, 11:11:18 PM (11 years ago)
- Location:
- branches/safari-601.1.46-branch
- Files:
-
- 4 edited
- 4 copied
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/http/tests/loading/resources/server-redirect-result.html (copied) (copied from trunk/LayoutTests/http/tests/loading/resources/server-redirect-result.html )
-
LayoutTests/http/tests/loading/resources/server-redirect.php (copied) (copied from trunk/LayoutTests/http/tests/loading/resources/server-redirect.php )
-
LayoutTests/http/tests/loading/server-redirect-for-provisional-load-caching-expected.txt (copied) (copied from trunk/LayoutTests/http/tests/loading/server-redirect-for-provisional-load-caching-expected.txt )
-
LayoutTests/http/tests/loading/server-redirect-for-provisional-load-caching.html (copied) (copied from trunk/LayoutTests/http/tests/loading/server-redirect-for-provisional-load-caching.html )
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/loader/DocumentLoader.cpp (modified) (1 diff)
-
Source/WebCore/loader/cache/CachedRawResource.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-601.1.46-branch/LayoutTests/ChangeLog
r195373 r195399 1 2016-01-20 Babak Shafiei <bshafiei@apple.com> 2 3 Merge r195162. 4 5 2016-01-15 Jiewen Tan <jiewen_tan@apple.com> 6 7 FrameLoaderClient::didReceiveServerRedirectForProvisionalLoadForFrame() is never called when loading a main resource from the memory cache 8 https://bugs.webkit.org/show_bug.cgi?id=152520 9 <rdar://problem/23305737> 10 11 Reviewed by Andy Estes. 12 13 * http/tests/loading/resources/server-redirect-result.html: Added. 14 * http/tests/loading/resources/server-redirect.php: Added. 15 * http/tests/loading/server-redirect-for-provisional-load-caching-expected.txt: Added. 16 * http/tests/loading/server-redirect-for-provisional-load-caching.html: Added. 17 1 18 2016-01-20 Matthew Hanson <matthew_hanson@apple.com> 2 19 -
branches/safari-601.1.46-branch/Source/WebCore/ChangeLog
r195385 r195399 1 2016-01-20 Babak Shafiei <bshafiei@apple.com> 2 3 Merge r195162. 4 5 2016-01-15 Jiewen Tan <jiewen_tan@apple.com> 6 7 FrameLoaderClient::didReceiveServerRedirectForProvisionalLoadForFrame() is never called when loading a main resource from the memory cache 8 https://bugs.webkit.org/show_bug.cgi?id=152520 9 <rdar://problem/23305737> 10 11 Reviewed by Andy Estes. 12 13 Test: http/tests/loading/server-redirect-for-provisional-load-caching.html 14 15 * loader/DocumentLoader.cpp: 16 (WebCore::DocumentLoader::responseReceived): 17 Dispatch message to notify client that a cached resource was redirected. So, 18 client can make proper actions to treat server side redirection. 19 * loader/cache/CachedRawResource.h: 20 Add a method to tell whether the cached resource was redirected. 21 1 22 2016-01-20 Timothy Hatcher <timothy@apple.com> 2 23 -
branches/safari-601.1.46-branch/Source/WebCore/loader/DocumentLoader.cpp
r194995 r195399 664 664 665 665 if (m_identifierForLoadWithoutResourceLoader) { 666 if (m_mainResource && m_mainResource->wasRedirected()) { 667 ASSERT(m_mainResource->status() == CachedResource::Status::Cached); 668 frameLoader()->client().dispatchDidReceiveServerRedirectForProvisionalLoad(); 669 } 666 670 addResponse(m_response); 667 671 frameLoader()->notifier().dispatchDidReceiveResponse(this, m_identifierForLoadWithoutResourceLoader, m_response, 0); -
branches/safari-601.1.46-branch/Source/WebCore/loader/cache/CachedRawResource.h
r184069 r195399 46 46 47 47 void clear(); 48 49 bool wasRedirected() const { return !m_redirectChain.isEmpty(); }; 48 50 49 51 private:
Note:
See TracChangeset
for help on using the changeset viewer.