Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / loader / unschedule-relayout-after-unload.html
blob759a8f0e8c655207aae83918c01e01e7adfbb961
1 <html>
2 <body>
3 <pre id="log"></pre>
4 </body>
5 <script>
7 if (window.testRunner) {
8 testRunner.dumpAsText();
9 testRunner.waitUntilDone();
12 window.onpageshow = function(evt) {
13 // Location changes need to happen outside the onload handler to generate history entries.
14 setTimeout(function() {window.location.href = 'resources/unschedule-relayout-after-unload-target.html';}, 0);
17 window.onpagehide = function(evt) {
18 document.getElementById('log').innerHTML += 'onpagehide';
21 </script>
22 </html>