diff options
author | Andrei Popescu <andreip@google.com> | 2010-03-29 17:43:47 +0100 |
---|---|---|
committer | Andrei Popescu <andreip@google.com> | 2010-03-29 17:43:47 +0100 |
commit | 526c77460deab759c0c4cb3c7eb701b1d4e92da3 (patch) | |
tree | 03aeaa5ac9f15709a3c7fa68fafa39e99f0fde9f /WebCore/history | |
parent | e72218e36405a28fa142afc38ef1fff50797cc45 (diff) | |
download | external_webkit-526c77460deab759c0c4cb3c7eb701b1d4e92da3.zip external_webkit-526c77460deab759c0c4cb3c7eb701b1d4e92da3.tar.gz external_webkit-526c77460deab759c0c4cb3c7eb701b1d4e92da3.tar.bz2 |
Make sure WebKit's page cache does not cache pages with unload handlers.
Fix b: 2552004
Change-Id: Iac6737fbb9a1eca734ea7474f99ccf66ee916bd7
Diffstat (limited to 'WebCore/history')
-rw-r--r-- | WebCore/history/CachedFrame.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/WebCore/history/CachedFrame.cpp b/WebCore/history/CachedFrame.cpp index a027b62..a7261dd 100644 --- a/WebCore/history/CachedFrame.cpp +++ b/WebCore/history/CachedFrame.cpp @@ -105,10 +105,6 @@ void CachedFrameBase::restore() for (unsigned i = 0; i < m_childFrames.size(); ++i) m_childFrames[i]->open(); -#ifdef ANDROID_PAGE_CACHE_UNLOAD - // matches pageshowEvent as in Document::implicitClose() - m_document->dispatchWindowLoadEvent(); -#endif m_document->dispatchWindowEvent(PageTransitionEvent::create(eventNames().pageshowEvent, true), m_document); #if ENABLE(TOUCH_EVENTS) if (m_document->hasListenerType(Document::TOUCH_LISTENER)) |