Changeset 48036 in webkit
- Timestamp:
- Sep 3, 2009, 4:57:28 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 9 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r48035 r48036 1 2009-09-03 Brady Eidson <[email protected]> 2 3 Reviewed by Sam Weinig. 4 5 Page Cache should support pages with Frames. 6 https://bugs.webkit.org/show_bug.cgi?id=13631 7 8 * fast/events/pageshow-pagehide-on-back-cached-with-frames-expected.txt: Added. 9 * fast/events/pageshow-pagehide-on-back-cached-with-frames.html: Added. 10 * fast/events/resources/pageshow-pagehide-subframe-cachable.html: Added. 11 * fast/events/resources/pageshow-pagehide-subsubframe-cachable.html: Added. 12 * fast/loader/frames-with-unload-handlers-in-page-cache-expected.txt: Added. 13 * fast/loader/frames-with-unload-handlers-in-page-cache.html: Added. 14 * fast/loader/resources/notify-done.html: Added. 15 * fast/loader/resources/subframe-with-subsubframe-with-unload-handler.html: Added. 16 * fast/loader/resources/subframe-with-unload-handler.html: Added. 17 1 18 2009-09-03 Steve VanDeBogart <[email protected]> 2 19 -
trunk/WebCore/ChangeLog
r48035 r48036 1 2009-09-03 Brady Eidson <[email protected]> 2 3 Reviewed by Sam Weinig. 4 5 Page Cache should support pages with Frames. 6 https://bugs.webkit.org/show_bug.cgi?id=13631 7 8 Tests: fast/events/pageshow-pagehide-on-back-cached-with-frames.html 9 fast/loader/frames-with-unload-handlers-in-page-cache.html 10 11 * loader/FrameLoader.cpp: 12 (WebCore::FrameLoader::canCachePageContainingThisFrame): 13 (WebCore::FrameLoader::logCanCacheFrameDecision): 14 1 15 2009-09-03 Steve VanDeBogart <[email protected]> 2 16 -
trunk/WebCore/loader/FrameLoader.cpp
r48034 r48036 1819 1819 return m_documentLoader 1820 1820 && m_documentLoader->mainDocumentError().isNull() 1821 && !m_frame->tree()->childCount()1822 1821 // FIXME: If we ever change this so that frames with plug-ins will be cached, 1823 1822 // we need to make sure that we don't cache frames that have outstanding NPObjects … … 1968 1967 if (!m_documentLoader->mainDocumentError().isNull()) 1969 1968 { PCLOG(" -Main document has an error"); cannotCache = true; } 1970 if (m_frame->tree()->childCount())1971 { PCLOG(" -Frame has child frames"); cannotCache = true; }1972 1969 if (m_containsPlugIns) 1973 1970 { PCLOG(" -Frame contains plugins"); cannotCache = true; }
Note:
See TracChangeset
for help on using the changeset viewer.