Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1074)

Side by Side Diff: LayoutTests/fast/history/timed-refresh-in-cached-frame.html

Issue 14495004: Remove left-over PageCache stuff (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <body onload="redirect()">
2 <!-- Needs to take two seconds, because a faster refresh would result in not cre ating a b/f item for the navigation -->
3 <iframe src='data:text/html,<meta http-equiv="Refresh" content="2; URL=about:bla nk"><script>if (window.testRunner) { window.onpagehide=function(e){alert(&apos;p agehide &apos; + e.persisted)}; }</script>'></iframe>
4 <script>
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.waitUntilDone();
8 testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
9 }
10
11 function redirect()
12 {
13 location='data:text/html,<p>PASSED if didn&apos;t crash in two seconds.</p>< script>if (window.testRunner) setTimeout("testRunner.notifyDone()", 2500); </scr ' + 'ipt>';
14 }
15 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698