diff options
| author | Android (Google) Code Review <android-gerrit@google.com> | 2009-12-03 15:47:48 -0800 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-12-03 15:47:48 -0800 |
| commit | 472affe311f3854aaac7cca73d398d36a9eefaf3 (patch) | |
| tree | 580cad7a82834870ded5f822f992464b2dcd9d24 /WebCore/history/CachedFrame.cpp | |
| parent | d262e1f9241778a6d0483945a3e125636cedfb70 (diff) | |
| parent | ceb63592c5a89c8ee5e3cc6bb2186474c678fb0f (diff) | |
| download | external_webkit-472affe311f3854aaac7cca73d398d36a9eefaf3.zip external_webkit-472affe311f3854aaac7cca73d398d36a9eefaf3.tar.gz external_webkit-472affe311f3854aaac7cca73d398d36a9eefaf3.tar.bz2 | |
Merge change Iceb63592 into eclair-mr2
* changes:
Experimental change. Cache pages with unload event for back/forward. This will improve the history navigation. But it may break some sites. See discussion in https://bugs.webkit.org/show_bug.cgi?id=29021.
Diffstat (limited to 'WebCore/history/CachedFrame.cpp')
| -rw-r--r-- | WebCore/history/CachedFrame.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/history/CachedFrame.cpp b/WebCore/history/CachedFrame.cpp index 16c7087..fe6c31f 100644 --- a/WebCore/history/CachedFrame.cpp +++ b/WebCore/history/CachedFrame.cpp @@ -99,6 +99,10 @@ 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); } |
