| Index: LayoutTests/fast/events/pageshow-pagehide-on-back-cached.html
|
| diff --git a/LayoutTests/fast/events/pageshow-pagehide-on-back-cached.html b/LayoutTests/fast/events/pageshow-pagehide-on-back-cached.html
|
| deleted file mode 100644
|
| index e99815b6cca91410e356984bff8859e5bcb7684c..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/fast/events/pageshow-pagehide-on-back-cached.html
|
| +++ /dev/null
|
| @@ -1,28 +0,0 @@
|
| -<p>Test pageshow/pagehide event behavior when navigating back to an cached page.</p>
|
| -<script>
|
| -if (window.testRunner) {
|
| - testRunner.dumpAsText();
|
| - testRunner.waitUntilDone();
|
| - testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
|
| -}
|
| -
|
| -window.onload = function(evt) {
|
| - alert("window.onload");
|
| -}
|
| -
|
| -window.onpageshow = function(evt) {
|
| - alert("window.onpageshow" + ", target = " + evt.target + ", persisted = " + evt.persisted);
|
| - if (evt.persisted) {
|
| - // Returned back.
|
| - window.onpagehide = null;
|
| - setTimeout(function() { if (window.testRunner) testRunner.notifyDone(); }, 0);
|
| - } else {
|
| - setTimeout('window.location.href = "data:text/html,<script>history.back();</scr" + "ipt>"', 0);
|
| - }
|
| -}
|
| -
|
| -window.onpagehide = function(evt) {
|
| - alert("window.onpagehide" + ", target = " + evt.target + ", persisted = " + evt.persisted);
|
| -}
|
| -
|
| -</script>
|
|
|