2011-02-03 Mihai Parparita <mihaip@chromium.org>
Reviewed by Alexey Proskuryakov.
REGRESSION (r77355): Page cache layout tests crash
https://bugs.webkit.org/show_bug.cgi?id=53648
Add test that calls setTimeout during a pagehide event handler (the
timeout should not fire while the document is in the page cache).
Skipped for Chromium since it doesn't use the page cache.
* fast/events/pagehide-timeout-expected.txt: Added.
* fast/events/pagehide-timeout.html: Added.
* fast/events/resources/pagehide-timeout-go-back.html: Added.
* platform/chromium/test_expectations.txt:
2011-02-03 Mihai Parparita <mihaip@chromium.org>
Reviewed by Alexey Proskuryakov.
REGRESSION (r77355): Page cache layout tests crash
https://bugs.webkit.org/show_bug.cgi?id=53648
Test: fast/events/pagehide-timeout.html
Suspend active DOM objects after all pagehide event handlers have run,
otherwise it's possible for them to create more objects that weren't
getting suspended.
* history/CachedFrame.cpp:
(WebCore::CachedFrame::CachedFrame):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77559
268f45cc-cd09-0410-ab3c-
d52691b4dbfc