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

Side by Side Diff: LayoutTests/fast/loader/unschedule-relayout-after-unload.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
1 <html> 1 <html>
2 <body> 2 <body>
3 <pre id="log"></pre> 3 <pre id="log"></pre>
4 </body> 4 </body>
5 <script> 5 <script>
6 6
7 if (window.testRunner) { 7 if (window.testRunner) {
8 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
9 testRunner.waitUntilDone(); 9 testRunner.waitUntilDone();
10 testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
11 } 10 }
12 11
13 window.onpageshow = function(evt) { 12 window.onpageshow = function(evt) {
14 // Location changes need to happen outside the onload handler to generate hi story entries. 13 // Location changes need to happen outside the onload handler to generate hi story entries.
15 setTimeout(function() {window.location.href = 'resources/unschedule-relayout -after-unload-target.html';}, 0); 14 setTimeout(function() {window.location.href = 'resources/unschedule-relayout -after-unload-target.html';}, 0);
16 }; 15 };
17 16
18 window.onpagehide = function(evt) { 17 window.onpagehide = function(evt) {
19 document.getElementById('log').innerHTML += 'onpagehide'; 18 document.getElementById('log').innerHTML += 'onpagehide';
20 }; 19 };
21 20
22 </script> 21 </script>
23 </html> 22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698